(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[179],{5876:(re,K,V)=>{const y=V(532),D=V(7554),w=V(179),M=V(1036);function L(N,Y,J,ie,De){const _e=[].slice.call(arguments,1),Fe=_e.length,vt="function"==typeof _e[Fe-1];if(!vt&&!y())throw new Error("Callback required as last argument");if(!vt){if(Fe<1)throw new Error("Too few arguments provided");return 1===Fe?(J=Y,Y=ie=void 0):2===Fe&&!Y.getContext&&(ie=J,J=Y,Y=void 0),new Promise(function(Q,le){try{const pe=D.create(J,ie);Q(N(pe,Y,ie))}catch(pe){le(pe)}})}if(Fe<2)throw new Error("Too few arguments provided");2===Fe?(De=J,J=Y,Y=ie=void 0):3===Fe&&(Y.getContext&&typeof De>"u"?(De=ie,ie=void 0):(De=ie,ie=J,J=Y,Y=void 0));try{const Q=D.create(J,ie);De(null,N(Q,Y,ie))}catch(Q){De(Q)}}K.rT=L.bind(null,w.render),K.hz=L.bind(null,w.renderToDataURL),K.toString=L.bind(null,function(N,Y,J){return M.render(N,J)})},532:re=>{re.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},3012:(re,K,V)=>{const I=V(4860).getSymbolSize;K.getRowColCoords=function(D){if(1===D)return[];const w=Math.floor(D/7)+2,M=I(D),L=145===M?26:2*Math.ceil((M-13)/(2*w-2)),N=[M-7];for(let Y=1;Y{const I=V(6906),y=["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 D(w){this.mode=I.ALPHANUMERIC,this.data=w}D.getBitsLength=function(M){return 11*Math.floor(M/2)+M%2*6},D.prototype.getLength=function(){return this.data.length},D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)},D.prototype.write=function(M){let L;for(L=0;L+2<=this.data.length;L+=2){let N=45*y.indexOf(this.data[L]);N+=y.indexOf(this.data[L+1]),M.put(N,11)}this.data.length%2&&M.put(y.indexOf(this.data[L]),6)},re.exports=D},3044:re=>{function K(){this.buffer=[],this.length=0}K.prototype={get:function(V){const I=Math.floor(V/8);return 1==(this.buffer[I]>>>7-V%8&1)},put:function(V,I){for(let y=0;y>>I-y-1&1))},getLengthInBits:function(){return this.length},putBit:function(V){const I=Math.floor(this.length/8);this.buffer.length<=I&&this.buffer.push(0),V&&(this.buffer[I]|=128>>>this.length%8),this.length++}},re.exports=K},1973:re=>{function K(V){if(!V||V<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=V,this.data=new Uint8Array(V*V),this.reservedBit=new Uint8Array(V*V)}K.prototype.set=function(V,I,y,D){const w=V*this.size+I;this.data[w]=y,D&&(this.reservedBit[w]=!0)},K.prototype.get=function(V,I){return this.data[V*this.size+I]},K.prototype.xor=function(V,I,y){this.data[V*this.size+I]^=y},K.prototype.isReserved=function(V,I){return this.reservedBit[V*this.size+I]},re.exports=K},1824:(re,K,V)=>{const I=V(8419),y=V(6906);function D(w){this.mode=y.BYTE,this.data=new Uint8Array(I(w))}D.getBitsLength=function(M){return 8*M},D.prototype.getLength=function(){return this.data.length},D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)},D.prototype.write=function(w){for(let M=0,L=this.data.length;M{const I=V(9020),y=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],D=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];K.getBlocksCount=function(M,L){switch(L){case I.L:return y[4*(M-1)+0];case I.M:return y[4*(M-1)+1];case I.Q:return y[4*(M-1)+2];case I.H:return y[4*(M-1)+3];default:return}},K.getTotalCodewordsCount=function(M,L){switch(L){case I.L:return D[4*(M-1)+0];case I.M:return D[4*(M-1)+1];case I.Q:return D[4*(M-1)+2];case I.H:return D[4*(M-1)+3];default:return}}},9020:(re,K)=>{K.L={bit:1},K.M={bit:0},K.Q={bit:3},K.H={bit:2},K.isValid=function(y){return y&&typeof y.bit<"u"&&y.bit>=0&&y.bit<4},K.from=function(y,D){if(K.isValid(y))return y;try{return function V(I){if("string"!=typeof I)throw new Error("Param is not a string");switch(I.toLowerCase()){case"l":case"low":return K.L;case"m":case"medium":return K.M;case"q":case"quartile":return K.Q;case"h":case"high":return K.H;default:throw new Error("Unknown EC Level: "+I)}}(y)}catch{return D}}},9172:(re,K,V)=>{const I=V(4860).getSymbolSize;K.getPositions=function(w){const M=I(w);return[[0,0],[M-7,0],[0,M-7]]}},611:(re,K,V)=>{const I=V(4860),w=I.getBCHDigit(1335);K.getEncodedBits=function(L,N){const Y=L.bit<<3|N;let J=Y<<10;for(;I.getBCHDigit(J)-w>=0;)J^=1335<{const V=new Uint8Array(512),I=new Uint8Array(256);(function(){let D=1;for(let w=0;w<255;w++)V[w]=D,I[D]=w,D<<=1,256&D&&(D^=285);for(let w=255;w<512;w++)V[w]=V[w-255]})(),K.log=function(D){if(D<1)throw new Error("log("+D+")");return I[D]},K.exp=function(D){return V[D]},K.mul=function(D,w){return 0===D||0===w?0:V[I[D]+I[w]]}},8043:(re,K,V)=>{const I=V(6906),y=V(4860);function D(w){this.mode=I.KANJI,this.data=w}D.getBitsLength=function(M){return 13*M},D.prototype.getLength=function(){return this.data.length},D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)},D.prototype.write=function(w){let M;for(M=0;M=33088&&L<=40956)L-=33088;else{if(!(L>=57408&&L<=60351))throw new Error("Invalid SJIS character: "+this.data[M]+"\nMake sure your charset is UTF-8");L-=49472}L=192*(L>>>8&255)+(255&L),w.put(L,13)}},re.exports=D},7135:(re,K)=>{K.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function I(y,D,w){switch(y){case K.Patterns.PATTERN000:return(D+w)%2==0;case K.Patterns.PATTERN001:return D%2==0;case K.Patterns.PATTERN010:return w%3==0;case K.Patterns.PATTERN011:return(D+w)%3==0;case K.Patterns.PATTERN100:return(Math.floor(D/2)+Math.floor(w/3))%2==0;case K.Patterns.PATTERN101:return D*w%2+D*w%3==0;case K.Patterns.PATTERN110:return(D*w%2+D*w%3)%2==0;case K.Patterns.PATTERN111:return(D*w%3+(D+w)%2)%2==0;default:throw new Error("bad maskPattern:"+y)}}K.isValid=function(D){return null!=D&&""!==D&&!isNaN(D)&&D>=0&&D<=7},K.from=function(D){return K.isValid(D)?parseInt(D,10):void 0},K.getPenaltyN1=function(D){const w=D.size;let M=0,L=0,N=0,Y=null,J=null;for(let ie=0;ie=5&&(M+=L-5+3),Y=_e,L=1),_e=D.get(De,ie),_e===J?N++:(N>=5&&(M+=N-5+3),J=_e,N=1)}L>=5&&(M+=L-5+3),N>=5&&(M+=N-5+3)}return M},K.getPenaltyN2=function(D){const w=D.size;let M=0;for(let L=0;L=10&&(1488===L||93===L)&&M++,N=N<<1&2047|D.get(J,Y),J>=10&&(1488===N||93===N)&&M++}return 40*M},K.getPenaltyN4=function(D){let w=0;const M=D.data.length;for(let N=0;N{const I=V(2316),y=V(4677);K.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},K.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},K.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},K.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},K.MIXED={bit:-1},K.getCharCountIndicator=function(M,L){if(!M.ccBits)throw new Error("Invalid mode: "+M);if(!I.isValid(L))throw new Error("Invalid version: "+L);return L>=1&&L<10?M.ccBits[0]:L<27?M.ccBits[1]:M.ccBits[2]},K.getBestModeForData=function(M){return y.testNumeric(M)?K.NUMERIC:y.testAlphanumeric(M)?K.ALPHANUMERIC:y.testKanji(M)?K.KANJI:K.BYTE},K.toString=function(M){if(M&&M.id)return M.id;throw new Error("Invalid mode")},K.isValid=function(M){return M&&M.bit&&M.ccBits},K.from=function(M,L){if(K.isValid(M))return M;try{return function D(w){if("string"!=typeof w)throw new Error("Param is not a string");switch(w.toLowerCase()){case"numeric":return K.NUMERIC;case"alphanumeric":return K.ALPHANUMERIC;case"kanji":return K.KANJI;case"byte":return K.BYTE;default:throw new Error("Unknown mode: "+w)}}(M)}catch{return L}}},6002:(re,K,V)=>{const I=V(6906);function y(D){this.mode=I.NUMERIC,this.data=D.toString()}y.getBitsLength=function(w){return 10*Math.floor(w/3)+(w%3?w%3*3+1:0)},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(w){let M,L,N;for(M=0;M+3<=this.data.length;M+=3)L=this.data.substr(M,3),N=parseInt(L,10),w.put(N,10);const Y=this.data.length-M;Y>0&&(L=this.data.substr(M),N=parseInt(L,10),w.put(N,3*Y+1))},re.exports=y},7793:(re,K,V)=>{const I=V(7794);K.mul=function(D,w){const M=new Uint8Array(D.length+w.length-1);for(let L=0;L=0;){const L=M[0];for(let Y=0;Y{const I=V(4860),y=V(9020),D=V(3044),w=V(1973),M=V(3012),L=V(9172),N=V(7135),Y=V(6194),J=V(8098),ie=V(6602),De=V(611),_e=V(6906),Fe=V(9465);function ke(Pe,Ve,Le){const Oe=Pe.size,ot=De.getEncodedBits(Ve,Le);let rt,tt;for(rt=0;rt<15;rt++)tt=1==(ot>>rt&1),Pe.set(rt<6?rt:rt<8?rt+1:Oe-15+rt,8,tt,!0),Pe.set(8,rt<8?Oe-rt-1:rt<9?15-rt-1+1:15-rt-1,tt,!0);Pe.set(Oe-8,8,1,!0)}function at(Pe,Ve,Le,Oe){let ot;if(Array.isArray(Pe))ot=Fe.fromArray(Pe);else{if("string"!=typeof Pe)throw new Error("Invalid data");{let pn=Ve;if(!pn){const Nt=Fe.rawSplit(Pe);pn=ie.getBestVersionForData(Nt,Le)}ot=Fe.fromString(Pe,pn||40)}}const rt=ie.getBestVersionForData(ot,Le);if(!rt)throw new Error("The amount of data is too big to be stored in a QR Code");if(Ve){if(Ve=0&<<=6&&(0===wt||6===wt)||wt>=0&&wt<=6&&(0===lt||6===lt)||lt>=2&<<=4&&wt>=2&&wt<=4,!0)}}(wt,Ve),function Q(Pe){const Ve=Pe.size;for(let Le=8;Le=7&&function pe(Pe,Ve){const Le=Pe.size,Oe=ie.getEncodedBits(Ve);let ot,rt,tt;for(let lt=0;lt<18;lt++)ot=Math.floor(lt/3),rt=lt%3+Le-8-3,tt=1==(Oe>>lt&1),Pe.set(ot,rt,tt,!0),Pe.set(rt,ot,tt,!0)}(wt,Ve),function Ee(Pe,Ve){const Le=Pe.size;let Oe=-1,ot=Le-1,rt=7,tt=0;for(let lt=Le-1;lt>0;lt-=2)for(6===lt&<--;;){for(let wt=0;wt<2;wt++)if(!Pe.isReserved(ot,lt-wt)){let pn=!1;tt>>rt&1)),Pe.set(ot,lt-wt,pn),rt--,-1===rt&&(tt++,rt=7)}if(ot+=Oe,ot<0||Le<=ot){ot-=Oe,Oe=-Oe;break}}}(wt,tt),isNaN(Oe)&&(Oe=N.getBestMask(wt,ke.bind(null,wt,Le))),N.applyMask(Oe,wt),ke(wt,Le,Oe),{modules:wt,version:Ve,errorCorrectionLevel:Le,maskPattern:Oe,segments:ot}}K.create=function(Ve,Le){if(typeof Ve>"u"||""===Ve)throw new Error("No input text");let ot,rt,Oe=y.M;return typeof Le<"u"&&(Oe=y.from(Le.errorCorrectionLevel,y.M),ot=ie.from(Le.version),rt=N.from(Le.maskPattern),Le.toSJISFunc&&I.setToSJISFunction(Le.toSJISFunc)),at(Ve,ot,Oe,rt)}},8098:(re,K,V)=>{const I=V(7793);function y(D){this.genPoly=void 0,this.degree=D,this.degree&&this.initialize(this.degree)}y.prototype.initialize=function(w){this.degree=w,this.genPoly=I.generateECPolynomial(this.degree)},y.prototype.encode=function(w){if(!this.genPoly)throw new Error("Encoder not initialized");const M=new Uint8Array(w.length+this.degree);M.set(w);const L=I.mod(M,this.genPoly),N=this.degree-L.length;if(N>0){const Y=new Uint8Array(this.degree);return Y.set(L,N),Y}return L},re.exports=y},4677:(re,K)=>{const V="[0-9]+";let y="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";y=y.replace(/u/g,"\\u");const D="(?:(?![A-Z0-9 $%*+\\-./:]|"+y+")(?:.|[\r\n]))+";K.KANJI=new RegExp(y,"g"),K.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),K.BYTE=new RegExp(D,"g"),K.NUMERIC=new RegExp(V,"g"),K.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const w=new RegExp("^"+y+"$"),M=new RegExp("^"+V+"$"),L=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");K.testKanji=function(Y){return w.test(Y)},K.testNumeric=function(Y){return M.test(Y)},K.testAlphanumeric=function(Y){return L.test(Y)}},9465:(re,K,V)=>{const I=V(6906),y=V(6002),D=V(812),w=V(1824),M=V(8043),L=V(4677),N=V(4860),Y=V(4901);function J(pe){return unescape(encodeURIComponent(pe)).length}function ie(pe,ke,Ee){const we=[];let je;for(;null!==(je=pe.exec(Ee));)we.push({data:je[0],index:je.index,mode:ke,length:je[0].length});return we}function De(pe){const ke=ie(L.NUMERIC,I.NUMERIC,pe),Ee=ie(L.ALPHANUMERIC,I.ALPHANUMERIC,pe);let we,je;return N.isKanjiModeEnabled()?(we=ie(L.BYTE,I.BYTE,pe),je=ie(L.KANJI,I.KANJI,pe)):(we=ie(L.BYTE_KANJI,I.BYTE,pe),je=[]),ke.concat(Ee,we,je).sort(function(Pe,Ve){return Pe.index-Ve.index}).map(function(Pe){return{data:Pe.data,mode:Pe.mode,length:Pe.length}})}function _e(pe,ke){switch(ke){case I.NUMERIC:return y.getBitsLength(pe);case I.ALPHANUMERIC:return D.getBitsLength(pe);case I.KANJI:return M.getBitsLength(pe);case I.BYTE:return w.getBitsLength(pe)}}function le(pe,ke){let Ee;const we=I.getBestModeForData(pe);if(Ee=I.from(ke,we),Ee!==I.BYTE&&Ee.bit=0?ke[ke.length-1]:null;return we&&we.mode===Ee.mode?(ke[ke.length-1].data+=Ee.data,ke):(ke.push(Ee),ke)},[])}(Ve))},K.rawSplit=function(ke){return K.fromArray(De(ke,N.isKanjiModeEnabled()))}},4860:(re,K)=>{let V;const I=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];K.getSymbolSize=function(D){if(!D)throw new Error('"version" cannot be null or undefined');if(D<1||D>40)throw new Error('"version" should be in range from 1 to 40');return 4*D+17},K.getSymbolTotalCodewords=function(D){return I[D]},K.getBCHDigit=function(y){let D=0;for(;0!==y;)D++,y>>>=1;return D},K.setToSJISFunction=function(D){if("function"!=typeof D)throw new Error('"toSJISFunc" is not a valid function.');V=D},K.isKanjiModeEnabled=function(){return typeof V<"u"},K.toSJIS=function(D){return V(D)}},2316:(re,K)=>{K.isValid=function(I){return!isNaN(I)&&I>=1&&I<=40}},6602:(re,K,V)=>{const I=V(4860),y=V(6194),D=V(9020),w=V(6906),M=V(2316),N=I.getBCHDigit(7973);function J(_e,Fe){return w.getCharCountIndicator(_e,Fe)+4}function ie(_e,Fe){let vt=0;return _e.forEach(function(Q){vt+=J(Q.mode,Fe)+Q.getBitsLength()}),vt}K.from=function(Fe,vt){return M.isValid(Fe)?parseInt(Fe,10):vt},K.getCapacity=function(Fe,vt,Q){if(!M.isValid(Fe))throw new Error("Invalid QR Code version");typeof Q>"u"&&(Q=w.BYTE);const ke=8*(I.getSymbolTotalCodewords(Fe)-y.getTotalCodewordsCount(Fe,vt));if(Q===w.MIXED)return ke;const Ee=ke-J(Q,Fe);switch(Q){case w.NUMERIC:return Math.floor(Ee/10*3);case w.ALPHANUMERIC:return Math.floor(Ee/11*2);case w.KANJI:return Math.floor(Ee/13);default:return Math.floor(Ee/8)}},K.getBestVersionForData=function(Fe,vt){let Q;const le=D.from(vt,D.M);if(Array.isArray(Fe)){if(Fe.length>1)return function De(_e,Fe){for(let vt=1;vt<=40;vt++)if(ie(_e,vt)<=K.getCapacity(vt,Fe,w.MIXED))return vt}(Fe,le);if(0===Fe.length)return 1;Q=Fe[0]}else Q=Fe;return function Y(_e,Fe,vt){for(let Q=1;Q<=40;Q++)if(Fe<=K.getCapacity(Q,vt,_e))return Q}(Q.mode,Q.getLength(),le)},K.getEncodedBits=function(Fe){if(!M.isValid(Fe)||Fe<7)throw new Error("Invalid QR Code version");let vt=Fe<<12;for(;I.getBCHDigit(vt)-N>=0;)vt^=7973<{const I=V(714);K.render=function(M,L,N){let Y=N,J=L;typeof Y>"u"&&(!L||!L.getContext)&&(Y=L,L=void 0),L||(J=function D(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),Y=I.getOptions(Y);const ie=I.getImageWidth(M.modules.size,Y),De=J.getContext("2d"),_e=De.createImageData(ie,ie);return I.qrToImageData(_e.data,M,Y),function y(w,M,L){w.clearRect(0,0,M.width,M.height),M.style||(M.style={}),M.height=L,M.width=L,M.style.height=L+"px",M.style.width=L+"px"}(De,J,ie),De.putImageData(_e,0,0),J},K.renderToDataURL=function(M,L,N){let Y=N;return typeof Y>"u"&&(!L||!L.getContext)&&(Y=L,L=void 0),Y||(Y={}),K.render(M,L,Y).toDataURL(Y.type||"image/png",(Y.rendererOpts||{}).quality)}},1036:(re,K,V)=>{const I=V(714);function y(M,L){const N=M.a/255,Y=L+'="'+M.hex+'"';return N<1?Y+" "+L+'-opacity="'+N.toFixed(2).slice(1)+'"':Y}function D(M,L,N){let Y=M+L;return typeof N<"u"&&(Y+=" "+N),Y}K.render=function(L,N,Y){const J=I.getOptions(N),ie=L.modules.size,De=L.modules.data,_e=ie+2*J.margin,Fe=J.color.light.a?"':"",vt="0&&Fe>0&&M[_e-1]||(Y+=ie?D("M",Fe+N,.5+vt+N):D("m",J,0),J=0,ie=!1),Fe+1',pe=''+Fe+vt+"\n";return"function"==typeof Y&&Y(null,pe),pe}},714:(re,K)=>{function V(I){if("number"==typeof I&&(I=I.toString()),"string"!=typeof I)throw new Error("Color should be defined as hex string");let y=I.slice().replace("#","").split("");if(y.length<3||5===y.length||y.length>8)throw new Error("Invalid hex color: "+I);(3===y.length||4===y.length)&&(y=Array.prototype.concat.apply([],y.map(function(w){return[w,w]}))),6===y.length&&y.push("F","F");const D=parseInt(y.join(""),16);return{r:D>>24&255,g:D>>16&255,b:D>>8&255,a:255&D,hex:"#"+y.slice(0,6).join("")}}K.getOptions=function(y){y||(y={}),y.color||(y.color={});const w=y.width&&y.width>=21?y.width:void 0;return{width:w,scale:w?4:y.scale||4,margin:typeof y.margin>"u"||null===y.margin||y.margin<0?4:y.margin,color:{dark:V(y.color.dark||"#000000ff"),light:V(y.color.light||"#ffffffff")},type:y.type,rendererOpts:y.rendererOpts||{}}},K.getScale=function(y,D){return D.width&&D.width>=y+2*D.margin?D.width/(y+2*D.margin):D.scale},K.getImageWidth=function(y,D){const w=K.getScale(y,D);return Math.floor((y+2*D.margin)*w)},K.qrToImageData=function(y,D,w){const M=D.modules.size,L=D.modules.data,N=K.getScale(M,w),Y=Math.floor((M+2*w.margin)*N),J=w.margin*N,ie=[w.color.light,w.color.dark];for(let De=0;De=J&&_e>=J&&De{"use strict";function I(o){return"function"==typeof o}function y(o){const e=o(r=>{Error.call(r),r.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const D=y(o=>function(e){o(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((r,n)=>`${n+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function w(o,t){if(o){const e=o.indexOf(t);0<=e&&o.splice(e,1)}}class M{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const i of e)i.remove(this);else e.remove(this);const{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof D?i.errors:[i]}const{_finalizers:n}=this;if(n){this._finalizers=null;for(const i of n)try{Y(i)}catch(a){t=t??[],a instanceof D?t=[...t,...a.errors]:t.push(a)}}if(t)throw new D(t)}}add(t){var e;if(t&&t!==this)if(this.closed)Y(t);else{if(t instanceof M){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&w(e,t)}remove(t){const{_finalizers:e}=this;e&&w(e,t),t instanceof M&&t._removeParent(this)}}M.EMPTY=(()=>{const o=new M;return o.closed=!0,o})();const L=M.EMPTY;function N(o){return o instanceof M||o&&"closed"in o&&I(o.remove)&&I(o.add)&&I(o.unsubscribe)}function Y(o){I(o)?o():o.unsubscribe()}const J={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ie={setTimeout(o,t,...e){const{delegate:r}=ie;return r?.setTimeout?r.setTimeout(o,t,...e):setTimeout(o,t,...e)},clearTimeout(o){const{delegate:t}=ie;return(t?.clearTimeout||clearTimeout)(o)},delegate:void 0};function De(o){ie.setTimeout(()=>{const{onUnhandledError:t}=J;if(!t)throw o;t(o)})}function _e(){}const Fe=le("C",void 0,void 0);function le(o,t,e){return{kind:o,value:t,error:e}}let pe=null;function ke(o){if(J.useDeprecatedSynchronousErrorHandling){const t=!pe;if(t&&(pe={errorThrown:!1,error:null}),o(),t){const{errorThrown:e,error:r}=pe;if(pe=null,e)throw r}}else o()}class we extends M{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,N(t)&&t.add(this)):this.destination=rt}static create(t,e,r){return new Ve(t,e,r)}next(t){this.isStopped?ot(function Q(o){return le("N",o,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ot(function vt(o){return le("E",void 0,o)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ot(Fe,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const je=Function.prototype.bind;function at(o,t){return je.call(o,t)}class Pe{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(r){Le(r)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(r){Le(r)}else Le(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Le(e)}}}class Ve extends we{constructor(t,e,r){let n;if(super(),I(t)||!t)n={next:t??void 0,error:e??void 0,complete:r??void 0};else{let i;this&&J.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),n={next:t.next&&at(t.next,i),error:t.error&&at(t.error,i),complete:t.complete&&at(t.complete,i)}):n=t}this.destination=new Pe(n)}}function Le(o){J.useDeprecatedSynchronousErrorHandling?function Ee(o){J.useDeprecatedSynchronousErrorHandling&&pe&&(pe.errorThrown=!0,pe.error=o)}(o):De(o)}function ot(o,t){const{onStoppedNotification:e}=J;e&&ie.setTimeout(()=>e(o,t))}const rt={closed:!0,next:_e,error:function Oe(o){throw o},complete:_e},tt="function"==typeof Symbol&&Symbol.observable||"@@observable";function lt(o){return o}function pn(o){return 0===o.length?lt:1===o.length?o[0]:function(e){return o.reduce((r,n)=>n(r),e)}}let Nt=(()=>{class o{constructor(e){e&&(this._subscribe=e)}lift(e){const r=new o;return r.source=this,r.operator=e,r}subscribe(e,r,n){const i=function td(o){return o&&o instanceof we||function Kr(o){return o&&I(o.next)&&I(o.error)&&I(o.complete)}(o)&&N(o)}(e)?e:new Ve(e,r,n);return ke(()=>{const{operator:a,source:s}=this;i.add(a?a.call(i,s):s?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return new(r=Ki(r))((n,i)=>{const a=new Ve({next:s=>{try{e(s)}catch(l){i(l),a.unsubscribe()}},error:i,complete:n});this.subscribe(a)})}_subscribe(e){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(e)}[tt](){return this}pipe(...e){return pn(e)(this)}toPromise(e){return new(e=Ki(e))((r,n)=>{let i;this.subscribe(a=>i=a,a=>n(a),()=>r(i))})}}return o.create=t=>new o(t),o})();function Ki(o){var t;return null!==(t=o??J.Promise)&&void 0!==t?t:Promise}const ds=y(o=>function(){o(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ae=(()=>{class o extends Nt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const r=new Zi(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new ds}next(e){ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(e)}})}error(e){ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:r,isStopped:n,observers:i}=this;return r||n?L:(this.currentObservers=null,i.push(e),new M(()=>{this.currentObservers=null,w(i,e)}))}_checkFinalizedStatuses(e){const{hasError:r,thrownError:n,isStopped:i}=this;r?e.error(n):i&&e.complete()}asObservable(){const e=new Nt;return e.source=this,e}}return o.create=(t,e)=>new Zi(t,e),o})();class Zi extends Ae{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)}error(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:L}}function it(o){return I(o?.lift)}function zr(o){return t=>{if(it(t))return t.lift(function(e){try{return o(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function cr(o,t,e,r,n){return new Ys(o,t,e,r,n)}class Ys extends we{constructor(t,e,r,n,i,a){super(t),this.onFinalize=i,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){t.error(l)}}:super._next,this._error=n?function(s){try{n(s)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Je(o,t){return zr((e,r)=>{let n=0;e.subscribe(cr(r,i=>{r.next(o.call(t,i,n++))}))})}function Us(o){return this instanceof Us?(this.v=o,this):new Us(o)}function Yu(o,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,r=e.apply(o,t||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(C){r[C]&&(n[C]=function(k){return new Promise(function(A,B){i.push([C,k,A,B])>1||s(C,k)})})}function s(C,k){try{!function l(C){C.value instanceof Us?Promise.resolve(C.value.v).then(c,h):_(i[0][2],C)}(r[C](k))}catch(A){_(i[0][3],A)}}function c(C){s("next",C)}function h(C){s("throw",C)}function _(C,k){C(k),i.shift(),i.length&&s(i[0][0],i[0][1])}}function Wt(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=o[Symbol.asyncIterator];return t?t.call(o):(o=function Go(o){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&o[t],r=0;if(e)return e.call(o);if(o&&"number"==typeof o.length)return{next:function(){return o&&r>=o.length&&(o=void 0),{value:o&&o[r++],done:!o}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(i){e[i]=o[i]&&function(a){return new Promise(function(s,l){!function n(i,a,s,l){Promise.resolve(l).then(function(c){i({value:c,done:s})},a)}(s,l,(a=o[i](a)).done,a.value)})}}}const Uu=o=>o&&"number"==typeof o.length&&"function"!=typeof o;function Wu(o){return I(o?.then)}function od(o){return I(o[tt])}function Yr(o){return Symbol.asyncIterator&&I(o?.[Symbol.asyncIterator])}function eg(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const nd=function v_(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Gu(o){return I(o?.[nd])}function id(o){return Yu(this,arguments,function*(){const e=o.getReader();try{for(;;){const{value:r,done:n}=yield Us(e.read());if(n)return yield Us(void 0);yield yield Us(r)}}finally{e.releaseLock()}})}function Ws(o){return I(o?.getReader)}function ao(o){if(o instanceof Nt)return o;if(null!=o){if(od(o))return function Cb(o){return new Nt(t=>{const e=o[tt]();if(I(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(o);if(Uu(o))return function qu(o){return new Nt(t=>{for(let e=0;e{o.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,De)})}(o);if(Yr(o))return sd(o);if(Gu(o))return function ad(o){return new Nt(t=>{for(const e of o)if(t.next(e),t.closed)return;t.complete()})}(o);if(Ws(o))return function et(o){return sd(id(o))}(o)}throw eg(o)}function sd(o){return new Nt(t=>{(function xb(o,t){var e,r,n,i;return function _b(o,t,e,r){return new(e||(e=Promise))(function(i,a){function s(h){try{c(r.next(h))}catch(_){a(_)}}function l(h){try{c(r.throw(h))}catch(_){a(_)}}function c(h){h.done?i(h.value):function n(i){return i instanceof e?i:new e(function(a){a(i)})}(h.value).then(s,l)}c((r=r.apply(o,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Wt(o);!(r=yield e.next()).done;)if(t.next(r.value),t.closed)return}catch(a){n={error:a}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(n)throw n.error}}t.complete()})})(o,t).catch(e=>t.error(e))})}function wa(o,t,e,r=0,n=!1){const i=t.schedule(function(){e(),n?o.add(this.schedule(null,r)):this.unsubscribe()},r);if(o.add(i),!n)return i}function yo(o,t,e=1/0){return I(t)?yo((r,n)=>Je((i,a)=>t(r,i,n,a))(ao(o(r,n))),e):("number"==typeof t&&(e=t),zr((r,n)=>function Bn(o,t,e,r,n,i,a,s){const l=[];let c=0,h=0,_=!1;const C=()=>{_&&!l.length&&!c&&t.complete()},k=B=>c{i&&t.next(B),c++;let z=!1;ao(e(B,h++)).subscribe(cr(t,W=>{n?.(W),i?k(W):t.next(W)},()=>{z=!0},void 0,()=>{if(z)try{for(c--;l.length&&cA(W)):A(W)}C()}catch(W){t.error(W)}}))};return o.subscribe(cr(t,k,()=>{_=!0,C()})),()=>{s?.()}}(r,n,o,e)))}function dr(o=1/0){return yo(lt,o)}const on=new Nt(o=>o.complete());function Xi(o){return o&&I(o.schedule)}function ci(o){return o[o.length-1]}function ho(o){return I(ci(o))?o.pop():void 0}function gn(o){return Xi(ci(o))?o.pop():void 0}function us(o,t=0){return zr((e,r)=>{e.subscribe(cr(r,n=>wa(r,o,()=>r.next(n),t),()=>wa(r,o,()=>r.complete(),t),n=>wa(r,o,()=>r.error(n),t)))})}function y_(o,t=0){return zr((e,r)=>{r.add(o.schedule(()=>e.subscribe(r),t))})}function b_(o,t){if(!o)throw new Error("Iterable cannot be null");return new Nt(e=>{wa(e,t,()=>{const r=o[Symbol.asyncIterator]();wa(e,t,()=>{r.next().then(n=>{n.done?e.complete():e.next(n.value)})},0,!0)})})}function Co(o,t){return t?function w_(o,t){if(null!=o){if(od(o))return function Db(o,t){return ao(o).pipe(y_(t),us(t))}(o,t);if(Uu(o))return function bo(o,t){return new Nt(e=>{let r=0;return t.schedule(function(){r===o.length?e.complete():(e.next(o[r++]),e.closed||this.schedule())})})}(o,t);if(Wu(o))return function Mb(o,t){return ao(o).pipe(y_(t),us(t))}(o,t);if(Yr(o))return b_(o,t);if(Gu(o))return function Ku(o,t){return new Nt(e=>{let r;return wa(e,t,()=>{r=o[nd](),wa(e,t,()=>{let n,i;try{({value:n,done:i}=r.next())}catch(a){return void e.error(a)}i?e.complete():e.next(n)},0,!0)}),()=>I(r?.return)&&r.return()})}(o,t);if(Ws(o))return function C_(o,t){return b_(id(o),t)}(o,t)}throw eg(o)}(o,t):ao(o)}function di(...o){const t=gn(o),e=function xa(o,t){return"number"==typeof ci(o)?o.pop():t}(o,1/0),r=o;return r.length?1===r.length?ao(r[0]):dr(e)(Co(r,t)):on}function tg(o={}){const{connector:t=(()=>new Ae),resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:n=!0}=o;return i=>{let a,s,l,c=0,h=!1,_=!1;const C=()=>{s?.unsubscribe(),s=void 0},k=()=>{C(),a=l=void 0,h=_=!1},A=()=>{const B=a;k(),B?.unsubscribe()};return zr((B,z)=>{c++,!_&&!h&&C();const W=l=l??t();z.add(()=>{c--,0===c&&!_&&!h&&(s=rg(A,n))}),W.subscribe(z),!a&&c>0&&(a=new Ve({next:q=>W.next(q),error:q=>{_=!0,C(),s=rg(k,e,q),W.error(q)},complete:()=>{h=!0,C(),s=rg(k,r),W.complete()}}),ao(B).subscribe(a))})(i)}}function rg(o,t,...e){if(!0===t)return void o();if(!1===t)return;const r=new Ve({next:()=>{r.unsubscribe(),o()}});return ao(t(...e)).subscribe(r)}function Hr(o){for(let t in o)if(o[t]===Hr)return t;throw Error("Could not find renamed property on target object.")}function og(o,t){for(const e in t)t.hasOwnProperty(e)&&!o.hasOwnProperty(e)&&(o[e]=t[e])}function Rr(o){if("string"==typeof o)return o;if(Array.isArray(o))return"["+o.map(Rr).join(", ")+"]";if(null==o)return""+o;if(o.overriddenName)return`${o.overriddenName}`;if(o.name)return`${o.name}`;const t=o.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Zu(o,t){return null==o||""===o?null===t?"":t:null==t||""===t?o:o+" "+t}const kb=Hr({__forward_ref__:Hr});function Gt(o){return o.__forward_ref__=Gt,o.toString=function(){return Rr(this())},o}function Et(o){return Xu(o)?o():o}function Xu(o){return"function"==typeof o&&o.hasOwnProperty(kb)&&o.__forward_ref__===Gt}class be extends Error{constructor(t,e){super(function Qu(o,t){return`NG0${Math.abs(o)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function Lt(o){return"string"==typeof o?o:null==o?"":String(o)}function ui(o,t){throw new be(-201,!1)}function Hn(o,t){null==o&&function wr(o,t,e,r){throw new Error(`ASSERTION ERROR: ${o}`+(null==r?"":` [Expected=> ${e} ${r} ${t} <=Actual]`))}(t,o,null,"!=")}function se(o){return{token:o.token,providedIn:o.providedIn||null,factory:o.factory,value:void 0}}function Ue(o){return{providers:o.providers||[],imports:o.imports||[]}}function tp(o){return D_(o,Wl)||D_(o,ig)}function D_(o,t){return o.hasOwnProperty(t)?o[t]:null}function rp(o){return o&&(o.hasOwnProperty(ng)||o.hasOwnProperty(M_))?o[ng]:null}const Wl=Hr({\u0275prov:Hr}),ng=Hr({\u0275inj:Hr}),ig=Hr({ngInjectableDef:Hr}),M_=Hr({ngInjectorDef:Hr});var xt=(()=>((xt=xt||{})[xt.Default=0]="Default",xt[xt.Host=1]="Host",xt[xt.Self=2]="Self",xt[xt.SkipSelf=4]="SkipSelf",xt[xt.Optional=8]="Optional",xt))();let ag;function pi(o){const t=ag;return ag=o,t}function sg(o,t,e){const r=tp(o);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:e&xt.Optional?null:void 0!==t?t:void ui(Rr(o))}function hi(o){return{toString:o}.toString()}var mn=(()=>((mn=mn||{})[mn.OnPush=0]="OnPush",mn[mn.Default=1]="Default",mn))(),Ti=(()=>{return(o=Ti||(Ti={}))[o.Emulated=0]="Emulated",o[o.None=2]="None",o[o.ShadowDom=3]="ShadowDom",Ti;var o})();const jr=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ps={},yr=[],gi=Hr({\u0275cmp:Hr}),cg=Hr({\u0275dir:Hr}),cd=Hr({\u0275pipe:Hr}),k_=Hr({\u0275mod:Hr}),Ma=Hr({\u0275fac:Hr}),dd=Hr({__NG_ELEMENT_ID__:Hr});let op=0;function ne(o){return hi(()=>{const e=!0===o.standalone,r={},n={type:o.type,providersResolver:null,decls:o.decls,vars:o.vars,factory:null,template:o.template||null,consts:o.consts||null,ngContentSelectors:o.ngContentSelectors,hostBindings:o.hostBindings||null,hostVars:o.hostVars||0,hostAttrs:o.hostAttrs||null,contentQueries:o.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:o.exportAs||null,onPush:o.changeDetection===mn.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&o.dependencies||null,getStandaloneInjector:null,selectors:o.selectors||yr,viewQuery:o.viewQuery||null,features:o.features||null,data:o.data||{},encapsulation:o.encapsulation||Ti.Emulated,id:"c"+op++,styles:o.styles||yr,_:null,setInput:null,schemas:o.schemas||null,tView:null},i=o.dependencies,a=o.features;return n.inputs=F_(o.inputs,r),n.outputs=F_(o.outputs),a&&a.forEach(s=>s(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(E_).filter(T_):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(fn).filter(T_):null,n})}function ud(o,t,e){const r=o.\u0275cmp;r.directiveDefs=()=>("function"==typeof t?t():t).map(E_),r.pipeDefs=()=>("function"==typeof e?e():e).map(fn)}function E_(o){return Er(o)||an(o)}function T_(o){return null!==o}function We(o){return hi(()=>({type:o.type,bootstrap:o.bootstrap||yr,declarations:o.declarations||yr,imports:o.imports||yr,exports:o.exports||yr,transitiveCompileScopes:null,schemas:o.schemas||null,id:o.id||null}))}function F_(o,t){if(null==o)return ps;const e={};for(const r in o)if(o.hasOwnProperty(r)){let n=o[r],i=n;Array.isArray(n)&&(i=n[1],n=n[0]),e[n]=r,t&&(t[n]=i)}return e}const Se=ne;function ur(o){return{type:o.type,name:o.name,factory:null,pure:!1!==o.pure,standalone:!0===o.standalone,onDestroy:o.type.prototype.ngOnDestroy||null}}function Er(o){return o[gi]||null}function an(o){return o[cg]||null}function fn(o){return o[cd]||null}function Vn(o,t){const e=o[k_]||null;if(!e&&!0===t)throw new Error(`Type ${Rr(o)} does not have '\u0275mod' property.`);return e}function kn(o){return Array.isArray(o)&&"object"==typeof o[1]}function Pi(o){return Array.isArray(o)&&!0===o[1]}function hg(o){return 0!=(8&o.flags)}function ip(o){return 2==(2&o.flags)}function ap(o){return 1==(1&o.flags)}function Ii(o){return null!==o.template}function Vb(o){return 0!=(256&o[2])}function Js(o,t){return o.hasOwnProperty(Ma)?o[Ma]:null}class Wb{constructor(t,e,r){this.previousValue=t,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}}function Lr(){return I_}function I_(o){return o.type.prototype.ngOnChanges&&(o.setInput=sp),Gb}function Gb(){const o=O_(this),t=o?.current;if(t){const e=o.previous;if(e===ps)o.previous=t;else for(let r in t)e[r]=t[r];o.current=null,this.ngOnChanges(t)}}function sp(o,t,e,r){const n=O_(o)||function qb(o,t){return o[A_]=t}(o,{previous:ps,current:null}),i=n.current||(n.current={}),a=n.previous,s=this.declaredInputs[e],l=a[s];i[s]=new Wb(l&&l.currentValue,t,a===ps),o[r]=t}Lr.ngInherit=!0;const A_="__ngSimpleChanges__";function O_(o){return o[A_]||null}function lo(o){for(;Array.isArray(o);)o=o[0];return o}function gd(o,t){return lo(t[o])}function qo(o,t){return lo(t[o.index])}function cp(o,t){return o.data[t]}function Ql(o,t){return o[t]}function zn(o,t){const e=t[o];return kn(e)?e:e[0]}function dp(o){return 64==(64&o[2])}function gs(o,t){return null==t?null:o[t]}function B_(o){o[18]=0}function vg(o,t){o[5]+=t;let e=o,r=o[3];for(;null!==r&&(1===t&&1===e[5]||-1===t&&0===e[5]);)r[5]+=t,e=r,r=r[3]}const Rt={lFrame:j_(null),bindingsEnabled:!0};function H_(){return Rt.bindingsEnabled}function Me(){return Rt.lFrame.lView}function nr(){return Rt.lFrame.tView}function F(o){return Rt.lFrame.contextLView=o,o[8]}function S(o){return Rt.lFrame.contextLView=null,o}function Lo(){let o=up();for(;null!==o&&64===o.type;)o=o.parent;return o}function up(){return Rt.lFrame.currentTNode}function Qi(o,t){const e=Rt.lFrame;e.currentTNode=o,e.isParent=t}function yg(){return Rt.lFrame.isParent}function fd(){Rt.lFrame.isParent=!1}function _n(){const o=Rt.lFrame;let t=o.bindingRootIndex;return-1===t&&(t=o.bindingRootIndex=o.tView.bindingStartIndex),t}function Ta(){return Rt.lFrame.bindingIndex}function Qs(){return Rt.lFrame.bindingIndex++}function Fa(o){const t=Rt.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+o,e}function l2(o,t){const e=Rt.lFrame;e.bindingIndex=e.bindingRootIndex=o,wg(t)}function wg(o){Rt.lFrame.currentDirectiveIndex=o}function ea(o){const t=Rt.lFrame.currentDirectiveIndex;return-1===t?null:o[t]}function xg(){return Rt.lFrame.currentQueryIndex}function Dg(o){Rt.lFrame.currentQueryIndex=o}function d2(o){const t=o[1];return 2===t.type?t.declTNode:1===t.type?o[6]:null}function z_(o,t,e){if(e&xt.SkipSelf){let n=t,i=o;for(;!(n=n.parent,null!==n||e&xt.Host||(n=d2(i),null===n||(i=i[15],10&n.type))););if(null===n)return!1;t=n,o=i}const r=Rt.lFrame=Y_();return r.currentTNode=t,r.lView=o,!0}function Ie(o){const t=Y_(),e=o[1];Rt.lFrame=t,t.currentTNode=e.firstChild,t.lView=o,t.tView=e,t.contextLView=o,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Y_(){const o=Rt.lFrame,t=null===o?null:o.child;return null===t?j_(o):t}function j_(o){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:o,child:null,inI18n:!1};return null!==o&&(o.child=t),t}function Mg(){const o=Rt.lFrame;return Rt.lFrame=o.parent,o.currentTNode=null,o.lView=null,o}const pr=Mg;function ec(){const o=Mg();o.isParent=!0,o.tView=null,o.selectedIndex=-1,o.contextLView=null,o.elementDepthCount=0,o.currentDirectiveIndex=-1,o.currentNamespace=null,o.bindingRootIndex=-1,o.bindingIndex=-1,o.currentQueryIndex=0}function vn(){return Rt.lFrame.selectedIndex}function ms(o){Rt.lFrame.selectedIndex=o}function mo(){const o=Rt.lFrame;return cp(o.tView,o.selectedIndex)}function _d(){Rt.lFrame.currentNamespace="svg"}function pp(o,t){for(let e=t.directiveStart,r=t.directiveEnd;e=r)break}else t[l]<0&&(o[18]+=65536),(s>11>16&&(3&o[2])===t){o[2]+=2048;try{i.call(s)}finally{}}}else try{i.call(s)}finally{}}class Yn{constructor(t,e,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=r}}function fp(o,t,e){let r=0;for(;rt){a=i-1;break}}}for(;i>16}(o),r=t;for(;e>0;)r=r[15],e--;return r}let Tg=!0;function _p(o){const t=Tg;return Tg=o,t}let b2=0;const na={};function bd(o,t){const e=Cd(o,t);if(-1!==e)return e;const r=t[1];r.firstCreatePass&&(o.injectorIndex=t.length,Fg(r.data,o),Fg(t,null),Fg(r.blueprint,null));const n=Sa(o,t),i=o.injectorIndex;if(Z_(n)){const a=tc(n),s=rc(n,t),l=s[1].data;for(let c=0;c<8;c++)t[i+c]=s[a+c]|l[a+c]}return t[i+8]=n,i}function Fg(o,t){o.push(0,0,0,0,0,0,0,0,t)}function Cd(o,t){return-1===o.injectorIndex||o.parent&&o.parent.injectorIndex===o.injectorIndex||null===t[o.injectorIndex+8]?-1:o.injectorIndex}function Sa(o,t){if(o.parent&&-1!==o.parent.injectorIndex)return o.parent.injectorIndex;let e=0,r=null,n=t;for(;null!==n;){if(r=WT(n),null===r)return-1;if(e++,n=n[15],-1!==r.injectorIndex)return r.injectorIndex|e<<16}return-1}function tl(o,t,e){!function C2(o,t,e){let r;"string"==typeof e?r=e.charCodeAt(0)||0:e.hasOwnProperty(dd)&&(r=e[dd]),null==r&&(r=e[dd]=b2++);const n=255&r;t.data[o+(n>>5)]|=1<=0?255&t:Pa:t}(e);if("function"==typeof i){if(!z_(t,o,r))return r&xt.Host?f(n,0,r):x(t,e,r,n);try{const a=i(r);if(null!=a||r&xt.Optional)return a;ui()}finally{pr()}}else if("number"==typeof i){let a=null,s=Cd(o,t),l=-1,c=r&xt.Host?t[16][6]:null;for((-1===s||r&xt.SkipSelf)&&(l=-1===s?Sa(o,t):t[s+8],-1!==l&&Sr(r,!1)?(a=t[1],s=tc(l),t=rc(l,t)):s=-1);-1!==s;){const h=t[1];if($t(i,s,h.data)){const _=U(s,t,e,a,r,c);if(_!==na)return _}l=t[s+8],-1!==l&&Sr(r,t[1].data[s+8]===c)&&$t(i,s,t)?(a=h,s=tc(l),t=rc(l,t)):s=-1}}return n}function U(o,t,e,r,n,i){const a=t[1],s=a.data[o+8],h=te(s,a,e,null==r?ip(s)&&Tg:r!=a&&0!=(3&s.type),n&xt.Host&&i===s);return null!==h?he(t,a,h,s):na}function te(o,t,e,r,n){const i=o.providerIndexes,a=t.data,s=1048575&i,l=o.directiveStart,h=i>>20,C=n?s+h:o.directiveEnd;for(let k=r?s:s+h;k=l&&A.type===e)return k}if(n){const k=a[l];if(k&&Ii(k)&&k.type===e)return l}return null}function he(o,t,e,r){let n=o[e];const i=t.data;if(function m2(o){return o instanceof Yn}(n)){const a=n;a.resolving&&function ep(o,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${o}`:"";throw new be(-200,`Circular dependency in DI detected for ${o}${e}`)}(function er(o){return"function"==typeof o?o.name||o.toString():"object"==typeof o&&null!=o&&"function"==typeof o.type?o.type.name||o.type.toString():Lt(o)}(i[e]));const s=_p(a.canSeeViewProviders);a.resolving=!0;const l=a.injectImpl?pi(a.injectImpl):null;z_(o,r,xt.Default);try{n=o[e]=a.factory(void 0,i,o,r),t.firstCreatePass&&e>=r.directiveStart&&function h2(o,t,e){const{ngOnChanges:r,ngOnInit:n,ngDoCheck:i}=t.type.prototype;if(r){const a=I_(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(o,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(o,a)}n&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-o,n),i&&((e.preOrderHooks||(e.preOrderHooks=[])).push(o,i),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(o,i))}(e,i[e],t)}finally{null!==l&&pi(l),_p(s),a.resolving=!1,pr()}}return n}function $t(o,t,e){return!!(e[t+(o>>5)]&1<{const t=o.prototype.constructor,e=t[Ma]||w2(t),r=Object.prototype;let n=Object.getPrototypeOf(o.prototype).constructor;for(;n&&n!==r;){const i=n[Ma]||w2(n);if(i&&i!==e)return i;n=Object.getPrototypeOf(n)}return i=>new i})}function w2(o){return Xu(o)?()=>{const t=w2(Et(o));return t&&t()}:Js(o)}function WT(o){const t=o[1],e=t.type;return 2===e?t.declTNode:1===e?o[6]:null}function _s(o){return function ir(o,t){if("class"===t)return o.classes;if("style"===t)return o.styles;const e=o.attrs;if(e){const r=e.length;let n=0;for(;n{const r=function x2(o){return function(...e){if(o){const r=o(...e);for(const n in r)this[n]=r[n]}}}(t);function n(...i){if(this instanceof n)return r.apply(this,i),this;const a=new n(...i);return s.annotation=a,s;function s(l,c,h){const _=l.hasOwnProperty(yp)?l[yp]:Object.defineProperty(l,yp,{value:[]})[yp];for(;_.length<=h;)_.push(null);return(_[h]=_[h]||[]).push(a),l}}return e&&(n.prototype=Object.create(e.prototype)),n.prototype.ngMetadataName=o,n.annotationCls=n,n})}class me{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=se({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ai(o,t){void 0===t&&(t=o);for(let e=0;eArray.isArray(e)?rl(e,t):t(e))}function qT(o,t,e){t>=o.length?o.push(e):o.splice(t,0,e)}function X_(o,t){return t>=o.length-1?o.pop():o.splice(t,1)[0]}function Ig(o,t){const e=[];for(let r=0;r=0?o[1|r]=e:(r=~r,function J9(o,t,e,r){let n=o.length;if(n==t)o.push(e,r);else if(1===n)o.push(r,o[0]),o[0]=e;else{for(n--,o.push(o[n-1],o[n]);n>t;)o[n]=o[n-2],n--;o[t]=e,o[t+1]=r}}(o,r,t,e)),r}function M2(o,t){const e=wp(o,t);if(e>=0)return o[1|e]}function wp(o,t){return function XT(o,t,e){let r=0,n=o.length>>e;for(;n!==r;){const i=r+(n-r>>1),a=o[i<t?n=i:r=i+1}return~(n<o,createScript:o=>o,createScriptURL:o=>o})}catch{}return rv}()?.createHTML(o)||o}function I2(){if(void 0===ov&&(ov=null,jr.trustedTypes))try{ov=jr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:o=>o,createScript:o=>o,createScriptURL:o=>o})}catch{}return ov}function lF(o){return I2()?.createHTML(o)||o}function dF(o){return I2()?.createScriptURL(o)||o}class wd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class DH extends wd{getTypeName(){return"HTML"}}class MH extends wd{getTypeName(){return"Style"}}class kH extends wd{getTypeName(){return"Script"}}class EH extends wd{getTypeName(){return"URL"}}class TH extends wd{getTypeName(){return"ResourceURL"}}function Ri(o){return o instanceof wd?o.changingThisBreaksApplicationSecurity:o}function vs(o,t){const e=function FH(o){return o instanceof wd&&o.getTypeName()||null}(o);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}class RH{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Mp(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class LH{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const r=this.inertDocument.createElement("body");e.appendChild(r)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Mp(t),e;const r=this.inertDocument.createElement("body");return r.innerHTML=Mp(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0"),!0}endElement(t){const e=t.nodeName.toLowerCase();A2.hasOwnProperty(e)&&!pF.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(fF(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const $H=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zH=/([^\#-~ |!])/g;function fF(o){return o.replace(/&/g,"&").replace($H,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(zH,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let iv;function _F(o,t){let e=null;try{iv=iv||function uF(o){const t=new LH(o);return function BH(){try{return!!(new window.DOMParser).parseFromString(Mp(""),"text/html")}catch{return!1}}()?new RH(t):t}(o);let r=t?String(t):"";e=iv.getInertBodyElement(r);let n=5,i=r;do{if(0===n)throw new Error("Failed to sanitize html because the input is unstable");n--,r=i,i=e.innerHTML,e=iv.getInertBodyElement(r)}while(r!==i);return Mp((new VH).sanitizeChildren(R2(e)||e))}finally{if(e){const r=R2(e)||e;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function R2(o){return"content"in o&&function YH(o){return o.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===o.nodeName}(o)?o.content:null}var Pr=(()=>((Pr=Pr||{})[Pr.NONE=0]="NONE",Pr[Pr.HTML=1]="HTML",Pr[Pr.STYLE=2]="STYLE",Pr[Pr.SCRIPT=3]="SCRIPT",Pr[Pr.URL=4]="URL",Pr[Pr.RESOURCE_URL=5]="RESOURCE_URL",Pr))();function yn(o){const t=Hg();return t?lF(t.sanitize(Pr.HTML,o)||""):vs(o,"HTML")?lF(Ri(o)):_F(function sF(){return void 0!==S2?S2:typeof document<"u"?document:void 0}(),Lt(o))}function Zo(o){const t=Hg();return t?t.sanitize(Pr.URL,o)||"":vs(o,"URL")?Ri(o):nv(Lt(o))}function L2(o){const t=Hg();if(t)return dF(t.sanitize(Pr.RESOURCE_URL,o)||"");if(vs(o,"ResourceURL"))return dF(Ri(o));throw new be(904,!1)}function Hg(){const o=Me();return o&&o[12]}const B2=new me("ENVIRONMENT_INITIALIZER"),vF=new me("INJECTOR",-1),yF=new me("INJECTOR_DEF_TYPES");class bF{get(t,e=Ag){if(e===Ag){const r=new Error(`NullInjectorError: No provider for ${Rr(t)}!`);throw r.name="NullInjectorError",r}return e}}function ZH(...o){return{\u0275providers:CF(0,o)}}function CF(o,...t){const e=[],r=new Set;let n;return rl(t,i=>{const a=i;N2(a,e,[],r)&&(n||(n=[]),n.push(a))}),void 0!==n&&wF(n,e),e}function wF(o,t){for(let e=0;e{t.push(i)})}}function N2(o,t,e,r){if(!(o=Et(o)))return!1;let n=null,i=rp(o);const a=!i&&Er(o);if(i||a){if(a&&!a.standalone)return!1;n=o}else{const l=o.ngModule;if(i=rp(l),!i)return!1;n=l}const s=r.has(n);if(a){if(s)return!1;if(r.add(n),a.dependencies){const l="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const c of l)N2(c,t,e,r)}}else{if(!i)return!1;{if(null!=i.imports&&!s){let c;r.add(n);try{rl(i.imports,h=>{N2(h,t,e,r)&&(c||(c=[]),c.push(h))})}finally{}void 0!==c&&wF(c,t)}if(!s){const c=Js(n)||(()=>new n);t.push({provide:n,useFactory:c,deps:yr},{provide:yF,useValue:n,multi:!0},{provide:B2,useValue:()=>Z(n),multi:!0})}const l=i.providers;null==l||s||rl(l,h=>{t.push(h)})}}return n!==o&&void 0!==o.providers}const XH=Hr({provide:String,useValue:Hr});function H2(o){return null!==o&&"object"==typeof o&&XH in o}function xd(o){return"function"==typeof o}const V2=new me("Set Injector scope."),av={},QH={};let $2;function sv(){return void 0===$2&&($2=new bF),$2}class oc{}class MF extends oc{constructor(t,e,r,n){super(),this.parent=e,this.source=r,this.scopes=n,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Y2(t,a=>this.processProvider(a)),this.records.set(vF,kp(void 0,this)),n.has("environment")&&this.records.set(oc,kp(void 0,this));const i=this.records.get(V2);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(yF.multi,yr,xt.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=xp(this),r=pi(void 0);try{return t()}finally{xp(e),pi(r)}}get(t,e=Ag,r=xt.Default){this.assertNotDestroyed();const n=xp(this),i=pi(void 0);try{if(!(r&xt.SkipSelf)){let s=this.records.get(t);if(void 0===s){const l=function nV(o){return"function"==typeof o||"object"==typeof o&&o instanceof me}(t)&&tp(t);s=l&&this.injectableDefInScope(l)?kp(z2(t),av):null,this.records.set(t,s)}if(null!=s)return this.hydrate(t,s)}return(r&xt.Self?sv():this.parent).get(t,e=r&xt.Optional&&e===Ag?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Q_]=a[Q_]||[]).unshift(Rr(t)),n)throw a;return function dH(o,t,e,r){const n=o[Q_];throw t[JT]&&n.unshift(t[JT]),o.message=function uH(o,t,e,r=null){o=o&&"\n"===o.charAt(0)&&"\u0275"==o.charAt(1)?o.slice(2):o;let n=Rr(t);if(Array.isArray(t))n=t.map(Rr).join(" -> ");else if("object"==typeof t){let i=[];for(let a in t)if(t.hasOwnProperty(a)){let s=t[a];i.push(a+":"+("string"==typeof s?JSON.stringify(s):Rr(s)))}n=`{${i.join(", ")}}`}return`${e}${r?"("+r+")":""}[${n}]: ${o.replace(aH,"\n ")}`}("\n"+o.message,n,e,r),o.ngTokenPath=n,o[Q_]=null,o}(a,t,"R3InjectorError",this.source)}throw a}finally{pi(i),xp(n)}}resolveInjectorInitializers(){const t=xp(this),e=pi(void 0);try{const r=this.get(B2.multi,yr,xt.Self);for(const n of r)n()}finally{xp(t),pi(e)}}toString(){const t=[],e=this.records;for(const r of e.keys())t.push(Rr(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new be(205,!1)}processProvider(t){let e=xd(t=Et(t))?t:Et(t&&t.provide);const r=function tV(o){return H2(o)?kp(void 0,o.useValue):kp(kF(o),av)}(t);if(xd(t)||!0!==t.multi)this.records.get(e);else{let n=this.records.get(e);n||(n=kp(void 0,av,!0),n.factory=()=>T2(n.multi),this.records.set(e,n)),e=t,n.multi.push(t)}this.records.set(e,r)}hydrate(t,e){return e.value===av&&(e.value=QH,e.value=e.factory()),"object"==typeof e.value&&e.value&&function oV(o){return null!==o&&"object"==typeof o&&"function"==typeof o.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Et(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function z2(o){const t=tp(o),e=null!==t?t.factory:Js(o);if(null!==e)return e;if(o instanceof me)throw new be(204,!1);if(o instanceof Function)return function eV(o){const t=o.length;if(t>0)throw Ig(t,"?"),new be(204,!1);const e=function Ab(o){const t=o&&(o[Wl]||o[ig]);if(t){const e=function Ob(o){if(o.hasOwnProperty("name"))return o.name;const t=(""+o).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(o);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(o);return null!==e?()=>e.factory(o):()=>new o}(o);throw new be(204,!1)}function kF(o,t,e){let r;if(xd(o)){const n=Et(o);return Js(n)||z2(n)}if(H2(o))r=()=>Et(o.useValue);else if(function DF(o){return!(!o||!o.useFactory)}(o))r=()=>o.useFactory(...T2(o.deps||[]));else if(function xF(o){return!(!o||!o.useExisting)}(o))r=()=>Z(Et(o.useExisting));else{const n=Et(o&&(o.useClass||o.provide));if(!function rV(o){return!!o.deps}(o))return Js(n)||z2(n);r=()=>new n(...T2(o.deps))}return r}function kp(o,t,e=!1){return{factory:o,value:t,multi:e?[]:void 0}}function iV(o){return!!o.\u0275providers}function Y2(o,t){for(const e of o)Array.isArray(e)?Y2(e,t):iV(e)?Y2(e.\u0275providers,t):t(e)}class EF{}class lV{resolveComponentFactory(t){throw function sV(o){const t=Error(`No component factory found for ${Rr(o)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=o,t}(t)}}let nc=(()=>{class o{}return o.NULL=new lV,o})();function cV(){return Ep(Lo(),Me())}function Ep(o,t){return new dt(qo(o,t))}let dt=(()=>{class o{constructor(e){this.nativeElement=e}}return o.__NG_ELEMENT_ID__=cV,o})();function dV(o){return o instanceof dt?o.nativeElement:o}class Tp{}let Li=(()=>{class o{}return o.__NG_ELEMENT_ID__=()=>function uV(){const o=Me(),e=zn(Lo().index,o);return(kn(e)?e:o)[11]}(),o})(),pV=(()=>{class o{}return o.\u0275prov=se({token:o,providedIn:"root",factory:()=>null}),o})();class Dd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const hV=new Dd("14.2.6"),j2={};function K2(o){return o.ngOriginalError}class il{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&K2(t);for(;e&&K2(e);)e=K2(e);return e||null}}const Z2=new Map;let MV=0;const J2="__ngContext__";function En(o,t){kn(t)?(o[J2]=t[20],function EV(o){Z2.set(o[20],o)}(t)):o[J2]=t}function VF(o){return o.ownerDocument.defaultView}function lv(o){return o.ownerDocument}function al(o){return o instanceof Function?o():o}var fi=(()=>((fi=fi||{})[fi.Important=1]="Important",fi[fi.DashCase=2]="DashCase",fi))();function eC(o,t){return undefined(o,t)}function $g(o){const t=o[3];return Pi(t)?t[3]:t}function tC(o){return YF(o[13])}function rC(o){return YF(o[4])}function YF(o){for(;null!==o&&!Pi(o);)o=o[4];return o}function Sp(o,t,e,r,n){if(null!=r){let i,a=!1;Pi(r)?i=r:kn(r)&&(a=!0,r=r[0]);const s=lo(r);0===o&&null!==e?null==n?KF(t,e,s):Md(t,e,s,n||null,!0):1===o&&null!==e?Md(t,e,s,n||null,!0):2===o?function rS(o,t,e){const r=cv(o,t);r&&function JV(o,t,e,r){o.removeChild(t,e,r)}(o,r,t,e)}(t,s,a):3===o&&t.destroyNode(s),null!=i&&function t$(o,t,e,r,n){const i=e[7];i!==lo(e)&&Sp(t,o,r,i,n);for(let s=10;s0&&(o[e-1][4]=r[4]);const i=X_(o,10+t);!function jV(o,t){zg(o,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=i[19];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function WF(o,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&zg(o,t,e,3,null,null),function GV(o){let t=o[13];if(!t)return aC(o[1],o);for(;t;){let e=null;if(kn(t))e=t[13];else{const r=t[10];r&&(e=r)}if(!e){for(;t&&!t[4]&&t!==o;)kn(t)&&aC(t[1],t),t=t[3];null===t&&(t=o),kn(t)&&aC(t[1],t),e=t&&t[4]}t=e}}(t)}}function aC(o,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function XV(o,t){let e;if(null!=o&&null!=(e=o.destroyHooks))for(let r=0;r=0?r[n=c]():r[n=-c].unsubscribe(),i+=2}else{const a=r[n=e[i+1]];e[i].call(a)}if(null!==r){for(let i=n+1;ii?"":n[_+1].toLowerCase();const k=8&r?C:null;if(k&&-1!==iS(k,c,0)||2&r&&c!==C){if(Aa(r))return!1;a=!0}}}}else{if(!a&&!Aa(r)&&!Aa(l))return!1;if(a&&Aa(l))continue;a=!1,r=l|1&r}}return Aa(r)||a}function Aa(o){return 0==(1&o)}function a$(o,t,e,r){if(null===t)return-1;let n=0;if(r||!e){let i=!1;for(;n-1)for(e++;e0?'="'+s+'"':"")+"]"}else 8&r?n+="."+a:4&r&&(n+=" "+a);else""!==n&&!Aa(a)&&(t+=cS(i,n),n=""),r=a,i=i||!Aa(r);e++}return""!==n&&(t+=cS(i,n)),t}const Vt={};function p(o){dS(nr(),Me(),vn()+o,!1)}function dS(o,t,e,r){if(!r)if(3==(3&t[2])){const i=o.preOrderCheckHooks;null!==i&&vd(t,i,e)}else{const i=o.preOrderHooks;null!==i&&hp(t,i,0,e)}ms(e)}function gS(o,t=null,e=null,r){const n=mS(o,t,e,r);return n.resolveInjectorInitializers(),n}function mS(o,t=null,e=null,r,n=new Set){const i=[e||yr,ZH(o)];return r=r||("object"==typeof o?void 0:Rr(o)),new MF(i,t||sv(),r||null,n)}let Zr=(()=>{class o{static create(e,r){if(Array.isArray(e))return gS({name:""},r,e,"");{const n=e.name??"";return gS({name:n},e.parent,e.providers,n)}}}return o.THROW_IF_NOT_FOUND=Ag,o.NULL=new bF,o.\u0275prov=se({token:o,providedIn:"any",factory:()=>Z(vF)}),o.__NG_ELEMENT_ID__=-1,o})();function O(o,t=xt.Default){const e=Me();return null===e?Z(o,t):R(Lo(),e,Et(o),t)}function Ip(){throw new Error("invalid")}function hv(o,t){return o<<17|t<<2}function Oa(o){return o>>17&32767}function mC(o){return 2|o}function sl(o){return(131068&o)>>2}function fC(o,t){return-131069&o|t<<2}function _C(o){return 1|o}function IS(o,t){const e=o.contentQueries;if(null!==e)for(let r=0;r22&&dS(o,t,22,!1),e(r,n)}finally{ms(i)}}function OS(o,t,e){if(hg(t)){const n=t.directiveEnd;for(let i=t.directiveStart;i0;){const e=o[--t];if("number"==typeof e&&e<0)return e}return 0})(s)!=l&&s.push(l),s.push(r,n,a)}}function $S(o,t){null!==o.hostBindings&&o.hostBindings(1,t)}function zS(o,t){t.flags|=2,(o.components||(o.components=[])).push(t.index)}function rz(o,t,e){if(e){if(t.exportAs)for(let r=0;r0&&IC(e)}}function IC(o){for(let r=tC(o);null!==r;r=rC(r))for(let n=10;n0&&IC(i)}const e=o[1].components;if(null!==e)for(let r=0;r0&&IC(n)}}function cz(o,t){const e=zn(t,o),r=e[1];(function dz(o,t){for(let e=t.length;e-1&&(iC(t,r),X_(e,r))}this._attachedToViewContainer=!1}WF(this._lView[1],this._lView)}onDestroy(t){LS(this._lView[1],this._lView,null,t)}markForCheck(){AC(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){yv(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new be(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function WV(o,t){zg(o,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new be(902,!1);this._appRef=t}}class uz extends Yg{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;yv(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class LC extends nc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Er(t);return new jg(e,this.ngModule)}}function ZS(o){const t=[];for(let e in o)o.hasOwnProperty(e)&&t.push({propName:o[e],templateName:e});return t}class hz{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,r){const n=this.injector.get(t,j2,r);return n!==j2||e===j2?n:this.parentInjector.get(t,e,r)}}class jg extends EF{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function p$(o){return o.map(u$).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ZS(this.componentDef.inputs)}get outputs(){return ZS(this.componentDef.outputs)}create(t,e,r,n){let i=(n=n||this.ngModule)instanceof oc?n:n?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const a=i?new hz(t,i):t,s=a.get(Tp,null);if(null===s)throw new be(407,!1);const l=a.get(pV,null),c=s.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",_=r?function W$(o,t,e){return o.selectRootElement(t,e===Ti.ShadowDom)}(c,r,this.componentDef.encapsulation):nC(s.createRenderer(null,this.componentDef),h,function pz(o){const t=o.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),C=this.componentDef.onPush?288:272,k=FC(0,null,null,1,0,null,null,null,null,null),A=fv(null,k,null,C,null,null,s,c,l,a,null);let B,z;Ie(A);try{const W=function fz(o,t,e,r,n,i){const a=e[1];e[22]=o;const l=Ap(a,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(bv(l,c,!0),null!==o&&(fp(n,o,c),null!==l.classes&&dC(n,o,l.classes),null!==l.styles&&nS(n,o,l.styles)));const h=r.createRenderer(o,t),_=fv(e,RS(t),null,t.onPush?32:16,e[22],l,r,h,i||null,null,null);return a.firstCreatePass&&(tl(bd(l,e),a,t.type),zS(a,l),YS(l,e.length,1)),vv(e,_),e[22]=_}(_,this.componentDef,A,s,c);if(_)if(r)fp(c,_,["ng-version",hV.full]);else{const{attrs:q,classes:G}=function h$(o){const t=[],e=[];let r=1,n=2;for(;r0&&dC(c,_,G.join(" "))}if(z=cp(k,22),void 0!==e){const q=z.projection=[];for(let G=0;G=0;r--){const n=o[r];n.hostVars=t+=n.hostVars,n.hostAttrs=ra(n.hostAttrs,e=ra(e,n.hostAttrs))}}(r)}function BC(o){return o===ps?{}:o===yr?[]:o}function bz(o,t){const e=o.viewQuery;o.viewQuery=e?(r,n)=>{t(r,n),e(r,n)}:t}function Cz(o,t){const e=o.contentQueries;o.contentQueries=e?(r,n,i)=>{t(r,n,i),e(r,n,i)}:t}function wz(o,t){const e=o.hostBindings;o.hostBindings=e?(r,n)=>{t(r,n),e(r,n)}:t}let wv=null;function kd(){if(!wv){const o=jr.Symbol;if(o&&o.iterator)wv=o.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;es(lo(oe[r.index])):r.index;let X=null;if(!s&&l&&(X=function Oz(o,t,e,r){const n=o.cleanup;if(null!=n)for(let i=0;il?s[l]:null}"string"==typeof a&&(i+=2)}return null}(o,t,n,r.index)),null!==X)(X.__ngLastListenerFn__||X).__ngNextListenerFn__=i,X.__ngLastListenerFn__=i,k=!1;else{i=d5(r,t,_,i,!1);const oe=e.listen(W,n,i);C.push(i,oe),h&&h.push(n,G,q,q+1)}}else i=d5(r,t,_,i,!1);const A=r.outputs;let B;if(k&&null!==A&&(B=A[n])){const z=B.length;if(z)for(let W=0;W0;)t=t[15],o--;return t}(o,Rt.lFrame.contextLView))[8]}(o)}function Rz(o,t){let e=null;const r=function s$(o){const t=o.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(o);for(let n=0;n=0}const Xo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function y5(o){return o.substring(Xo.key,Xo.keyEnd)}function Hz(o){return o.substring(Xo.value,Xo.valueEnd)}function b5(o,t){const e=Xo.textEnd;return e===t?-1:(t=Xo.keyEnd=function zz(o,t,e){for(;t32;)t++;return t}(o,Xo.key=t,e),jp(o,t,e))}function C5(o,t){const e=Xo.textEnd;let r=Xo.key=jp(o,t,e);return e===r?-1:(r=Xo.keyEnd=function Yz(o,t,e){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(o,r,e),r=x5(o,r,e),r=Xo.value=jp(o,r,e),r=Xo.valueEnd=function jz(o,t,e){let r=-1,n=-1,i=-1,a=t,s=a;for(;a32&&(s=a),i=n,n=r,r=-33&l}return s}(o,r,e),x5(o,r,e))}function w5(o){Xo.key=0,Xo.keyEnd=0,Xo.value=0,Xo.valueEnd=0,Xo.textEnd=o.length}function jp(o,t,e){for(;t=0;e=C5(t,e))E5(o,y5(t),Hz(t))}function Wn(o){La(Oi,ws,o,!0)}function ws(o,t){for(let e=function Vz(o){return w5(o),b5(o,jp(o,0,Xo.textEnd))}(t);e>=0;e=b5(t,e))Oi(o,y5(t),!0)}function Ra(o,t,e,r){const n=Me(),i=nr(),a=Fa(2);i.firstUpdatePass&&k5(i,o,a,r),t!==Vt&&Tn(n,a,t)&&T5(i,i.data[vn()],n,n[11],o,n[a+1]=function Jz(o,t){return null==o||("string"==typeof t?o+=t:"object"==typeof o&&(o=Rr(Ri(o)))),o}(t,e),r,a)}function La(o,t,e,r){const n=nr(),i=Fa(2);n.firstUpdatePass&&k5(n,null,i,r);const a=Me();if(e!==Vt&&Tn(a,i,e)){const s=n.data[vn()];if(S5(s,r)&&!M5(n,i)){let l=r?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(e=Zu(l,e||"")),HC(n,s,a,e,r)}else!function Xz(o,t,e,r,n,i,a,s){n===Vt&&(n=yr);let l=0,c=0,h=0=o.expandoStartIndex}function k5(o,t,e,r){const n=o.data;if(null===n[e+1]){const i=n[vn()],a=M5(o,e);S5(i,r)&&null===t&&!a&&(t=!1),t=function Wz(o,t,e,r){const n=ea(o);let i=r?t.residualClasses:t.residualStyles;if(null===n)0===(r?t.classBindings:t.styleBindings)&&(e=Zg(e=zC(null,o,t,e,r),t.attrs,r),i=null);else{const a=t.directiveStylingLast;if(-1===a||o[a]!==n)if(e=zC(n,o,t,e,r),null===i){let l=function Gz(o,t,e){const r=e?t.classBindings:t.styleBindings;if(0!==sl(r))return o[Oa(r)]}(o,t,r);void 0!==l&&Array.isArray(l)&&(l=zC(null,o,t,l[1],r),l=Zg(l,t.attrs,r),function qz(o,t,e,r){o[Oa(e?t.classBindings:t.styleBindings)]=r}(o,t,r,l))}else i=function Kz(o,t,e){let r;const n=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)}else h=e;if(n)if(0!==l){const C=Oa(o[s+1]);o[r+1]=hv(C,s),0!==C&&(o[C+1]=fC(o[C+1],r)),o[s+1]=function I$(o,t){return 131071&o|t<<17}(o[s+1],r)}else o[r+1]=hv(s,0),0!==s&&(o[s+1]=fC(o[s+1],r)),s=r;else o[r+1]=hv(l,0),0===s?s=r:o[l+1]=fC(o[l+1],r),l=r;c&&(o[r+1]=mC(o[r+1])),v5(o,h,r,!0),v5(o,h,r,!1),function Bz(o,t,e,r,n){const i=n?o.residualClasses:o.residualStyles;null!=i&&"string"==typeof t&&wp(i,t)>=0&&(e[r+1]=_C(e[r+1]))}(t,h,o,r,i),a=hv(s,l),i?t.classBindings=a:t.styleBindings=a}(n,i,t,e,a,r)}}function zC(o,t,e,r,n){let i=null;const a=e.directiveEnd;let s=e.directiveStylingLast;for(-1===s?s=e.directiveStart:s++;s0;){const l=o[n],c=Array.isArray(l),h=c?l[1]:l,_=null===h;let C=e[n+1];C===Vt&&(C=_?yr:void 0);let k=_?M2(C,r):h===r?C:void 0;if(c&&!Mv(k)&&(k=M2(l,r)),Mv(k)&&(s=k,a))return s;const A=o[n+1];n=a?Oa(A):sl(A)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(s=M2(l,r))}return s}function Mv(o){return void 0!==o}function S5(o,t){return 0!=(o.flags&(t?16:32))}function v(o,t=""){const e=Me(),r=nr(),n=o+22,i=r.firstCreatePass?Ap(r,n,1,t,null):r.data[n],a=e[n]=function oC(o,t){return o.createText(t)}(e[11],t);dv(r,e,a,i),Qi(i,!1)}function ae(o){return ce("",o,""),ae}function ce(o,t,e){const r=Me(),n=Lp(r,o,t,e);return n!==Vt&&ll(r,vn(),n),ce}function Eo(o,t,e,r,n){const i=Me(),a=function Bp(o,t,e,r,n,i){const s=Ed(o,Ta(),e,n);return Fa(2),s?t+Lt(e)+r+Lt(n)+i:Vt}(i,o,t,e,r,n);return a!==Vt&&ll(i,vn(),a),Eo}function cl(o,t,e,r,n,i,a){const s=Me(),l=Np(s,o,t,e,r,n,i,a);return l!==Vt&&ll(s,vn(),l),cl}function Td(o,t,e,r,n,i,a,s,l){const c=Me(),h=function Hp(o,t,e,r,n,i,a,s,l,c){const _=ia(o,Ta(),e,n,a,l);return Fa(4),_?t+Lt(e)+r+Lt(n)+i+Lt(a)+s+Lt(l)+c:Vt}(c,o,t,e,r,n,i,a,s,l);return h!==Vt&&ll(c,vn(),h),Td}function YC(o,t,e,r,n,i,a,s,l,c,h){const _=Me(),C=function Vp(o,t,e,r,n,i,a,s,l,c,h,_){const C=Ta();let k=ia(o,C,e,n,a,l);return k=Tn(o,C+4,h)||k,Fa(5),k?t+Lt(e)+r+Lt(n)+i+Lt(a)+s+Lt(l)+c+Lt(h)+_:Vt}(_,o,t,e,r,n,i,a,s,l,c,h);return C!==Vt&&ll(_,vn(),C),YC}function xs(o,t,e){La(Oi,ws,Lp(Me(),o,t,e),!0)}function kv(o,t,e){!function Cs(o){La(E5,Uz,o,!1)}(Lp(Me(),o,t,e))}function Ds(o,t,e){const r=Me();return Tn(r,Qs(),t)&&Bi(nr(),mo(),r,o,t,r[11],e,!0),Ds}function Ev(o,t,e){const r=Me();if(Tn(r,Qs(),t)){const i=nr(),a=mo();Bi(i,a,r,o,t,qS(ea(i.data),a,r),e,!0)}return Ev}const Fd=void 0;var fY=["en",[["a","p"],["AM","PM"],Fd],[["AM","PM"],Fd,Fd],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Fd,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Fd,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Fd,"{1} 'at' {0}",Fd],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function mY(o){const e=Math.floor(Math.abs(o)),r=o.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===r?1:5}];let Up={};function Gn(o){const t=function _Y(o){return o.toLowerCase().replace(/_/g,"-")}(o);let e=U5(t);if(e)return e;const r=t.split("-")[0];if(e=U5(r),e)return e;if("en"===r)return fY;throw new be(701,!1)}function U5(o){return o in Up||(Up[o]=jr.ng&&jr.ng.common&&jr.ng.common.locales&&jr.ng.common.locales[o]),Up[o]}var Ze=(()=>((Ze=Ze||{})[Ze.LocaleId=0]="LocaleId",Ze[Ze.DayPeriodsFormat=1]="DayPeriodsFormat",Ze[Ze.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ze[Ze.DaysFormat=3]="DaysFormat",Ze[Ze.DaysStandalone=4]="DaysStandalone",Ze[Ze.MonthsFormat=5]="MonthsFormat",Ze[Ze.MonthsStandalone=6]="MonthsStandalone",Ze[Ze.Eras=7]="Eras",Ze[Ze.FirstDayOfWeek=8]="FirstDayOfWeek",Ze[Ze.WeekendRange=9]="WeekendRange",Ze[Ze.DateFormat=10]="DateFormat",Ze[Ze.TimeFormat=11]="TimeFormat",Ze[Ze.DateTimeFormat=12]="DateTimeFormat",Ze[Ze.NumberSymbols=13]="NumberSymbols",Ze[Ze.NumberFormats=14]="NumberFormats",Ze[Ze.CurrencyCode=15]="CurrencyCode",Ze[Ze.CurrencySymbol=16]="CurrencySymbol",Ze[Ze.CurrencyName=17]="CurrencyName",Ze[Ze.Currencies=18]="Currencies",Ze[Ze.Directionality=19]="Directionality",Ze[Ze.PluralCase=20]="PluralCase",Ze[Ze.ExtraData=21]="ExtraData",Ze))();const Wp="en-US";let W5=Wp;function GC(o,t,e,r,n){if(o=Et(o),Array.isArray(o))for(let i=0;i>20;if(xd(o)||!o.multi){const k=new Yn(l,n,O),A=KC(s,t,n?h:h+C,_);-1===A?(tl(bd(c,a),i,s),qC(i,o,t.length),t.push(s),c.directiveStart++,c.directiveEnd++,n&&(c.providerIndexes+=1048576),e.push(k),a.push(k)):(e[A]=k,a[A]=k)}else{const k=KC(s,t,h+C,_),A=KC(s,t,h,h+C),B=k>=0&&e[k],z=A>=0&&e[A];if(n&&!z||!n&&!B){tl(bd(c,a),i,s);const W=function pj(o,t,e,r,n){const i=new Yn(o,e,O);return i.multi=[],i.index=t,i.componentProviders=0,v4(i,n,r&&!e),i}(n?uj:dj,e.length,n,r,l);!n&&z&&(e[A].providerFactory=W),qC(i,o,t.length,0),t.push(s),c.directiveStart++,c.directiveEnd++,n&&(c.providerIndexes+=1048576),e.push(W),a.push(W)}else qC(i,o,k>-1?k:A,v4(e[n?A:k],l,!n&&r));!n&&r&&z&&e[A].componentProviders++}}}function qC(o,t,e,r){const n=xd(t),i=function JH(o){return!!o.useClass}(t);if(n||i){const l=(i?Et(t.useClass):t).prototype.ngOnDestroy;if(l){const c=o.destroyHooks||(o.destroyHooks=[]);if(!n&&t.multi){const h=c.indexOf(e);-1===h?c.push(e,[r,l]):c[h+1].push(r,l)}else c.push(e,l)}}}function v4(o,t,e){return e&&o.componentProviders++,o.multi.push(t)-1}function KC(o,t,e,r){for(let n=e;n{e.providersResolver=(r,n)=>function cj(o,t,e){const r=nr();if(r.firstCreatePass){const n=Ii(o);GC(e,r.data,r.blueprint,n,!0),GC(t,r.data,r.blueprint,n,!1)}}(r,n?n(o):o,t)}}class Sd{}class y4{}class b4 extends Sd{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new LC(this);const r=Vn(t);this._bootstrapComponents=al(r.bootstrap),this._r3Injector=mS(t,e,[{provide:Sd,useValue:this},{provide:nc,useValue:this.componentFactoryResolver}],Rr(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class XC extends y4{constructor(t){super(),this.moduleType=t}create(t){return new b4(this.moduleType,t)}}class gj extends Sd{constructor(t,e,r){super(),this.componentFactoryResolver=new LC(this),this.instance=null;const n=new MF([...t,{provide:Sd,useValue:this},{provide:nc,useValue:this.componentFactoryResolver}],e||sv(),r,new Set(["environment"]));this.injector=n,n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Iv(o,t,e=null){return new gj(o,t,e).injector}let mj=(()=>{class o{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const r=CF(0,e.type),n=r.length>0?Iv([r],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,n)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return o.\u0275prov=se({token:o,providedIn:"environment",factory:()=>new o(Z(oc))}),o})();function JC(o){o.getStandaloneInjector=t=>t.get(mj).getOrCreateStandaloneInjector(o)}function rm(o,t,e){const r=_n()+o,n=Me();return n[r]===Vt?bs(n,r,e?t.call(e):t()):function Wg(o,t){return o[t]}(n,r)}function St(o,t,e,r){return E4(Me(),_n(),o,t,e,r)}function Br(o,t,e,r,n){return function T4(o,t,e,r,n,i,a){const s=t+e;return Ed(o,s,n,i)?bs(o,s+2,a?r.call(a,n,i):r(n,i)):om(o,s+2)}(Me(),_n(),o,t,e,r,n)}function om(o,t){const e=o[t];return e===Vt?void 0:e}function E4(o,t,e,r,n,i){const a=t+e;return Tn(o,a,n)?bs(o,a+1,i?r.call(i,n):r(n)):om(o,a+1)}function xr(o,t){const e=nr();let r;const n=o+22;e.firstCreatePass?(r=function Sj(o,t){if(t)for(let e=t.length-1;e>=0;e--){const r=t[e];if(o===r.name)return r}}(t,e.pipeRegistry),e.data[n]=r,r.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,r.onDestroy)):r=e.data[n];const i=r.factory||(r.factory=Js(r.type)),a=pi(O);try{const s=_p(!1),l=i();return _p(s),function Pz(o,t,e,r){e>=o.data.length&&(o.data[e]=null,o.blueprint[e]=null),t[e]=r}(e,Me(),n,l),l}finally{pi(a)}}function Dr(o,t,e){const r=o+22,n=Me(),i=Ql(n,r);return function nm(o,t){return o[1].data[t].pure}(n,r)?E4(n,_n(),t,i.transform,e,i):i.transform(e)}function tw(o){return t=>{setTimeout(o,void 0,t)}}const ee=class Rj extends Ae{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,r){let n=t,i=e||(()=>null),a=r;if(t&&"object"==typeof t){const l=t;n=l.next?.bind(l),i=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(i=tw(i),n&&(n=tw(n)),a&&(a=tw(a)));const s=super.subscribe({next:n,error:i,complete:a});return t instanceof M&&t.add(s),s}};function Lj(){return this._results[kd()]()}class Pd{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=kd(),r=Pd.prototype;r[e]||(r[e]=Lj)}get changes(){return this._changes||(this._changes=new ee)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const r=this;r.dirty=!1;const n=Ai(t);(this._changesDetected=!function Z9(o,t,e){if(o.length!==t.length)return!1;for(let r=0;r{class o{}return o.__NG_ELEMENT_ID__=Hj,o})();const Bj=fo,Nj=class extends Bj{constructor(t,e,r){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=r}createEmbeddedView(t,e){const r=this._declarationTContainer.tViews,n=fv(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,e||null);n[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(n[19]=a.createEmbeddedView(r)),kC(r,n,t),new Yg(n)}};function Hj(){return Av(Lo(),Me())}function Av(o,t){return 4&o.type?new Nj(t,o,Ep(o,t)):null}let Fn=(()=>{class o{}return o.__NG_ELEMENT_ID__=Vj,o})();function Vj(){return O4(Lo(),Me())}const $j=Fn,I4=class extends $j{constructor(t,e,r){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=r}get element(){return Ep(this._hostTNode,this._hostLView)}get injector(){return new ko(this._hostTNode,this._hostLView)}get parentInjector(){const t=Sa(this._hostTNode,this._hostLView);if(Z_(t)){const e=rc(t,this._hostLView),r=tc(t);return new ko(e[1].data[r+8],e)}return new ko(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=A4(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,r){let n,i;"number"==typeof r?n=r:null!=r&&(n=r.index,i=r.injector);const a=t.createEmbeddedView(e||{},i);return this.insert(a,n),a}createComponent(t,e,r,n,i){const a=t&&!function Pg(o){return"function"==typeof o}(t);let s;if(a)s=e;else{const _=e||{};s=_.index,r=_.injector,n=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef}const l=a?t:new jg(Er(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const C=(a?c:this.parentInjector).get(oc,null);C&&(i=C)}const h=l.create(c,n,void 0,i);return this.insert(h.hostView,s),h}insert(t,e){const r=t._lView,n=r[1];if(function Qb(o){return Pi(o[3])}(r)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const _=r[3],C=new I4(_,_[6],_[3]);C.detach(C.indexOf(t))}}const i=this._adjustIndex(e),a=this._lContainer;!function qV(o,t,e,r){const n=10+r,i=e.length;r>0&&(e[n-1][4]=t),r0)r.push(a[s/2]);else{const c=i[s+1],h=t[-l];for(let _=10;_{class o{constructor(e){this.appInits=e,this.resolve=Rv,this.reject=Rv,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,n)=>{this.resolve=r,this.reject=n})}runInitializers(){if(this.initialized)return;const e=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{i.subscribe({complete:s,error:l})});e.push(a)}}Promise.all(e).then(()=>{r()}).catch(n=>{this.reject(n)}),0===e.length&&r(),this.initialized=!0}}return o.\u0275fac=function(e){return new(e||o)(Z(Lv,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const am=new me("AppId",{providedIn:"root",factory:function nP(){return`${pw()}${pw()}${pw()}`}});function pw(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const iP=new me("Platform Initializer"),Id=new me("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),aP=new me("appBootstrapListener"),uc=new me("AnimationModuleType");let mU=(()=>{class o{log(e){console.log(e)}warn(e){console.warn(e)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"platform"}),o})();const Ms=new me("LocaleId",{providedIn:"root",factory:()=>to(Ms,xt.Optional|xt.SkipSelf)||function fU(){return typeof $localize<"u"&&$localize.locale||Wp}()}),_U=new me("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class vU{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let hw=(()=>{class o{compileModuleSync(e){return new XC(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const r=this.compileModuleSync(e),i=al(Vn(e).declarations).reduce((a,s)=>{const l=Er(s);return l&&a.push(new jg(l)),a},[]);return new vU(r,i)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const CU=(()=>Promise.resolve(0))();function gw(o){typeof Zone>"u"?CU.then(()=>{o&&o.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",o)}class ct{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ee(!1),this.onMicrotaskEmpty=new ee(!1),this.onStable=new ee(!1),this.onError=new ee(!1),typeof Zone>"u")throw new be(908,!1);Zone.assertZonePatched();const n=this;if(n._nesting=0,n._outer=n._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;n._inner=n._inner.fork(new i("Angular"))}Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=!r&&e,n.shouldCoalesceRunChangeDetection=r,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function wU(){let o=jr.requestAnimationFrame,t=jr.cancelAnimationFrame;if(typeof Zone<"u"&&o&&t){const e=o[Zone.__symbol__("OriginalDelegate")];e&&(o=e);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:o,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function MU(o){const t=()=>{!function DU(o){o.isCheckStableRunning||-1!==o.lastRequestAnimationFrameId||(o.lastRequestAnimationFrameId=o.nativeRequestAnimationFrame.call(jr,()=>{o.fakeTopEventTask||(o.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{o.lastRequestAnimationFrameId=-1,fw(o),o.isCheckStableRunning=!0,mw(o),o.isCheckStableRunning=!1},void 0,()=>{},()=>{})),o.fakeTopEventTask.invoke()}),fw(o))}(o)};o._inner=o._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,r,n,i,a,s)=>{try{return cP(o),e.invokeTask(n,i,a,s)}finally{(o.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||o.shouldCoalesceRunChangeDetection)&&t(),dP(o)}},onInvoke:(e,r,n,i,a,s,l)=>{try{return cP(o),e.invoke(n,i,a,s,l)}finally{o.shouldCoalesceRunChangeDetection&&t(),dP(o)}},onHasTask:(e,r,n,i)=>{e.hasTask(n,i),r===n&&("microTask"==i.change?(o._hasPendingMicrotasks=i.microTask,fw(o),mw(o)):"macroTask"==i.change&&(o.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,r,n,i)=>(e.handleError(n,i),o.runOutsideAngular(()=>o.onError.emit(i)),!1)})}(n)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ct.isInAngularZone())throw new be(909,!1)}static assertNotInAngularZone(){if(ct.isInAngularZone())throw new be(909,!1)}run(t,e,r){return this._inner.run(t,e,r)}runTask(t,e,r,n){const i=this._inner,a=i.scheduleEventTask("NgZoneEvent: "+n,t,xU,Rv,Rv);try{return i.runTask(a,e,r)}finally{i.cancelTask(a)}}runGuarded(t,e,r){return this._inner.runGuarded(t,e,r)}runOutsideAngular(t){return this._outer.run(t)}}const xU={};function mw(o){if(0==o._nesting&&!o.hasPendingMicrotasks&&!o.isStable)try{o._nesting++,o.onMicrotaskEmpty.emit(null)}finally{if(o._nesting--,!o.hasPendingMicrotasks)try{o.runOutsideAngular(()=>o.onStable.emit(null))}finally{o.isStable=!0}}}function fw(o){o.hasPendingMicrotasks=!!(o._hasPendingMicrotasks||(o.shouldCoalesceEventChangeDetection||o.shouldCoalesceRunChangeDetection)&&-1!==o.lastRequestAnimationFrameId)}function cP(o){o._nesting++,o.isStable&&(o.isStable=!1,o.onUnstable.emit(null))}function dP(o){o._nesting--,mw(o)}class kU{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ee,this.onMicrotaskEmpty=new ee,this.onStable=new ee,this.onError=new ee}run(t,e,r){return t.apply(e,r)}runGuarded(t,e,r){return t.apply(e,r)}runOutsideAngular(t){return t()}runTask(t,e,r,n){return t.apply(e,r)}}const uP=new me(""),Nv=new me("");let yw,_w=(()=>{class o{constructor(e,r,n){this._ngZone=e,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,yw||(function EU(o){yw=o}(n),n.addToWindow(r)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ct.assertNotInAngularZone(),gw(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())gw(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(e)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,r,n){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==i),e(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,r,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,r,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,r,n){return[]}}return o.\u0275fac=function(e){return new(e||o)(Z(ct),Z(vw),Z(Nv))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})(),vw=(()=>{class o{constructor(){this._applications=new Map}registerApplication(e,r){this._applications.set(e,r)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,r=!0){return yw?.findTestabilityInTree(this,e,r)??null}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"platform"}),o})(),pc=null;const pP=new me("AllowMultipleToken"),bw=new me("PlatformDestroyListeners");class hP{constructor(t,e){this.name=t,this.token=e}}function mP(o,t,e=[]){const r=`Platform: ${t}`,n=new me(r);return(i=[])=>{let a=Cw();if(!a||a.injector.get(pP,!1)){const s=[...e,...i,{provide:n,useValue:!0}];o?o(s):function SU(o){if(pc&&!pc.get(pP,!1))throw new be(400,!1);pc=o;const t=o.get(_P);(function gP(o){const t=o.get(iP,null);t&&t.forEach(e=>e())})(o)}(function fP(o=[],t){return Zr.create({name:t,providers:[{provide:V2,useValue:"platform"},{provide:bw,useValue:new Set([()=>pc=null])},...o]})}(s,r))}return function IU(o){const t=Cw();if(!t)throw new be(401,!1);return t}()}}function Cw(){return pc?.get(_P)??null}let _P=(()=>{class o{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,r){const n=function yP(o,t){let e;return e="noop"===o?new kU:("zone.js"===o?void 0:o)||new ct(t),e}(r?.ngZone,function vP(o){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!o||!o.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!o||!o.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:ct,useValue:n}];return n.run(()=>{const a=Zr.create({providers:i,parent:this.injector,name:e.moduleType.name}),s=e.create(a),l=s.injector.get(il,null);if(!l)throw new be(402,!1);return n.runOutsideAngular(()=>{const c=n.onError.subscribe({next:h=>{l.handleError(h)}});s.onDestroy(()=>{Hv(this._modules,s),c.unsubscribe()})}),function bP(o,t,e){try{const r=e();return Kg(r)?r.catch(n=>{throw t.runOutsideAngular(()=>o.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>o.handleError(r)),r}}(l,n,()=>{const c=s.injector.get(Bv);return c.runInitializers(),c.donePromise.then(()=>(function G5(o){Hn(o,"Expected localeId to be defined"),"string"==typeof o&&(W5=o.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Ms,Wp)||Wp),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,r=[]){const n=CP({},r);return function TU(o,t,e){const r=new XC(e);return Promise.resolve(r)}(0,0,e).then(i=>this.bootstrapModuleFactory(i,n))}_moduleDoBootstrap(e){const r=e.injector.get(hc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else{if(!e.instance.ngDoBootstrap)throw new be(403,!1);e.instance.ngDoBootstrap(r)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new be(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const e=this._injector.get(bw,null);e&&(e.forEach(r=>r()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return o.\u0275fac=function(e){return new(e||o)(Z(Zr))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"platform"}),o})();function CP(o,t){return Array.isArray(t)?t.reduce(CP,o):{...o,...t}}let hc=(()=>{class o{constructor(e,r,n){this._zone=e,this._injector=r,this._exceptionHandler=n,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new Nt(s=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{s.next(this._stable),s.complete()})}),a=new Nt(s=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{ct.assertNotInAngularZone(),gw(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,s.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{ct.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{s.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=di(i,a.pipe(tg()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,r){const n=e instanceof EF;if(!this._injector.get(Bv).done)throw!n&&function Fi(o){const t=Er(o)||an(o)||fn(o);return null!==t&&t.standalone}(e),new be(405,false);let a;a=n?e:this._injector.get(nc).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const s=function FU(o){return o.isBoundToModule}(a)?void 0:this._injector.get(Sd),c=a.create(Zr.NULL,[],r||a.selector,s),h=c.location.nativeElement,_=c.injector.get(uP,null);return _?.registerApplication(h),c.onDestroy(()=>{this.detachView(c.hostView),Hv(this.components,c),_?.unregisterApplication(h)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new be(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){const r=e;Hv(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(aP,[]).concat(this._bootstrapListeners).forEach(n=>n(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Hv(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new be(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return o.\u0275fac=function(e){return new(e||o)(Z(ct),Z(oc),Z(il))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function Hv(o,t){const e=o.indexOf(t);e>-1&&o.splice(e,1)}let xP=!0,Xr=(()=>{class o{}return o.__NG_ELEMENT_ID__=RU,o})();function RU(o){return function LU(o,t,e){if(ip(o)&&!e){const r=zn(o.index,t);return new Yg(r,r)}return 47&o.type?new Yg(t[16],t):null}(Lo(),Me(),16==(16&o))}class TP{constructor(){}supports(t){return Ug(t)}create(t){return new zU(t)}}const $U=(o,t)=>t;class zU{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||$U}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,r=this._removalsHead,n=0,i=null;for(;e||r;){const a=!r||e&&e.currentIndex{a=this._trackByFn(n,s),null!==e&&Object.is(e.trackById,a)?(r&&(e=this._verifyReinsertion(e,s,a,n)),Object.is(e.item,s)||this._addIdentityChange(e,s)):(e=this._mismatch(e,s,a,n),r=!0),e=e._next,n++}),this.length=n;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,r,n){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,n)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,n))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,n)):t=this._addAfter(new YU(e,r),i,n),t}_verifyReinsertion(t,e,r,n){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,n):t.currentIndex!=n&&(t.currentIndex=n,this._addToMoves(t,n)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const n=t._prevRemoved,i=t._nextRemoved;return null===n?this._removalsHead=i:n._nextRemoved=i,null===i?this._removalsTail=n:i._prevRemoved=n,this._insertAfter(t,e,r),this._addToMoves(t,r),t}_moveAfter(t,e,r){return this._unlink(t),this._insertAfter(t,e,r),this._addToMoves(t,r),t}_addAfter(t,e,r){return this._insertAfter(t,e,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,r){const n=null===e?this._itHead:e._next;return t._next=n,t._prev=e,null===n?this._itTail=t:n._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new FP),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,r=t._next;return null===e?this._itHead=r:e._next=r,null===r?this._itTail=e:r._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new FP),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class YU{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class jU{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===e||e<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const e=t._prevDup,r=t._nextDup;return null===e?this._head=r:e._nextDup=r,null===r?this._tail=e:r._prevDup=e,null===this._head}}class FP{constructor(){this.map=new Map}put(t){const e=t.trackById;let r=this.map.get(e);r||(r=new jU,this.map.set(e,r)),r.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function SP(o,t,e){const r=o.previousIndex;if(null===r)return r;let n=0;return e&&r{if(e&&e.key===n)this._maybeAddToChanges(e,r),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,r);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let r=e;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const r=t._prev;return e._next=t,e._prev=r,t._prev=e,r&&(r._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,a=n._next;return i&&(i._next=a),a&&(a._prev=i),n._next=null,n._prev=null,n}const r=new WU(t);return this._records.set(t,r),r.currentValue=e,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(r=>e(t[r],r))}}class WU{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function IP(){return new zv([new TP])}let zv=(()=>{class o{constructor(e){this.factories=e}static create(e,r){if(null!=r){const n=r.factories.slice();e=e.concat(n)}return new o(e)}static extend(e){return{provide:o,useFactory:r=>o.create(e,r||IP()),deps:[[o,new ol,new Ia]]}}find(e){const r=this.factories.find(n=>n.supports(e));if(null!=r)return r;throw new be(901,!1)}}return o.\u0275prov=se({token:o,providedIn:"root",factory:IP}),o})();function AP(){return new sm([new PP])}let sm=(()=>{class o{constructor(e){this.factories=e}static create(e,r){if(r){const n=r.factories.slice();e=e.concat(n)}return new o(e)}static extend(e){return{provide:o,useFactory:r=>o.create(e,r||AP()),deps:[[o,new ol,new Ia]]}}find(e){const r=this.factories.find(n=>n.supports(e));if(r)return r;throw new be(901,!1)}}return o.\u0275prov=se({token:o,providedIn:"root",factory:AP}),o})();const KU=mP(null,"core",[]);let ZU=(()=>{class o{constructor(e){}}return o.\u0275fac=function(e){return new(e||o)(Z(hc))},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({}),o})();function ul(o){return"boolean"==typeof o?o:null!=o&&"false"!==o}function kw(o,t){const e=Er(o),r=t.elementInjector||sv();return new jg(e).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}let Yv=null;function ks(){return Yv}const bt=new me("DocumentToken");let Ew=(()=>{class o{historyGo(e){throw new Error("Not implemented")}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:function(){return function eW(){return Z(OP)}()},providedIn:"platform"}),o})();const tW=new me("Location Initialized");let OP=(()=>{class o extends Ew{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ks().getBaseHref(this._doc)}onPopState(e){const r=ks().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){const r=ks().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,r,n){RP()?this._history.pushState(e,r,n):this.location.hash=n}replaceState(e,r,n){RP()?this._history.replaceState(e,r,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return o.\u0275fac=function(e){return new(e||o)(Z(bt))},o.\u0275prov=se({token:o,factory:function(){return function rW(){return new OP(Z(bt))}()},providedIn:"platform"}),o})();function RP(){return!!window.history.pushState}function Tw(o,t){if(0==o.length)return t;if(0==t.length)return o;let e=0;return o.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?o+t.substring(1):1==e?o+t:o+"/"+t}function LP(o){const t=o.match(/#|\?|$/),e=t&&t.index||o.length;return o.slice(0,e-("/"===o[e-1]?1:0))+o.slice(e)}function pl(o){return o&&"?"!==o[0]?"?"+o:o}let Od=(()=>{class o{historyGo(e){throw new Error("Not implemented")}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:function(){return to(NP)},providedIn:"root"}),o})();const BP=new me("appBaseHref");let NP=(()=>{class o extends Od{constructor(e,r){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??to(bt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Tw(this._baseHref,e)}path(e=!1){const r=this._platformLocation.pathname+pl(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${r}${n}`:r}pushState(e,r,n,i){const a=this.prepareExternalUrl(n+pl(i));this._platformLocation.pushState(e,r,a)}replaceState(e,r,n,i){const a=this.prepareExternalUrl(n+pl(i));this._platformLocation.replaceState(e,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ew),Z(BP,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),oW=(()=>{class o extends Od{constructor(e,r){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(e){const r=Tw(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,n,i){let a=this.prepareExternalUrl(n+pl(i));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,r,a)}replaceState(e,r,n,i){let a=this.prepareExternalUrl(n+pl(i));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ew),Z(BP,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})(),hl=(()=>{class o{constructor(e){this._subject=new ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const r=this._locationStrategy.getBaseHref();this._baseHref=LP(HP(r)),this._locationStrategy.onPopState(n=>{this._subject.emit({url:this.path(!0),pop:!0,state:n.state,type:n.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+pl(r))}normalize(e){return o.stripTrailingSlash(function iW(o,t){return o&&t.startsWith(o)?t.substring(o.length):t}(this._baseHref,HP(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",n=null){this._locationStrategy.pushState(n,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+pl(r)),n)}replaceState(e,r="",n=null){this._locationStrategy.replaceState(n,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+pl(r)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(n=>n(e,r))}subscribe(e,r,n){return this._subject.subscribe({next:e,error:r,complete:n})}}return o.normalizeQueryParams=pl,o.joinWithSlash=Tw,o.stripTrailingSlash=LP,o.\u0275fac=function(e){return new(e||o)(Z(Od))},o.\u0275prov=se({token:o,factory:function(){return function nW(){return new hl(Z(Od))}()},providedIn:"root"}),o})();function HP(o){return o.replace(/\/index.html$/,"")}const VP={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var vi=(()=>((vi=vi||{})[vi.Decimal=0]="Decimal",vi[vi.Percent=1]="Percent",vi[vi.Currency=2]="Currency",vi[vi.Scientific=3]="Scientific",vi))(),kt=(()=>((kt=kt||{})[kt.Decimal=0]="Decimal",kt[kt.Group=1]="Group",kt[kt.List=2]="List",kt[kt.PercentSign=3]="PercentSign",kt[kt.PlusSign=4]="PlusSign",kt[kt.MinusSign=5]="MinusSign",kt[kt.Exponential=6]="Exponential",kt[kt.SuperscriptingExponent=7]="SuperscriptingExponent",kt[kt.PerMille=8]="PerMille",kt[kt.Infinity=9]="Infinity",kt[kt.NaN=10]="NaN",kt[kt.TimeSeparator=11]="TimeSeparator",kt[kt.CurrencyDecimal=12]="CurrencyDecimal",kt[kt.CurrencyGroup=13]="CurrencyGroup",kt))();function aa(o,t){const e=Gn(o),r=e[Ze.NumberSymbols][t];if(typeof r>"u"){if(t===kt.CurrencyDecimal)return e[Ze.NumberSymbols][kt.Decimal];if(t===kt.CurrencyGroup)return e[Ze.NumberSymbols][kt.Group]}return r}const PW=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function RW(o,t,e,r,n){const a=function Rw(o,t="-"){const e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=o.split(";"),n=r[0],i=r[1],a=-1!==n.indexOf(".")?n.split("."):[n.substring(0,n.lastIndexOf("0")+1),n.substring(n.lastIndexOf("0")+1)],s=a[0],l=a[1]||"";e.posPre=s.substring(0,s.indexOf("#"));for(let h=0;h-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length),i=0;"0"===t.charAt(i);i++);if(i===(s=t.length))r=[0],n=1;else{for(s--;"0"===t.charAt(s);)s--;for(n-=i,r=[],a=0;i<=s;i++,a++)r[a]=Number(t.charAt(i))}return n>22&&(r=r.splice(0,21),e=n-1,n=1),{digits:r,exponent:e,integerLen:n}}(o);a&&(c=function NW(o){if(0===o.digits[0])return o;const t=o.digits.length-o.integerLen;return o.exponent?o.exponent+=2:(0===t?o.digits.push(0,0):1===t&&o.digits.push(0),o.integerLen+=2),o}(c));let h=t.minInt,_=t.minFrac,C=t.maxFrac;if(i){const q=i.match(PW);if(null===q)throw new Error(`${i} is not a valid digit info`);const G=q[1],X=q[3],oe=q[5];null!=G&&(h=Lw(G)),null!=X&&(_=Lw(X)),null!=oe?C=Lw(oe):null!=X&&_>C&&(C=_)}!function VW(o,t,e){if(t>e)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${e}).`);let r=o.digits,n=r.length-o.integerLen;const i=Math.min(Math.max(t,n),e);let a=i+o.integerLen,s=r[a];if(a>0){r.splice(Math.max(o.integerLen,a));for(let _=a;_=5)if(a-1<0){for(let _=0;_>a;_--)r.unshift(0),o.integerLen++;r.unshift(1),o.integerLen++}else r[a-1]++;for(;n=c?A.pop():l=!1),C>=10?1:0},0);h&&(r.unshift(h),o.integerLen++)}(c,_,C);let k=c.digits,A=c.integerLen;const B=c.exponent;let z=[];for(l=k.every(q=>!q);A0?z=k.splice(A,k.length):(z=k,k=[0]);const W=[];for(k.length>=t.lgSize&&W.unshift(k.splice(-t.lgSize,k.length).join(""));k.length>t.gSize;)W.unshift(k.splice(-t.gSize,k.length).join(""));k.length&&W.unshift(k.join("")),s=W.join(aa(e,r)),z.length&&(s+=aa(e,n)+z.join("")),B&&(s+=aa(e,kt.Exponential)+"+"+B)}else s=aa(e,kt.Infinity);return s=o<0&&!l?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf,s}(o,a,t,kt.CurrencyGroup,kt.CurrencyDecimal,n).replace("\xa4",e).replace("\xa4","").trim()}function Lw(o){const t=parseInt(o);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+o);return t}function qP(o,t){t=encodeURIComponent(t);for(const e of o.split(";")){const r=e.indexOf("="),[n,i]=-1==r?[e,""]:[e.slice(0,r),e.slice(r+1)];if(n.trim()===t)return decodeURIComponent(i)}return null}let Fo=(()=>{class o{constructor(e,r,n,i){this._iterableDiffers=e,this._keyValueDiffers=r,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Ug(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),e.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),e.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Rr(r.item)}`);this._toggleClass(r.item,!0)}),e.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(r=>this._toggleClass(r,!0)):Object.keys(e).forEach(r=>this._toggleClass(r,!!e[r])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(r=>this._toggleClass(r,!1)):Object.keys(e).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(e,r){(e=e.trim())&&e.split(/\s+/g).forEach(n=>{r?this._renderer.addClass(this._ngEl.nativeElement,n):this._renderer.removeClass(this._ngEl.nativeElement,n)})}}return o.\u0275fac=function(e){return new(e||o)(O(zv),O(sm),O(dt),O(Li))},o.\u0275dir=Se({type:o,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),o})();class YW{constructor(t,e,r,n){this.$implicit=t,this.ngForOf=e,this.index=r,this.count=n}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let gt=(()=>{class o{constructor(e,r,n){this._viewContainer=e,this._template=r,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const r=this._viewContainer;e.forEachOperation((n,i,a)=>{if(null==n.previousIndex)r.createEmbeddedView(this._template,new YW(n.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)r.remove(null===i?void 0:i);else if(null!==i){const s=r.get(i);r.move(s,a),XP(s,n)}});for(let n=0,i=r.length;n{XP(r.get(n.currentIndex),n)})}static ngTemplateContextGuard(e,r){return!0}}return o.\u0275fac=function(e){return new(e||o)(O(Fn),O(fo),O(zv))},o.\u0275dir=Se({type:o,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),o})();function XP(o,t){o.context.$implicit=t.item}let ve=(()=>{class o{constructor(e,r){this._viewContainer=e,this._context=new UW,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){JP("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){JP("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,r){return!0}}return o.\u0275fac=function(e){return new(e||o)(O(Fn),O(fo))},o.\u0275dir=Se({type:o,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),o})();class UW{constructor(){this.$implicit=null,this.ngIf=null}}function JP(o,t){if(t&&!t.createEmbeddedView)throw new Error(`${o} must be a TemplateRef, but received '${Rr(t)}'.`)}class Nw{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let gc=(()=>{class o{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const r=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let r=0;r{class o{constructor(e,r,n){this.ngSwitch=n,n._addCase(),this._view=new Nw(e,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return o.\u0275fac=function(e){return new(e||o)(O(Fn),O(fo),O(gc,9))},o.\u0275dir=Se({type:o,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),o})(),Hw=(()=>{class o{constructor(e,r,n){n._addDefault(new Nw(e,r))}}return o.\u0275fac=function(e){return new(e||o)(O(Fn),O(fo),O(gc,9))},o.\u0275dir=Se({type:o,selectors:[["","ngSwitchDefault",""]],standalone:!0}),o})(),ml=(()=>{class o{constructor(e,r,n){this._ngEl=e,this._differs=r,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){const[n,i]=e.split("."),a=-1===n.indexOf("-")?void 0:fi.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,n,i?`${r}${i}`:r,a):this._renderer.removeStyle(this._ngEl.nativeElement,n,a)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(sm),O(Li))},o.\u0275dir=Se({type:o,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),o})(),Rd=(()=>{class o{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:n,ngTemplateOutletContext:i,ngTemplateOutletInjector:a}=this;this._viewRef=r.createEmbeddedView(n,i,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return o.\u0275fac=function(e){return new(e||o)(O(Fn))},o.\u0275dir=Se({type:o,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Lr]}),o})();function Ha(o,t){return new be(2100,!1)}class GW{createSubscription(t,e){return t.subscribe({next:e,error:r=>{throw r}})}dispose(t){t.unsubscribe()}}class qW{createSubscription(t,e){return t.then(e,r=>{throw r})}dispose(t){}}const KW=new qW,ZW=new GW;let Vw=(()=>{class o{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r))}_selectStrategy(e){if(Kg(e))return KW;if(s5(e))return ZW;throw Ha()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this._ref.markForCheck())}}return o.\u0275fac=function(e){return new(e||o)(O(Xr,16))},o.\u0275pipe=ur({name:"async",type:o,pure:!1,standalone:!0}),o})(),$w=(()=>{class o{transform(e){return JSON.stringify(e,null,2)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=ur({name:"json",type:o,pure:!1,standalone:!0}),o})(),tI=(()=>{class o{constructor(e,r="USD"){this._locale=e,this._defaultCurrencyCode=r}transform(e,r=this._defaultCurrencyCode,n="symbol",i,a){if(!function zw(o){return!(null==o||""===o||o!=o)}(e))return null;a=a||this._locale,"boolean"==typeof n&&(n=n?"symbol":"code");let s=r||this._defaultCurrencyCode;"code"!==n&&(s="symbol"===n||"symbol-narrow"===n?function mW(o,t,e="en"){const r=function uW(o){return Gn(o)[Ze.Currencies]}(e)[o]||VP[o]||[],n=r[1];return"narrow"===t&&"string"==typeof n?n:r[0]||o}(s,"symbol"===n?"wide":"narrow",a):n);try{return RW(function Yw(o){if("string"==typeof o&&!isNaN(Number(o)-parseFloat(o)))return Number(o);if("number"!=typeof o)throw new Error(`${o} is not a number`);return o}(e),a,s,r,i)}catch(l){throw Ha()}}}return o.\u0275fac=function(e){return new(e||o)(O(Ms,16),O(_U,16))},o.\u0275pipe=ur({name:"currency",type:o,pure:!0,standalone:!0}),o})();let Nr=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({}),o})();const rI="browser";function Qv(o){return o===rI}let gG=(()=>{class o{}return o.\u0275prov=se({token:o,providedIn:"root",factory:()=>new mG(Z(bt),window)}),o})();class mG{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function fG(o,t){const e=o.getElementById(t)||o.getElementsByName(t)[0];if(e)return e;if("function"==typeof o.createTreeWalker&&o.body&&(o.body.createShadowRoot||o.body.attachShadow)){const r=o.createTreeWalker(o.body,NodeFilter.SHOW_ELEMENT);let n=r.currentNode;for(;n;){const i=n.shadowRoot;if(i){const a=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(a)return a}n=r.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),r=e.left+this.window.pageXOffset,n=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],n-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=oI(this.window.history)||oI(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function oI(o){return Object.getOwnPropertyDescriptor(o,"scrollRestoration")}class nI{}class Ww extends class OG extends class QU{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function JU(o){Yv||(Yv=o)}(new Ww)}onAndCancel(t,e,r){return t.addEventListener(e,r,!1),()=>{t.removeEventListener(e,r,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function RG(){return um=um||document.querySelector("base"),um?um.getAttribute("href"):null}();return null==e?null:function LG(o){ty=ty||document.createElement("a"),ty.setAttribute("href",o);const t=ty.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){um=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return qP(document.cookie,t)}}let ty,um=null;const lI=new me("TRANSITION_ID"),NG=[{provide:Lv,useFactory:function BG(o,t,e){return()=>{e.get(Bv).donePromise.then(()=>{const r=ks(),n=t.querySelectorAll(`style[ng-transition="${o}"]`);for(let i=0;i{class o{build(){return new XMLHttpRequest}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();const ry=new me("EventManagerPlugins");let oy=(()=>{class o{constructor(e,r){this._zone=r,this._eventNameToPlugin=new Map,e.forEach(n=>n.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,r,n){return this._findPluginFor(r).addEventListener(e,r,n)}addGlobalEventListener(e,r,n){return this._findPluginFor(r).addGlobalEventListener(e,r,n)}getZone(){return this._zone}_findPluginFor(e){const r=this._eventNameToPlugin.get(e);if(r)return r;const n=this._plugins;for(let i=0;i{class o{constructor(){this._stylesSet=new Set}addStyles(e){const r=new Set;e.forEach(n=>{this._stylesSet.has(n)||(this._stylesSet.add(n),r.add(n))}),this.onStylesAdded(r)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})(),pm=(()=>{class o extends dI{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,r,n){e.forEach(i=>{const a=this._doc.createElement("style");a.textContent=i,n.push(r.appendChild(a))})}addHost(e){const r=[];this._addStylesToHost(this._stylesSet,e,r),this._hostNodes.set(e,r)}removeHost(e){const r=this._hostNodes.get(e);r&&r.forEach(uI),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((r,n)=>{this._addStylesToHost(e,n,r)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(uI))}}return o.\u0275fac=function(e){return new(e||o)(Z(bt))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();function uI(o){ks().remove(o)}const Gw={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qw=/%COMP%/g;function ny(o,t,e){for(let r=0;r{if("__ngUnwrap__"===t)return o;!1===o(t)&&(t.preventDefault(),t.returnValue=!1)}}let iy=(()=>{class o{constructor(e,r,n){this.eventManager=e,this.sharedStylesHost=r,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Kw(e)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;switch(r.encapsulation){case Ti.Emulated:{let n=this.rendererByCompId.get(r.id);return n||(n=new WG(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,n)),n.applyToHost(e),n}case 1:case Ti.ShadowDom:return new GG(this.eventManager,this.sharedStylesHost,e,r);default:if(!this.rendererByCompId.has(r.id)){const n=ny(r.id,r.styles,[]);this.sharedStylesHost.addStyles(n),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return o.\u0275fac=function(e){return new(e||o)(Z(oy),Z(pm),Z(am))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();class Kw{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(Gw[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(fI(t)?t.content:t).appendChild(e)}insertBefore(t,e,r){t&&(fI(t)?t.content:t).insertBefore(e,r)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,r,n){if(n){e=n+":"+e;const i=Gw[n];i?t.setAttributeNS(i,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)}removeAttribute(t,e,r){if(r){const n=Gw[r];n?t.removeAttributeNS(n,e):t.removeAttribute(`${r}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,r,n){n&(fi.DashCase|fi.Important)?t.style.setProperty(e,r,n&fi.Important?"important":""):t.style[e]=r}removeStyle(t,e,r){r&fi.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,r){t[e]=r}setValue(t,e){t.nodeValue=e}listen(t,e,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,gI(r)):this.eventManager.addEventListener(t,e,gI(r))}}function fI(o){return"TEMPLATE"===o.tagName&&void 0!==o.content}class WG extends Kw{constructor(t,e,r,n){super(t),this.component=r;const i=ny(n+"-"+r.id,r.styles,[]);e.addStyles(i),this.contentAttr=function YG(o){return"_ngcontent-%COMP%".replace(qw,o)}(n+"-"+r.id),this.hostAttr=function jG(o){return"_nghost-%COMP%".replace(qw,o)}(n+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const r=super.createElement(t,e);return super.setAttribute(r,this.contentAttr,""),r}}class GG extends Kw{constructor(t,e,r,n){super(t),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=ny(n.id,n.styles,[]);for(let a=0;a{class o extends cI{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,n){return e.addEventListener(r,n,!1),()=>this.removeEventListener(e,r,n)}removeEventListener(e,r,n){return e.removeEventListener(r,n)}}return o.\u0275fac=function(e){return new(e||o)(Z(bt))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();const _I=["alt","control","meta","shift"],KG={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ZG={alt:o=>o.altKey,control:o=>o.ctrlKey,meta:o=>o.metaKey,shift:o=>o.shiftKey};let XG=(()=>{class o extends cI{constructor(e){super(e)}supports(e){return null!=o.parseEventName(e)}addEventListener(e,r,n){const i=o.parseEventName(r),a=o.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ks().onAndCancel(e,i.domEventName,a))}static parseEventName(e){const r=e.toLowerCase().split("."),n=r.shift();if(0===r.length||"keydown"!==n&&"keyup"!==n)return null;const i=o._normalizeKey(r.pop());let a="",s=r.indexOf("code");if(s>-1&&(r.splice(s,1),a="code."),_I.forEach(c=>{const h=r.indexOf(c);h>-1&&(r.splice(h,1),a+=c+".")}),a+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=n,l.fullKey=a,l}static matchEventFullKeyCode(e,r){let n=KG[e.key]||e.key,i="";return r.indexOf("code.")>-1&&(n=e.code,i="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),_I.forEach(a=>{a!==n&&(0,ZG[a])(e)&&(i+=a+".")}),i+=n,i===r)}static eventCallback(e,r,n){return i=>{o.matchEventFullKeyCode(i,e)&&n.runGuarded(()=>r(i))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return o.\u0275fac=function(e){return new(e||o)(Z(bt))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();const tq=mP(KU,"browser",[{provide:Id,useValue:rI},{provide:iP,useValue:function JG(){Ww.makeCurrent()},multi:!0},{provide:bt,useFactory:function eq(){return function CH(o){S2=o}(document),document},deps:[]}]),bI=new me(""),CI=[{provide:Nv,useClass:class HG{addToWindow(t){jr.getAngularTestability=(r,n=!0)=>{const i=t.findTestabilityInTree(r,n);if(null==i)throw new Error("Could not find testability for element.");return i},jr.getAllAngularTestabilities=()=>t.getAllTestabilities(),jr.getAllAngularRootElements=()=>t.getAllRootElements(),jr.frameworkStabilizers||(jr.frameworkStabilizers=[]),jr.frameworkStabilizers.push(r=>{const n=jr.getAllAngularTestabilities();let i=n.length,a=!1;const s=function(l){a=a||l,i--,0==i&&r(a)};n.forEach(function(l){l.whenStable(s)})})}findTestabilityInTree(t,e,r){return null==e?null:t.getTestability(e)??(r?ks().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:uP,useClass:_w,deps:[ct,vw,Nv]},{provide:_w,useClass:_w,deps:[ct,vw,Nv]}],wI=[{provide:V2,useValue:"root"},{provide:il,useFactory:function QG(){return new il},deps:[]},{provide:ry,useClass:qG,multi:!0,deps:[bt,ct,Id]},{provide:ry,useClass:XG,multi:!0,deps:[bt]},{provide:iy,useClass:iy,deps:[oy,pm,am]},{provide:Tp,useExisting:iy},{provide:dI,useExisting:pm},{provide:pm,useClass:pm,deps:[bt]},{provide:oy,useClass:oy,deps:[ry,ct]},{provide:nI,useClass:VG,deps:[]},[]];let Xw=(()=>{class o{constructor(e){}static withServerTransition(e){return{ngModule:o,providers:[{provide:am,useValue:e.appId},{provide:lI,useExisting:am},NG]}}}return o.\u0275fac=function(e){return new(e||o)(Z(bI,12))},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[...wI,...CI],imports:[Nr,ZU]}),o})(),xI=(()=>{class o{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return o.\u0275fac=function(e){return new(e||o)(Z(bt))},o.\u0275prov=se({token:o,factory:function(e){let r=null;return r=e?new e:function oq(){return new xI(Z(bt))}(),r},providedIn:"root"}),o})();typeof window<"u"&&window;let fc=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:function(e){let r=null;return r=e?new(e||o):Z(kI),r},providedIn:"root"}),o})(),kI=(()=>{class o extends fc{constructor(e){super(),this._doc=e}sanitize(e,r){if(null==r)return null;switch(e){case Pr.NONE:return r;case Pr.HTML:return vs(r,"HTML")?Ri(r):_F(this._doc,String(r)).toString();case Pr.STYLE:return vs(r,"Style")?Ri(r):r;case Pr.SCRIPT:if(vs(r,"Script"))return Ri(r);throw new Error("unsafe value used in a script context");case Pr.URL:return vs(r,"URL")?Ri(r):nv(String(r));case Pr.RESOURCE_URL:if(vs(r,"ResourceURL"))return Ri(r);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function SH(o){return new DH(o)}(e)}bypassSecurityTrustStyle(e){return function PH(o){return new MH(o)}(e)}bypassSecurityTrustScript(e){return function IH(o){return new kH(o)}(e)}bypassSecurityTrustUrl(e){return function AH(o){return new EH(o)}(e)}bypassSecurityTrustResourceUrl(e){return function OH(o){return new TH(o)}(e)}}return o.\u0275fac=function(e){return new(e||o)(Z(bt))},o.\u0275prov=se({token:o,factory:function(e){let r=null;return r=e?new e:function dq(o){return new kI(o.get(bt))}(Z(Zr)),r},providedIn:"root"}),o})();function Xe(...o){return Co(o,gn(o))}function _c(o,t){return I(t)?yo(o,t,1):yo(o,1)}function Gr(o,t){return zr((e,r)=>{let n=0;e.subscribe(cr(r,i=>o.call(t,i,n++)&&r.next(i)))})}class EI{}class Qw{}class Va{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const r=e.indexOf(":");if(r>0){const n=e.slice(0,r),i=n.toLowerCase(),a=e.slice(r+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(a):this.headers.set(i,[a])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let r=t[e];const n=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(n,r),this.maybeSetNormalizedName(e,n))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Va?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Va;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Va?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,e);const n=("a"===t.op?this.headers.get(e):void 0)||[];n.push(...r),this.headers.set(e,n);break;case"d":const i=t.value;if(i){let a=this.headers.get(e);if(!a)return;a=a.filter(s=>-1===i.indexOf(s)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class uq{encodeKey(t){return TI(t)}encodeValue(t){return TI(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const hq=/%(\d[a-f0-9])/gi,gq={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function TI(o){return encodeURIComponent(o).replace(hq,(t,e)=>gq[e]??t)}function ay(o){return`${o}`}class vc{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new uq,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function pq(o,t){const e=new Map;return o.length>0&&o.replace(/^\?/,"").split("&").forEach(n=>{const i=n.indexOf("="),[a,s]=-1==i?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,i)),t.decodeValue(n.slice(i+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const r=t.fromObject[e],n=Array.isArray(r)?r.map(ay):[ay(r)];this.map.set(e,n)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(r=>{const n=t[r];Array.isArray(n)?n.forEach(i=>{e.push({param:r,value:i,op:"a"})}):e.push({param:r,value:n,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new vc({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(ay(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const n=r.indexOf(ay(t.value));-1!==n&&r.splice(n,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class mq{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function FI(o){return typeof ArrayBuffer<"u"&&o instanceof ArrayBuffer}function SI(o){return typeof Blob<"u"&&o instanceof Blob}function PI(o){return typeof FormData<"u"&&o instanceof FormData}class hm{constructor(t,e,r,n){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function fq(o){switch(o){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==r?r:null,i=n):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Va),this.context||(this.context=new mq),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s_.set(C,t.setHeaders[C]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((_,C)=>_.set(C,t.setParams[C]),c)),new hm(e,r,i,{params:c,headers:l,context:h,reportProgress:s,responseType:n,withCredentials:a})}}var zo=(()=>((zo=zo||{})[zo.Sent=0]="Sent",zo[zo.UploadProgress=1]="UploadProgress",zo[zo.ResponseHeader=2]="ResponseHeader",zo[zo.DownloadProgress=3]="DownloadProgress",zo[zo.Response=4]="Response",zo[zo.User=5]="User",zo))();class ex{constructor(t,e=200,r="OK"){this.headers=t.headers||new Va,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class tx extends ex{constructor(t={}){super(t),this.type=zo.ResponseHeader}clone(t={}){return new tx({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class gm extends ex{constructor(t={}){super(t),this.type=zo.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new gm({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class rx extends ex{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function ox(o,t){return{body:t,headers:o.headers,context:o.context,observe:o.observe,params:o.params,reportProgress:o.reportProgress,responseType:o.responseType,withCredentials:o.withCredentials}}let Es=(()=>{class o{constructor(e){this.handler=e}request(e,r,n={}){let i;if(e instanceof hm)i=e;else{let l,c;l=n.headers instanceof Va?n.headers:new Va(n.headers),n.params&&(c=n.params instanceof vc?n.params:new vc({fromObject:n.params})),i=new hm(e,r,void 0!==n.body?n.body:null,{headers:l,context:n.context,params:c,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const a=Xe(i).pipe(_c(l=>this.handler.handle(l)));if(e instanceof hm||"events"===n.observe)return a;const s=a.pipe(Gr(l=>l instanceof gm));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return s.pipe(Je(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return s.pipe(Je(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return s.pipe(Je(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return s.pipe(Je(l=>l.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:(new vc).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,n={}){return this.request("PATCH",e,ox(n,r))}post(e,r,n={}){return this.request("POST",e,ox(n,r))}put(e,r,n={}){return this.request("PUT",e,ox(n,r))}}return o.\u0275fac=function(e){return new(e||o)(Z(EI))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();class II{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const nx=new me("HTTP_INTERCEPTORS");let vq=(()=>{class o{intercept(e,r){return r.handle(e)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();const yq=/^\)\]\}',?\n/;let AI=(()=>{class o{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Nt(r=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((k,A)=>n.setRequestHeader(k,A.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const k=e.detectContentTypeHeader();null!==k&&n.setRequestHeader("Content-Type",k)}if(e.responseType){const k=e.responseType.toLowerCase();n.responseType="json"!==k?k:"text"}const i=e.serializeBody();let a=null;const s=()=>{if(null!==a)return a;const k=n.statusText||"OK",A=new Va(n.getAllResponseHeaders()),B=function bq(o){return"responseURL"in o&&o.responseURL?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):null}(n)||e.url;return a=new tx({headers:A,status:n.status,statusText:k,url:B}),a},l=()=>{let{headers:k,status:A,statusText:B,url:z}=s(),W=null;204!==A&&(W=typeof n.response>"u"?n.responseText:n.response),0===A&&(A=W?200:0);let q=A>=200&&A<300;if("json"===e.responseType&&"string"==typeof W){const G=W;W=W.replace(yq,"");try{W=""!==W?JSON.parse(W):null}catch(X){W=G,q&&(q=!1,W={error:X,text:W})}}q?(r.next(new gm({body:W,headers:k,status:A,statusText:B,url:z||void 0})),r.complete()):r.error(new rx({error:W,headers:k,status:A,statusText:B,url:z||void 0}))},c=k=>{const{url:A}=s(),B=new rx({error:k,status:n.status||0,statusText:n.statusText||"Unknown Error",url:A||void 0});r.error(B)};let h=!1;const _=k=>{h||(r.next(s()),h=!0);let A={type:zo.DownloadProgress,loaded:k.loaded};k.lengthComputable&&(A.total=k.total),"text"===e.responseType&&!!n.responseText&&(A.partialText=n.responseText),r.next(A)},C=k=>{let A={type:zo.UploadProgress,loaded:k.loaded};k.lengthComputable&&(A.total=k.total),r.next(A)};return n.addEventListener("load",l),n.addEventListener("error",c),n.addEventListener("timeout",c),n.addEventListener("abort",c),e.reportProgress&&(n.addEventListener("progress",_),null!==i&&n.upload&&n.upload.addEventListener("progress",C)),n.send(i),r.next({type:zo.Sent}),()=>{n.removeEventListener("error",c),n.removeEventListener("abort",c),n.removeEventListener("load",l),n.removeEventListener("timeout",c),e.reportProgress&&(n.removeEventListener("progress",_),null!==i&&n.upload&&n.upload.removeEventListener("progress",C)),n.readyState!==n.DONE&&n.abort()}})}}return o.\u0275fac=function(e){return new(e||o)(Z(nI))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();const ix=new me("XSRF_COOKIE_NAME"),ax=new me("XSRF_HEADER_NAME");class OI{}let Cq=(()=>{class o{constructor(e,r,n){this.doc=e,this.platform=r,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=qP(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return o.\u0275fac=function(e){return new(e||o)(Z(bt),Z(Id),Z(ix))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})(),sx=(()=>{class o{constructor(e,r){this.tokenService=e,this.headerName=r}intercept(e,r){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return r.handle(e);const i=this.tokenService.getToken();return null!==i&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,i)})),r.handle(e)}}return o.\u0275fac=function(e){return new(e||o)(Z(OI),Z(ax))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})(),wq=(()=>{class o{constructor(e,r){this.backend=e,this.injector=r,this.chain=null}handle(e){if(null===this.chain){const r=this.injector.get(nx,[]);this.chain=r.reduceRight((n,i)=>new II(n,i),this.backend)}return this.chain.handle(e)}}return o.\u0275fac=function(e){return new(e||o)(Z(Qw),Z(Zr))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})(),xq=(()=>{class o{static disable(){return{ngModule:o,providers:[{provide:sx,useClass:vq}]}}static withOptions(e={}){return{ngModule:o,providers:[e.cookieName?{provide:ix,useValue:e.cookieName}:[],e.headerName?{provide:ax,useValue:e.headerName}:[]]}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[sx,{provide:nx,useExisting:sx,multi:!0},{provide:OI,useClass:Cq},{provide:ix,useValue:"XSRF-TOKEN"},{provide:ax,useValue:"X-XSRF-TOKEN"}]}),o})(),RI=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[Es,{provide:EI,useClass:wq},AI,{provide:Qw,useExisting:AI}],imports:[xq.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),o})();const{isArray:Dq}=Array,{getPrototypeOf:Mq,prototype:kq,keys:Eq}=Object;function LI(o){if(1===o.length){const t=o[0];if(Dq(t))return{args:t,keys:null};if(function Tq(o){return o&&"object"==typeof o&&Mq(o)===kq}(t)){const e=Eq(t);return{args:e.map(r=>t[r]),keys:e}}}return{args:o,keys:null}}const{isArray:Fq}=Array;function lx(o){return Je(t=>function Sq(o,t){return Fq(t)?o(...t):o(t)}(o,t))}function BI(o,t){return o.reduce((e,r,n)=>(e[r]=t[n],e),{})}function NI(...o){const t=ho(o),{args:e,keys:r}=LI(o),n=new Nt(i=>{const{length:a}=e;if(!a)return void i.complete();const s=new Array(a);let l=a,c=a;for(let h=0;h{_||(_=!0,c--),s[h]=C},()=>l--,void 0,()=>{(!l||!_)&&(c||i.next(r?BI(r,s):s),i.complete())}))}});return t?n.pipe(lx(t)):n}let HI=(()=>{class o{constructor(e,r){this._renderer=e,this._elementRef=r,this.onChange=n=>{},this.onTouched=()=>{}}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return o.\u0275fac=function(e){return new(e||o)(O(Li),O(dt))},o.\u0275dir=Se({type:o}),o})(),Ld=(()=>{class o extends HI{}return o.\u0275fac=function(){let t;return function(r){return(t||(t=Ur(o)))(r||o)}}(),o.\u0275dir=Se({type:o,features:[Te]}),o})();const yi=new me("NgValueAccessor"),Pq={provide:yi,useExisting:Gt(()=>fl),multi:!0};let fl=(()=>{class o extends Ld{writeValue(e){this.setProperty("checked",e)}}return o.\u0275fac=function(){let t;return function(r){return(t||(t=Ur(o)))(r||o)}}(),o.\u0275dir=Se({type:o,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,r){1&e&&T("change",function(i){return r.onChange(i.target.checked)})("blur",function(){return r.onTouched()})},features:[qt([Pq]),Te]}),o})();const Iq={provide:yi,useExisting:Gt(()=>Ht),multi:!0},Oq=new me("CompositionEventMode");let Ht=(()=>{class o extends HI{constructor(e,r,n){super(e,r),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Aq(){const o=ks()?ks().getUserAgent():"";return/android (\d+)/.test(o.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return o.\u0275fac=function(e){return new(e||o)(O(Li),O(dt),O(Oq,8))},o.\u0275dir=Se({type:o,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,r){1&e&&T("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[qt([Iq]),Te]}),o})();function yc(o){return null==o||("string"==typeof o||Array.isArray(o))&&0===o.length}function VI(o){return null!=o&&"number"==typeof o.length}const cn=new me("NgValidators"),bc=new me("NgAsyncValidators"),Lq=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class gr{static min(t){return function $I(o){return t=>{if(yc(t.value)||yc(o))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(yc(t.value)||yc(o))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>o?{max:{max:o,actual:t.value}}:null}}(t)}static required(t){return YI(t)}static requiredTrue(t){return function jI(o){return!0===o.value?null:{required:!0}}(t)}static email(t){return function UI(o){return yc(o.value)||Lq.test(o.value)?null:{email:!0}}(t)}static minLength(t){return function WI(o){return t=>yc(t.value)||!VI(t.value)?null:t.value.lengthVI(t.value)&&t.value.length>o?{maxlength:{requiredLength:o,actualLength:t.value.length}}:null}(t)}static pattern(t){return function qI(o){if(!o)return sy;let t,e;return"string"==typeof o?(e="","^"!==o.charAt(0)&&(e+="^"),e+=o,"$"!==o.charAt(o.length-1)&&(e+="$"),t=new RegExp(e)):(e=o.toString(),t=o),r=>{if(yc(r.value))return null;const n=r.value;return t.test(n)?null:{pattern:{requiredPattern:e,actualValue:n}}}}(t)}static nullValidator(t){return null}static compose(t){return eA(t)}static composeAsync(t){return tA(t)}}function YI(o){return yc(o.value)?{required:!0}:null}function sy(o){return null}function KI(o){return null!=o}function ZI(o){return Kg(o)?Co(o):o}function XI(o){let t={};return o.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function JI(o,t){return t.map(e=>e(o))}function QI(o){return o.map(t=>function Bq(o){return!o.validate}(t)?t:e=>t.validate(e))}function eA(o){if(!o)return null;const t=o.filter(KI);return 0==t.length?null:function(e){return XI(JI(e,t))}}function cx(o){return null!=o?eA(QI(o)):null}function tA(o){if(!o)return null;const t=o.filter(KI);return 0==t.length?null:function(e){return NI(JI(e,t).map(ZI)).pipe(Je(XI))}}function dx(o){return null!=o?tA(QI(o)):null}function rA(o,t){return null===o?[t]:Array.isArray(o)?[...o,t]:[o,t]}function oA(o){return o._rawValidators}function nA(o){return o._rawAsyncValidators}function ux(o){return o?Array.isArray(o)?o:[o]:[]}function ly(o,t){return Array.isArray(o)?o.includes(t):o===t}function iA(o,t){const e=ux(t);return ux(o).forEach(n=>{ly(e,n)||e.push(n)}),e}function aA(o,t){return ux(t).filter(e=>!ly(o,e))}class sA{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=cx(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=dx(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Kn extends sA{get formDirective(){return null}get path(){return null}}class _l extends sA{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class lA{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let mt=(()=>{class o extends lA{constructor(e){super(e)}}return o.\u0275fac=function(e){return new(e||o)(O(_l,2))},o.\u0275dir=Se({type:o,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,r){2&e&&ut("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[Te]}),o})(),$a=(()=>{class o extends lA{constructor(e){super(e)}}return o.\u0275fac=function(e){return new(e||o)(O(Kn,10))},o.\u0275dir=Se({type:o,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,r){2&e&&ut("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[Te]}),o})();const mm="VALID",dy="INVALID",Zp="PENDING",fm="DISABLED";function mx(o){return(uy(o)?o.validators:o)||null}function dA(o){return Array.isArray(o)?cx(o):o||null}function fx(o,t){return(uy(t)?t.asyncValidators:o)||null}function uA(o){return Array.isArray(o)?dx(o):o||null}function uy(o){return null!=o&&!Array.isArray(o)&&"object"==typeof o}function pA(o,t,e){const r=o.controls;if(!(t?Object.keys(r):r).length)throw new be(1e3,"");if(!r[e])throw new be(1001,"")}function hA(o,t,e){o._forEachChild((r,n)=>{if(void 0===e[n])throw new be(1002,"")})}class py{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=dA(this._rawValidators),this._composedAsyncValidatorFn=uA(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===mm}get invalid(){return this.status===dy}get pending(){return this.status==Zp}get disabled(){return this.status===fm}get enabled(){return this.status!==fm}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=dA(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=uA(t)}addValidators(t){this.setValidators(iA(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(iA(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(aA(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(aA(t,this._rawAsyncValidators))}hasValidator(t){return ly(this._rawValidators,t)}hasAsyncValidator(t){return ly(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Zp,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=fm,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=mm,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mm||this.status===Zp)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fm:mm}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Zp,this._hasOwnPendingAsyncValidator=!0;const e=ZI(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((r,n)=>r&&r._find(n),this)}getError(t,e){const r=e?this.get(e):this;return r&&r.errors?r.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new ee,this.statusChanges=new ee}_calculateStatus(){return this._allControlsDisabled()?fm:this.errors?dy:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Zp)?Zp:this._anyControlsHaveStatus(dy)?dy:mm}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){uy(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}class Bd extends py{constructor(t,e,r){super(mx(e),fx(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,r={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){hA(this,0,t),Object.keys(t).forEach(r=>{pA(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(r=>{const n=this.controls[r];n&&n.patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((r,n)=>{r.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,r)=>(t[r]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,r)=>!!r._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const r=this.controls[e];r&&t(r,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,r]of Object.entries(this.controls))if(this.contains(e)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,r,n)=>((r.enabled||this.disabled)&&(e[n]=r.value),e))}_reduceChildren(t,e){let r=t;return this._forEachChild((n,i)=>{r=e(r,n,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class gA extends Bd{}function hy(o,t){return[...t.path,o]}function _m(o,t){_x(o,t),t.valueAccessor.writeValue(o.value),o.disabled&&t.valueAccessor.setDisabledState?.(!0),function Uq(o,t){t.valueAccessor.registerOnChange(e=>{o._pendingValue=e,o._pendingChange=!0,o._pendingDirty=!0,"change"===o.updateOn&&mA(o,t)})}(o,t),function Gq(o,t){const e=(r,n)=>{t.valueAccessor.writeValue(r),n&&t.viewToModelUpdate(r)};o.registerOnChange(e),t._registerOnDestroy(()=>{o._unregisterOnChange(e)})}(o,t),function Wq(o,t){t.valueAccessor.registerOnTouched(()=>{o._pendingTouched=!0,"blur"===o.updateOn&&o._pendingChange&&mA(o,t),"submit"!==o.updateOn&&o.markAsTouched()})}(o,t),function jq(o,t){if(t.valueAccessor.setDisabledState){const e=r=>{t.valueAccessor.setDisabledState(r)};o.registerOnDisabledChange(e),t._registerOnDestroy(()=>{o._unregisterOnDisabledChange(e)})}}(o,t)}function gy(o,t,e=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),fy(o,t),o&&(t._invokeOnDestroyCallbacks(),o._registerOnCollectionChange(()=>{}))}function my(o,t){o.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function _x(o,t){const e=oA(o);null!==t.validator?o.setValidators(rA(e,t.validator)):"function"==typeof e&&o.setValidators([e]);const r=nA(o);null!==t.asyncValidator?o.setAsyncValidators(rA(r,t.asyncValidator)):"function"==typeof r&&o.setAsyncValidators([r]);const n=()=>o.updateValueAndValidity();my(t._rawValidators,n),my(t._rawAsyncValidators,n)}function fy(o,t){let e=!1;if(null!==o){if(null!==t.validator){const n=oA(o);if(Array.isArray(n)&&n.length>0){const i=n.filter(a=>a!==t.validator);i.length!==n.length&&(e=!0,o.setValidators(i))}}if(null!==t.asyncValidator){const n=nA(o);if(Array.isArray(n)&&n.length>0){const i=n.filter(a=>a!==t.asyncValidator);i.length!==n.length&&(e=!0,o.setAsyncValidators(i))}}}const r=()=>{};return my(t._rawValidators,r),my(t._rawAsyncValidators,r),e}function mA(o,t){o._pendingDirty&&o.markAsDirty(),o.setValue(o._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(o._pendingValue),o._pendingChange=!1}function fA(o,t){_x(o,t)}function vx(o,t){if(!o.hasOwnProperty("model"))return!1;const e=o.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function vA(o,t){o._syncPendingControls(),t.forEach(e=>{const r=e.control;"submit"===r.updateOn&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function yx(o,t){if(!t)return null;let e,r,n;return Array.isArray(t),t.forEach(i=>{i.constructor===Ht?e=i:function Zq(o){return Object.getPrototypeOf(o.constructor)===Ld}(i)?r=i:n=i}),n||r||e||null}const Jq={provide:Kn,useExisting:Gt(()=>ym)},vm=(()=>Promise.resolve())();let ym=(()=>{class o extends Kn{constructor(e,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new ee,this.form=new Bd({},cx(e),dx(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){vm.then(()=>{const r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),_m(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){vm.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){vm.then(()=>{const r=this._findContainer(e.path),n=new Bd({});fA(n,e),r.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){vm.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){vm.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,vA(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return o.\u0275fac=function(e){return new(e||o)(O(cn,10),O(bc,10))},o.\u0275dir=Se({type:o,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,r){1&e&&T("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[qt([Jq]),Te]}),o})();function yA(o,t){const e=o.indexOf(t);e>-1&&o.splice(e,1)}function bA(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}const Cc=class extends py{constructor(t=null,e,r){super(mx(e),fx(r,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),uy(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=bA(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){yA(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){yA(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){bA(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},tK={provide:_l,useExisting:Gt(()=>It)},xA=(()=>Promise.resolve())();let It=(()=>{class o extends _l{constructor(e,r,n,i,a){super(),this._changeDetectorRef=a,this.control=new Cc,this._registered=!1,this.update=new ee,this._parent=e,this._setValidators(r),this._setAsyncValidators(n),this.valueAccessor=yx(0,i)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),vx(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){_m(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){xA.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const r=e.isDisabled.currentValue,n=0!==r&&ul(r);xA.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?hy(e,this._parent):[e]}}return o.\u0275fac=function(e){return new(e||o)(O(Kn,9),O(cn,10),O(bc,10),O(yi,10),O(Xr,8))},o.\u0275dir=Se({type:o,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[qt([tK]),Te,Lr]}),o})(),za=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=Se({type:o,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),o})();const rK={provide:yi,useExisting:Gt(()=>vl),multi:!0};let vl=(()=>{class o extends Ld{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=r=>{e(""==r?null:parseFloat(r))}}}return o.\u0275fac=function(){let t;return function(r){return(t||(t=Ur(o)))(r||o)}}(),o.\u0275dir=Se({type:o,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,r){1&e&&T("input",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},features:[qt([rK]),Te]}),o})();const oK={provide:yi,useExisting:Gt(()=>bx),multi:!0};let DA=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({}),o})(),nK=(()=>{class o{constructor(){this._accessors=[]}add(e,r){this._accessors.push([e,r])}remove(e){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===e)return void this._accessors.splice(r,1)}select(e){this._accessors.forEach(r=>{this._isSameGroup(r,e)&&r[1]!==e&&r[1].fireUncheck(e.value)})}_isSameGroup(e,r){return!!e[0].control&&e[0]._parent===r._control._parent&&e[1].name===r.name}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:DA}),o})(),bx=(()=>{class o extends Ld{constructor(e,r,n,i){super(e,r),this._registry=n,this._injector=i,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(_l),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return o.\u0275fac=function(e){return new(e||o)(O(Li),O(dt),O(nK),O(Zr))},o.\u0275dir=Se({type:o,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,r){1&e&&T("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[qt([oK]),Te]}),o})();const Cx=new me("NgModelWithFormControlWarning"),sK={provide:Kn,useExisting:Gt(()=>Ni)};let Ni=(()=>{class o extends Kn{constructor(e,r){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ee,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(fy(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const r=this.form.get(e.path);return _m(r,e),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){gy(e.control||null,e,!1),function Xq(o,t){const e=o.indexOf(t);e>-1&&o.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,r){this.form.get(e.path).setValue(r)}onSubmit(e){return this.submitted=!0,vA(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const r=e.control,n=this.form.get(e.path);r!==n&&(gy(r||null,e),(o=>o instanceof Cc)(n)&&(_m(n,e),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const r=this.form.get(e.path);fA(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const r=this.form.get(e.path);r&&function qq(o,t){return fy(o,t)}(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){_x(this.form,this),this._oldForm&&fy(this._oldForm,this)}_checkFormPresent(){}}return o.\u0275fac=function(e){return new(e||o)(O(cn,10),O(bc,10))},o.\u0275dir=Se({type:o,selectors:[["","formGroup",""]],hostBindings:function(e,r){1&e&&T("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[qt([sK]),Te,Lr]}),o})();const dK={provide:_l,useExisting:Gt(()=>Ya)};let Ya=(()=>{class o extends _l{constructor(e,r,n,i,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.update=new ee,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(r),this._setAsyncValidators(n),this.valueAccessor=yx(0,i)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),vx(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return hy(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return o._ngModelWarningSentOnce=!1,o.\u0275fac=function(e){return new(e||o)(O(Kn,13),O(cn,10),O(bc,10),O(yi,10),O(Cx,8))},o.\u0275dir=Se({type:o,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[qt([dK]),Te,Lr]}),o})();const uK={provide:yi,useExisting:Gt(()=>No),multi:!0};function TA(o,t){return null==o?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${o}: ${t}`.slice(0,50))}let No=(()=>{class o extends Ld{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const n=TA(this._getOptionId(e),e);this.setProperty("value",n)}registerOnChange(e){this.onChange=r=>{this.value=this._getOptionValue(r),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const r of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r),e))return r;return null}_getOptionValue(e){const r=function pK(o){return o.split(":")[0]}(e);return this._optionMap.has(r)?this._optionMap.get(r):e}}return o.\u0275fac=function(){let t;return function(r){return(t||(t=Ur(o)))(r||o)}}(),o.\u0275dir=Se({type:o,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,r){1&e&&T("change",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[qt([uK]),Te]}),o})(),Qo=(()=>{class o{constructor(e,r,n){this._element=e,this._renderer=r,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(TA(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(Li),O(No,9))},o.\u0275dir=Se({type:o,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),o})();const hK={provide:yi,useExisting:Gt(()=>Dx),multi:!0};function FA(o,t){return null==o?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${o}: ${t}`.slice(0,50))}let Dx=(()=>{class o extends Ld{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let r;if(this.value=e,Array.isArray(e)){const n=e.map(i=>this._getOptionId(i));r=(i,a)=>{i._setSelected(n.indexOf(a.toString())>-1)}}else r=(n,i)=>{n._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(e){this.onChange=r=>{const n=[],i=r.selectedOptions;if(void 0!==i){const a=i;for(let s=0;s{class o{constructor(e,r,n){this._element=e,this._renderer=r,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(FA(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(FA(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(Li),O(Dx,9))},o.\u0275dir=Se({type:o,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),o})(),Nd=(()=>{class o{constructor(){this._validator=sy}ngOnChanges(e){if(this.inputName in e){const r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):sy,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=Se({type:o,features:[Lr]}),o})();const _K={provide:cn,useExisting:Gt(()=>_y),multi:!0};let _y=(()=>{class o extends Nd{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=ul,this.createValidator=e=>YI}enabled(e){return e}}return o.\u0275fac=function(){let t;return function(r){return(t||(t=Ur(o)))(r||o)}}(),o.\u0275dir=Se({type:o,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,r){2&e&&Re("required",r._enabled?"":null)},inputs:{required:"required"},features:[qt([_K]),Te]}),o})(),NA=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[DA]}),o})(),Ts=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[NA]}),o})(),kx=(()=>{class o{static withConfig(e){return{ngModule:o,providers:[{provide:Cx,useValue:e.warnOnNgModelWithFormControl}]}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[NA]}),o})();class HA extends py{constructor(t,e,r){super(mx(e),fx(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,r={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,e={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,r={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){hA(this,0,t),t.forEach((r,n)=>{pA(this,!1,n),this.at(n).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((r,n)=>{this.at(n)&&this.at(n).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((r,n)=>{r.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,r)=>!!r._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,r)=>{t(e,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function VA(o){return!!o&&(void 0!==o.asyncValidators||void 0!==o.validators||void 0!==o.updateOn)}let Hd=(()=>{class o{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new o;return e.useNonNullable=!0,e}group(e,r=null){const n=this._reduceControls(e);let i={};return VA(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Bd(n,i)}record(e,r=null){const n=this._reduceControls(e);return new gA(n,r)}control(e,r,n){let i={};return this.useNonNullable?(VA(r)?i=r:(i.validators=r,i.asyncValidators=n),new Cc(e,{...i,nonNullable:!0})):new Cc(e,r,n)}array(e,r,n){const i=e.map(a=>this._createControl(a));return new HA(i,r,n)}_reduceControls(e){const r={};return Object.keys(e).forEach(n=>{r[n]=this._createControl(e[n])}),r}_createControl(e){return e instanceof Cc||e instanceof py?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:kx}),o})();function $A(o,t,e,r,n,i,a){try{var s=o[i](a),l=s.value}catch(c){return void e(c)}s.done?t(l):Promise.resolve(l).then(r,n)}function E(o){return function(){var t=this,e=arguments;return new Promise(function(r,n){var i=o.apply(t,e);function a(l){$A(i,r,n,a,s,"next",l)}function s(l){$A(i,r,n,a,s,"throw",l)}a(void 0)})}}function co(o,t,e){const r=I(o)||t||e?{next:o,error:t,complete:e}:o;return r?zr((n,i)=>{var a;null===(a=r.subscribe)||void 0===a||a.call(r);let s=!0;n.subscribe(cr(i,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),i.next(l)},()=>{var l;s=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var c;s=!1,null===(c=r.error)||void 0===c||c.call(r,l),i.error(l)},()=>{var l,c;s&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):lt}const He={production:!0,siteUri:"",appId:"B037C8481A994A6CB6540147F614160E",projectId:"DE16F03660B245E9B4811B9F232E39CA",moduleId:"1C3344CA9EFF454FA471106D53477E34",moduleRouteHome:"auth",moduleName:"Authorization",logo:"https://www.nuviot.com/images/nuviot-blue.png",supportOAuth:!0,landingPage:"home",showFullPortal:!0,showToDo:!0,showQuickLinks:!0},Ex={now:()=>(Ex.delegate||Date).now(),delegate:void 0};class pt extends Ae{constructor(t=1/0,e=1/0,r=Ex){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:r,_infiniteTimeWindow:n,_timestampProvider:i,_windowTime:a}=this;e||(r.push(t),!n&&r.push(i.now()+a)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:n}=this,i=n.slice();for(let a=0;a0&&document.getSelection().getRangeAt(0);r.select(),document.execCommand("copy"),document.body.removeChild(r),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n)),alert(t+"\r\n"+e)}static toEntityHeader(t){return{id:t.id,key:t.key,text:t.name}}static toKey(t){return t&&0!==t.length?t.replace(/\s+/g,"").replaceAll("'","").toLowerCase():""}static getYears(){let t=[];t.push({id:"-1",key:"-1",text:"-select year-"});for(let e=2020;e<(new Date).getFullYear()+4;++e)t.push({id:`${e}`,key:e.toString(),text:`${e}`});return t}static createFormResult(t,e){return{resultId:"childitem",successful:!0,autoSave:!0,saveDraft:!0,autoSaveIntervalSections:30,model:t,formFields:e.formFields,modelHelp:e.modelHelp,modelTitle:e.modelTitle,modelName:e.modelName,view:e.view,isEditing:!0}}static attrFromProperty(t,e,r="-",n){return{key:t.key,value:e,name:t.name,lastUpdated:n,lastUpdatedBy:r,attributeType:t.fieldType,isAlarm:!1}}static toDateOnly(t,e=!0){const r=t.getMonth()+1,n=r<10?`0${r}`:`${r}`,i=t.getDate()<10?`0${t.getDate()}`:`${t.getDate()}`;return e?`${t.getFullYear()}/${n}/${i}`:`${n}/${i}/${t.getFullYear()}`}static toYYYYMMDDhhmmss(t){const e=new Date(t);let r=e.getUTCHours(),n=Dt.padZero(e.getSeconds()),i="AM";return r>12&&(r-=12,i="PM"),`${Dt.toDateOnly(e,!1)} ${r}:${Dt.padZero(e.getUTCMinutes())}:${n} ${i}`}static getAllOption(){return{id:"-1",key:"-1",label:"All",text:"All",name:"All"}}static getSelectOption(){return{id:"-1",key:"-1",label:"-select-",text:"-select-",name:"-select-"}}static resolveOption(t){let e=t.options.find(r=>r.key==t.value);return e||(e=t.options.find(r=>"-1"==r.id)),e}static roundCurrency(t){return Math.round(100*t)/100}static fromDateOnly(t){if(t){const e=new Date(t),r=`${e.getMonth()+1}`,n=`${e.getDate()}`;return new Date(`${e.getFullYear()}/${r}/${n}`)}return null}static fromHHMM(t){const e=t.indexOf(":");if(-1!==e){const r=t.substr(0,e),n=t.substr(e+1);return parseFloat(r)+parseFloat(n)/60}return parseFloat(t)}static toHHMM(t,e,r,n=!0){let i="",a=parseInt(t.toString()),s=parseInt(e.toString());return"pm"==r.toLowerCase()&&a<12&&(a+=12),i=a<10?"0"+a.toString():a.toString(),n&&(i+=":"),i+=s<10?"0"+s.toString():s.toString(),i}static dateToHHMM(t){let e="",r=t.getHours(),n=t.getMinutes();return e=0==r?"00":r<10?"0"+r:r.toString(),e+=":",e+=n<10?"0"+n:n.toString(),e}static timeToHHMM(t){const e=parseFloat(t);let r=e%1;r*=.6;let n=r.toFixed(2);return n.startsWith("0.")&&(n=n.substring(2),console.log(!0)),0===n.length?n="00":1===n.length?n+="0":n.length>0&&(n=n.substring(0,2)),`${Math.floor(e)}:${n}`}static isValidTime(t){return/^[0-9]{0,2}[\.:]?[0-9]{0,3}$/.test(t)}static isValidKey(t){return!(!t||0===t.length)&&/^[a-z][a-z0-9]{2,32}$/.test(t)}static padZero(t){return t<10?`0${t}`:`${t}`}static newGuid(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){const e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16).toUpperCase()})}static getUrlParameters(t,e){const r={};return t.params.subscribe(n=>{if(n){const i=Object.keys(n);i.length>0&&(i.forEach(a=>{e?e.some(s=>s===a)&&(r[a]=n[a]):r[a]=n[a]}),r._hasValues=Object.keys(r).length>0)}}),r}static getUrlQueryParameters(t,e){const r={};return t.queryParams.subscribe(n=>{if(n){const i=Object.keys(n);i.length>0&&(i.forEach(a=>{e?e.some(s=>s===a)&&(r[a]=n[a]):r[a]=n[a]}),r._hasValues=Object.keys(r).length>0)}}),r}static toEntityHeaderList(t,e="-select-"){let r=t.map(n=>({id:n.id,key:n.key,text:n.name}));return r.unshift({id:"-1",key:"-1",text:e}),r}static toPickerOptionList(t,e="-select-"){let r=t.map(n=>({id:n.id,key:n.key,text:n.name,label:n.name,name:n.name}));return r.unshift({id:"-1",key:"-1",label:e,text:e}),r}static toCamelCase(t){return`${t.substring(0,1).toLowerCase()}${t.substring(1,t.length)}`}static printLogHeader(t,e,r=!1){t&&console.log(r?`begin ${e}${e.endsWith(":")?"":": "}`:e)}static logToConsole(t,e,r){t&&console.log(e,r)}static clone(t,e){const r=JSON.parse(JSON.stringify(t));return e&&e.length>0&&e.forEach(n=>{r[n]=void 0}),r}}Zn=Dt,Dt.commonLanguages=[{id:"-1",key:"-1",text:"-select language-"},{id:"en-US",key:"en-US",text:"Englsh (United States) (en-US)"},{id:"fr-CA",key:"fr-CA",text:"French (Canada) (fr-ca)"},{id:"fr-FR",key:"fr-FR",text:"French (Standard) (fr)"},{id:"de-DE",key:"de-DE",text:"German (Standard) (de)"},{id:"it-IT",key:"it-IT",text:"Italian (Standard) (it)"},{id:"pt-BR",key:"pt-BR",text:"Portuguese (Brazil) (pt-br)"},{id:"es-US",key:"es-US",text:"Spanish (US) (es-US)"}],Dt.months=[{id:"-1",key:"-1",text:"-select month-"},{id:"1",key:"1",text:"January"},{id:"2",key:"2",text:"February"},{id:"3",key:"3",text:"March"},{id:"4",key:"4",text:"April"},{id:"5",key:"5",text:"May"},{id:"6",key:"6",text:"June"},{id:"7",key:"7",text:"July"},{id:"8",key:"8",text:"August"},{id:"9",key:"9",text:"September"},{id:"10",key:"10",text:"October"},{id:"11",key:"11",text:"November"},{id:"12",key:"12",text:"December"}],Dt.exportable_model_deviceConfiguration="deviceConfiguration",Dt.param_qs_hasValues="_hasValues",Dt.param_qs_appid="appid",Dt.param_qs_dashboard="dashboard",Dt.param_qs_dashboardid="dashboardid",Dt.param_qs_deviceid="deviceid",Dt.param_qs_id="id",Dt.param_qs_repoid="repoid",Dt.param_qs_view="view",Dt.param_qs_appkey="appkey",Dt.param_qs_viewkey="viewkey",Dt.param_qs_widget="widget",Dt.attr_widget_device="device",Dt.attr_widget_repoid="repoid",Dt.advancedViewEditorQueryParameters=[Zn.param_qs_appid,Zn.param_qs_widget,Zn.param_qs_id,Zn.param_qs_viewkey,Zn.param_qs_dashboardid],Dt.advancedWidgetEditorQueryParameters=[Zn.param_qs_appid,Zn.param_qs_widget,Zn.param_qs_id,Zn.param_qs_viewkey,Zn.param_qs_dashboardid],Dt.dashboardViewQueryParameters=[Zn.param_qs_appid,Zn.param_qs_dashboard,Zn.param_qs_dashboardid,Zn.param_qs_view];class Jr extends Ae{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:r}=this;if(t)throw e;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const bm=y(o=>function(){o(this),this.name="EmptyError",this.message="no elements in sequence"});function Cm(...o){const t=gn(o),e=ho(o),{args:r,keys:n}=LI(o);if(0===r.length)return Co([],t);const i=new Nt(function xK(o,t,e=lt){return r=>{zA(t,()=>{const{length:n}=o,i=new Array(n);let a=n,s=n;for(let l=0;l{const c=Co(o[l],t);let h=!1;c.subscribe(cr(r,_=>{i[l]=_,h||(h=!0,s--),s||r.next(e(i.slice()))},()=>{--a||r.complete()}))},r)},r)}}(r,t,n?a=>BI(n,a):lt));return e?i.pipe(lx(e)):i}function zA(o,t,e){o?wa(e,o,t):t()}function Xp(...o){return function DK(){return dr(1)}()(Co(o,gn(o)))}function wm(o){return new Nt(t=>{ao(o()).subscribe(t)})}function Jp(o,t){const e=I(o)?o:()=>o,r=n=>n.error(e());return new Nt(t?n=>t.schedule(r,0,n):r)}function Tx(){return zr((o,t)=>{let e=null;o._refCount++;const r=cr(t,void 0,void 0,void 0,()=>{if(!o||o._refCount<=0||0<--o._refCount)return void(e=null);const n=o._connection,i=e;e=null,n&&(!i||n===i)&&n.unsubscribe(),t.unsubscribe()});o.subscribe(r),r.closed||(e=o.connect())})}class YA extends Nt{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,it(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new M;const e=this.getSubject();t.add(this.source.subscribe(cr(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=M.EMPTY)}return t}refCount(){return Tx()(this)}}function bn(o,t){return zr((e,r)=>{let n=null,i=0,a=!1;const s=()=>a&&!n&&r.complete();e.subscribe(cr(r,l=>{n?.unsubscribe();let c=0;const h=i++;ao(o(l,h)).subscribe(n=cr(r,_=>r.next(t?t(l,_,h,c++):_),()=>{n=null,s()}))},()=>{a=!0,s()}))})}function mr(o){return o<=0?()=>on:zr((t,e)=>{let r=0;t.subscribe(cr(e,n=>{++r<=o&&(e.next(n),o<=r&&e.complete())}))})}function Yo(...o){const t=gn(o);return zr((e,r)=>{(t?Xp(o,e,t):Xp(o,e)).subscribe(r)})}function vy(o){return zr((t,e)=>{let r=!1;t.subscribe(cr(e,n=>{r=!0,e.next(n)},()=>{r||e.next(o),e.complete()}))})}function jA(o=MK){return zr((t,e)=>{let r=!1;t.subscribe(cr(e,n=>{r=!0,e.next(n)},()=>r?e.complete():e.error(o())))})}function MK(){return new bm}function wc(o,t){const e=arguments.length>=2;return r=>r.pipe(o?Gr((n,i)=>o(n,i,r)):lt,mr(1),e?vy(t):jA(()=>new bm))}function Fs(o){return zr((t,e)=>{let i,r=null,n=!1;r=t.subscribe(cr(e,void 0,void 0,a=>{i=ao(o(a,Fs(o)(t))),r?(r.unsubscribe(),r=null,i.subscribe(e)):n=!0})),n&&(r.unsubscribe(),r=null,i.subscribe(e))})}function kK(o,t,e,r,n){return(i,a)=>{let s=e,l=t,c=0;i.subscribe(cr(a,h=>{const _=c++;l=s?o(l,h,_):(s=!0,h),r&&a.next(l)},n&&(()=>{s&&a.next(l),a.complete()})))}}function UA(o,t){return zr(kK(o,t,arguments.length>=2,!0))}function Fx(o){return o<=0?()=>on:zr((t,e)=>{let r=[];t.subscribe(cr(e,n=>{r.push(n),o{for(const n of r)e.next(n);e.complete()},void 0,()=>{r=null}))})}function WA(o,t){const e=arguments.length>=2;return r=>r.pipe(o?Gr((n,i)=>o(n,i,r)):lt,Fx(1),e?vy(t):jA(()=>new bm))}function Sx(o){return Je(()=>o)}function yy(o){return zr((t,e)=>{try{t.subscribe(e)}finally{e.add(o)}})}const Zt="primary",xm=Symbol("RouteTitle");class TK{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Qp(o){return new TK(o)}function FK(o,t,e){const r=e.path.split("/");if(r.length>o.length||"full"===e.pathMatch&&(t.hasChildren()||r.lengthr[i]===n)}return o===t}function qA(o){return Array.prototype.concat.apply([],o)}function KA(o){return o.length>0?o[o.length-1]:null}function Cn(o,t){for(const e in o)o.hasOwnProperty(e)&&t(o[e],e)}function xc(o){return VC(o)?o:Kg(o)?Co(Promise.resolve(o)):Xe(o)}const IK={exact:function JA(o,t,e){if(!$d(o.segments,t.segments)||!by(o.segments,t.segments,e)||o.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!o.children[r]||!JA(o.children[r],t.children[r],e))return!1;return!0},subset:QA},ZA={exact:function AK(o,t){return Ss(o,t)},subset:function OK(o,t){return Object.keys(t).length<=Object.keys(o).length&&Object.keys(t).every(e=>GA(o[e],t[e]))},ignored:()=>!0};function XA(o,t,e){return IK[e.paths](o.root,t.root,e.matrixParams)&&ZA[e.queryParams](o.queryParams,t.queryParams)&&!("exact"===e.fragment&&o.fragment!==t.fragment)}function QA(o,t,e){return eO(o,t,t.segments,e)}function eO(o,t,e,r){if(o.segments.length>e.length){const n=o.segments.slice(0,e.length);return!(!$d(n,e)||t.hasChildren()||!by(n,e,r))}if(o.segments.length===e.length){if(!$d(o.segments,e)||!by(o.segments,e,r))return!1;for(const n in t.children)if(!o.children[n]||!QA(o.children[n],t.children[n],r))return!1;return!0}{const n=e.slice(0,o.segments.length),i=e.slice(o.segments.length);return!!($d(o.segments,n)&&by(o.segments,n,r)&&o.children[Zt])&&eO(o.children[Zt],t,i,r)}}function by(o,t,e){return t.every((r,n)=>ZA[e](o[n].parameters,r.parameters))}class Vd{constructor(t,e,r){this.root=t,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qp(this.queryParams)),this._queryParamMap}toString(){return BK.serialize(this)}}class Qt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Cn(e,(r,n)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cy(this)}}class Dm{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Qp(this.parameters)),this._parameterMap}toString(){return nO(this)}}function $d(o,t){return o.length===t.length&&o.every((e,r)=>e.path===t[r].path)}let tO=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:function(){return new Ix},providedIn:"root"}),o})();class Ix{parse(t){const e=new WK(t);return new Vd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Mm(t.root,!0)}`,r=function VK(o){const t=Object.keys(o).map(e=>{const r=o[e];return Array.isArray(r)?r.map(n=>`${wy(e)}=${wy(n)}`).join("&"):`${wy(e)}=${wy(r)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${r}${"string"==typeof t.fragment?`#${function NK(o){return encodeURI(o)}(t.fragment)}`:""}`}}const BK=new Ix;function Cy(o){return o.segments.map(t=>nO(t)).join("/")}function Mm(o,t){if(!o.hasChildren())return Cy(o);if(t){const e=o.children[Zt]?Mm(o.children[Zt],!1):"",r=[];return Cn(o.children,(n,i)=>{i!==Zt&&r.push(`${i}:${Mm(n,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}{const e=function LK(o,t){let e=[];return Cn(o.children,(r,n)=>{n===Zt&&(e=e.concat(t(r,n)))}),Cn(o.children,(r,n)=>{n!==Zt&&(e=e.concat(t(r,n)))}),e}(o,(r,n)=>n===Zt?[Mm(o.children[Zt],!1)]:[`${n}:${Mm(r,!1)}`]);return 1===Object.keys(o.children).length&&null!=o.children[Zt]?`${Cy(o)}/${e[0]}`:`${Cy(o)}/(${e.join("//")})`}}function rO(o){return encodeURIComponent(o).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wy(o){return rO(o).replace(/%3B/gi,";")}function Ax(o){return rO(o).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xy(o){return decodeURIComponent(o)}function oO(o){return xy(o.replace(/\+/g,"%20"))}function nO(o){return`${Ax(o.path)}${function HK(o){return Object.keys(o).map(t=>`;${Ax(t)}=${Ax(o[t])}`).join("")}(o.parameters)}`}const $K=/^[^\/()?;=#]+/;function Dy(o){const t=o.match($K);return t?t[0]:""}const zK=/^[^=?&#]+/,jK=/^[^&#]+/;class WK{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Qt([],{}):new Qt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(r[Zt]=new Qt(t,e)),r}parseSegment(){const t=Dy(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new be(4009,!1);return this.capture(t),new Dm(xy(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Dy(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const n=Dy(this.remaining);n&&(r=n,this.capture(r))}t[xy(e)]=xy(r)}parseQueryParam(t){const e=function YK(o){const t=o.match(zK);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const a=function UK(o){const t=o.match(jK);return t?t[0]:""}(this.remaining);a&&(r=a,this.capture(r))}const n=oO(e),i=oO(r);if(t.hasOwnProperty(n)){let a=t[n];Array.isArray(a)||(a=[a],t[n]=a),a.push(i)}else t[n]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Dy(this.remaining),n=this.remaining[r.length];if("/"!==n&&")"!==n&&";"!==n)throw new be(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=Zt);const a=this.parseChildren();e[i]=1===Object.keys(a).length?a[Zt]:new Qt([],a),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new be(4011,!1)}}function Ox(o){return o.segments.length>0?new Qt([],{[Zt]:o}):o}function My(o){const t={};for(const r of Object.keys(o.children)){const i=My(o.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function GK(o){if(1===o.numberOfChildren&&o.children[Zt]){const t=o.children[Zt];return new Qt(o.segments.concat(t.segments),t.children)}return o}(new Qt(o.segments,t))}function zd(o){return o instanceof Vd}function ZK(o,t,e,r,n){if(0===e.length)return eh(t.root,t.root,t.root,r,n);const i=function sO(o){if("string"==typeof o[0]&&1===o.length&&"/"===o[0])return new aO(!0,0,o);let t=0,e=!1;const r=o.reduce((n,i,a)=>{if("object"==typeof i&&null!=i){if(i.outlets){const s={};return Cn(i.outlets,(l,c)=>{s[c]="string"==typeof l?l.split("/"):l}),[...n,{outlets:s}]}if(i.segmentPath)return[...n,i.segmentPath]}return"string"!=typeof i?[...n,i]:0===a?(i.split("/").forEach((s,l)=>{0==l&&"."===s||(0==l&&""===s?e=!0:".."===s?t++:""!=s&&n.push(s))}),n):[...n,i]},[]);return new aO(e,t,r)}(e);return i.toRoot()?eh(t.root,t.root,new Qt([],{}),r,n):function a(l){const c=function JK(o,t,e,r){if(o.isAbsolute)return new th(t.root,!0,0);if(-1===r)return new th(e,e===t.root,0);return function lO(o,t,e){let r=o,n=t,i=e;for(;i>n;){if(i-=n,r=r.parent,!r)throw new be(4005,!1);n=r.segments.length}return new th(r,!1,n-i)}(e,r+(km(o.commands[0])?0:1),o.numberOfDoubleDots)}(i,t,o.snapshot?._urlSegment,l),h=c.processChildren?Tm(c.segmentGroup,c.index,i.commands):Lx(c.segmentGroup,c.index,i.commands);return eh(t.root,c.segmentGroup,h,r,n)}(o.snapshot?._lastPathIndex)}function km(o){return"object"==typeof o&&null!=o&&!o.outlets&&!o.segmentPath}function Em(o){return"object"==typeof o&&null!=o&&o.outlets}function eh(o,t,e,r,n){let a,i={};r&&Cn(r,(l,c)=>{i[c]=Array.isArray(l)?l.map(h=>`${h}`):`${l}`}),a=o===t?e:iO(o,t,e);const s=Ox(My(a));return new Vd(s,i,n)}function iO(o,t,e){const r={};return Cn(o.children,(n,i)=>{r[i]=n===t?e:iO(n,t,e)}),new Qt(o.segments,r)}class aO{constructor(t,e,r){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=r,t&&r.length>0&&km(r[0]))throw new be(4003,!1);const n=r.find(Em);if(n&&n!==KA(r))throw new be(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class th{constructor(t,e,r){this.segmentGroup=t,this.processChildren=e,this.index=r}}function Lx(o,t,e){if(o||(o=new Qt([],{})),0===o.segments.length&&o.hasChildren())return Tm(o,t,e);const r=function eZ(o,t,e){let r=0,n=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;n=e.length)return i;const a=o.segments[n],s=e[r];if(Em(s))break;const l=`${s}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!dO(l,c,a))return i;r+=2}else{if(!dO(l,{},a))return i;r++}n++}return{match:!0,pathIndex:n,commandIndex:r}}(o,t,e),n=e.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(n[a]=Lx(o.children[a],t,i))}),Cn(o.children,(i,a)=>{void 0===r[a]&&(n[a]=i)}),new Qt(o.segments,n)}}function Bx(o,t,e){const r=o.segments.slice(0,t);let n=0;for(;n{"string"==typeof e&&(e=[e]),null!==e&&(t[r]=Bx(new Qt([],{}),0,e))}),t}function cO(o){const t={};return Cn(o,(e,r)=>t[r]=`${e}`),t}function dO(o,t,e){return o==e.path&&Ss(t,e.parameters)}class yl{constructor(t,e){this.id=t,this.url=e}}class Nx extends yl{constructor(t,e,r="imperative",n=null){super(t,e),this.type=0,this.navigationTrigger=r,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class bl extends yl{constructor(t,e,r){super(t,e),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ky extends yl{constructor(t,e,r,n){super(t,e),this.reason=r,this.code=n,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class uO extends yl{constructor(t,e,r,n){super(t,e),this.error=r,this.target=n,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class rZ extends yl{constructor(t,e,r,n){super(t,e),this.urlAfterRedirects=r,this.state=n,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oZ extends yl{constructor(t,e,r,n){super(t,e),this.urlAfterRedirects=r,this.state=n,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nZ extends yl{constructor(t,e,r,n,i){super(t,e),this.urlAfterRedirects=r,this.state=n,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class iZ extends yl{constructor(t,e,r,n){super(t,e),this.urlAfterRedirects=r,this.state=n,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class aZ extends yl{constructor(t,e,r,n){super(t,e),this.urlAfterRedirects=r,this.state=n,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sZ{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class lZ{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class cZ{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dZ{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uZ{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pZ{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pO{constructor(t,e,r){this.routerEvent=t,this.position=e,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class hO{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Hx(t,this._root);return e?e.children.map(r=>r.value):[]}firstChild(t){const e=Hx(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Vx(t,this._root);return e.length<2?[]:e[e.length-2].children.map(n=>n.value).filter(n=>n!==t)}pathFromRoot(t){return Vx(t,this._root).map(e=>e.value)}}function Hx(o,t){if(o===t.value)return t;for(const e of t.children){const r=Hx(o,e);if(r)return r}return null}function Vx(o,t){if(o===t.value)return[t];for(const e of t.children){const r=Vx(o,e);if(r.length)return r.unshift(t),r}return[]}class Cl{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function rh(o){const t={};return o&&o.children.forEach(e=>t[e.value.outlet]=e),t}class gO extends hO{constructor(t,e){super(t),this.snapshot=e,$x(this,t)}toString(){return this.snapshot.toString()}}function mO(o,t){const e=function gZ(o,t){const a=new Ey([],{},{},"",{},Zt,t,null,o.root,-1,{});return new _O("",new Cl(a,[]))}(o,t),r=new Jr([new Dm("",{})]),n=new Jr({}),i=new Jr({}),a=new Jr({}),s=new Jr(""),l=new _o(r,n,a,s,i,Zt,t,e.root);return l.snapshot=e.root,new gO(new Cl(l,[]),e)}class _o{constructor(t,e,r,n,i,a,s,l){this.url=t,this.params=e,this.queryParams=r,this.fragment=n,this.data=i,this.outlet=a,this.component=s,this.title=this.data?.pipe(Je(c=>c[xm]))??Xe(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Je(t=>Qp(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Je(t=>Qp(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function fO(o,t="emptyOnly"){const e=o.pathFromRoot;let r=0;if("always"!==t)for(r=e.length-1;r>=1;){const n=e[r],i=e[r-1];if(n.routeConfig&&""===n.routeConfig.path)r--;else{if(i.component)break;r--}}return function mZ(o){return o.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(r))}class Ey{constructor(t,e,r,n,i,a,s,l,c,h,_,C){this.url=t,this.params=e,this.queryParams=r,this.fragment=n,this.data=i,this.outlet=a,this.component=s,this.title=this.data?.[xm],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=h,this._correctedLastPathIndex=C??h,this._resolve=_}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Qp(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qp(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class _O extends hO{constructor(t,e){super(e),this.url=t,$x(this,e)}toString(){return vO(this._root)}}function $x(o,t){t.value._routerState=o,t.children.forEach(e=>$x(o,e))}function vO(o){const t=o.children.length>0?` { ${o.children.map(vO).join(", ")} } `:"";return`${o.value}${t}`}function zx(o){if(o.snapshot){const t=o.snapshot,e=o._futureSnapshot;o.snapshot=e,Ss(t.queryParams,e.queryParams)||o.queryParams.next(e.queryParams),t.fragment!==e.fragment&&o.fragment.next(e.fragment),Ss(t.params,e.params)||o.params.next(e.params),function SK(o,t){if(o.length!==t.length)return!1;for(let e=0;eSs(e.parameters,t[r].parameters))}(o.url,t.url);return e&&!(!o.parent!=!t.parent)&&(!o.parent||Yx(o.parent,t.parent))}function Fm(o,t,e){if(e&&o.shouldReuseRoute(t.value,e.value.snapshot)){const r=e.value;r._futureSnapshot=t.value;const n=function _Z(o,t,e){return t.children.map(r=>{for(const n of e.children)if(o.shouldReuseRoute(r.value,n.value.snapshot))return Fm(o,r,n);return Fm(o,r)})}(o,t,e);return new Cl(r,n)}{if(o.shouldAttach(t.value)){const i=o.retrieve(t.value);if(null!==i){const a=i.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>Fm(o,s)),a}}const r=function vZ(o){return new _o(new Jr(o.url),new Jr(o.params),new Jr(o.queryParams),new Jr(o.fragment),new Jr(o.data),o.outlet,o.component,o)}(t.value),n=t.children.map(i=>Fm(o,i));return new Cl(r,n)}}const jx="ngNavigationCancelingError";function yO(o,t){const{redirectTo:e,navigationBehaviorOptions:r}=zd(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,n=bO(!1,0,t);return n.url=e,n.navigationBehaviorOptions=r,n}function bO(o,t,e){const r=new Error("NavigationCancelingError: "+(o||""));return r[jx]=!0,r.cancellationCode=t,e&&(r.url=e),r}function CO(o){return wO(o)&&zd(o.url)}function wO(o){return o&&o[jx]}class yZ{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Sm,this.attachRef=null}}let Sm=(()=>{class o{constructor(){this.contexts=new Map}onChildOutletCreated(e,r){const n=this.getOrCreateContext(e);n.outlet=r,this.contexts.set(e,n)}onChildOutletDestroyed(e){const r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new yZ,this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const Ty=!1;let Fy=(()=>{class o{constructor(e,r,n,i,a){this.parentContexts=e,this.location=r,this.changeDetector=i,this.environmentInjector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new ee,this.deactivateEvents=new ee,this.attachEvents=new ee,this.detachEvents=new ee,this.name=n||Zt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new be(4012,Ty);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new be(4012,Ty);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new be(4012,Ty);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new be(4013,Ty);this._activatedRoute=e;const n=this.location,a=e._futureSnapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new bZ(e,s,n.injector);if(r&&function CZ(o){return!!o.resolveComponentFactory}(r)){const c=r.resolveComponentFactory(a);this.activated=n.createComponent(c,n.length,l)}else this.activated=n.createComponent(a,{index:n.length,injector:l,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return o.\u0275fac=function(e){return new(e||o)(O(Sm),O(Fn),_s("name"),O(Xr),O(oc))},o.\u0275dir=Se({type:o,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),o})();class bZ{constructor(t,e,r){this.route=t,this.childContexts=e,this.parent=r}get(t,e){return t===_o?this.route:t===Sm?this.childContexts:this.parent.get(t,e)}}let Ux=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["ng-component"]],standalone:!0,features:[JC],decls:1,vars:0,template:function(e,r){1&e&&P(0,"router-outlet")},dependencies:[Fy],encapsulation:2}),o})();function xO(o,t){return o.providers&&!o._injector&&(o._injector=Iv(o.providers,t,`Route: ${o.path}`)),o._injector??t}function Gx(o){const t=o.children&&o.children.map(Gx),e=t?{...o,children:t}:{...o};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==Zt&&(e.component=Ux),e}function la(o){return o.outlet||Zt}function DO(o,t){const e=o.filter(r=>la(r)===t);return e.push(...o.filter(r=>la(r)!==t)),e}function Pm(o){if(!o)return null;if(o.routeConfig?._injector)return o.routeConfig._injector;for(let t=o.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class kZ{constructor(t,e,r,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=r,this.forwardEvent=n}activate(t){const e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,t),zx(this.futureState.root),this.activateChildRoutes(e,r,t)}deactivateChildRoutes(t,e,r){const n=rh(e);t.children.forEach(i=>{const a=i.value.outlet;this.deactivateRoutes(i,n[a],r),delete n[a]}),Cn(n,(i,a)=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,e,r){const n=t.value,i=e?e.value:null;if(n===i)if(n.component){const a=r.getContext(n.outlet);a&&this.deactivateChildRoutes(t,e,a.children)}else this.deactivateChildRoutes(t,e,r);else i&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const r=e.getContext(t.value.outlet),n=r&&t.value.component?r.children:e,i=rh(t);for(const a of Object.keys(i))this.deactivateRouteAndItsChildren(i[a],n);if(r&&r.outlet){const a=r.outlet.detach(),s=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,e){const r=e.getContext(t.value.outlet),n=r&&t.value.component?r.children:e,i=rh(t);for(const a of Object.keys(i))this.deactivateRouteAndItsChildren(i[a],n);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,e,r){const n=rh(e);t.children.forEach(i=>{this.activateRoutes(i,n[i.value.outlet],r),this.forwardEvent(new pZ(i.value.snapshot))}),t.children.length&&this.forwardEvent(new dZ(t.value.snapshot))}activateRoutes(t,e,r){const n=t.value,i=e?e.value:null;if(zx(n),n===i)if(n.component){const a=r.getOrCreateContext(n.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,r);else if(n.component){const a=r.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const s=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),zx(s.route.value),this.activateChildRoutes(t,null,a.children)}else{const s=Pm(n.snapshot),l=s?.get(nc)??null;a.attachRef=null,a.route=n,a.resolver=l,a.injector=s,a.outlet&&a.outlet.activateWith(n,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,r)}}class MO{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Sy{constructor(t,e){this.component=t,this.route=e}}function EZ(o,t,e){const r=o._root;return Im(r,t?t._root:null,e,[r.value])}function oh(o,t){const e=Symbol(),r=t.get(o,e);return r===e?"function"!=typeof o||function Ib(o){return null!==tp(o)}(o)?t.get(o):o:r}function Im(o,t,e,r,n={canDeactivateChecks:[],canActivateChecks:[]}){const i=rh(t);return o.children.forEach(a=>{(function FZ(o,t,e,r,n={canDeactivateChecks:[],canActivateChecks:[]}){const i=o.value,a=t?t.value:null,s=e?e.getContext(o.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){const l=function SZ(o,t,e){if("function"==typeof e)return e(o,t);switch(e){case"pathParamsChange":return!$d(o.url,t.url);case"pathParamsOrQueryParamsChange":return!$d(o.url,t.url)||!Ss(o.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yx(o,t)||!Ss(o.queryParams,t.queryParams);default:return!Yx(o,t)}}(a,i,i.routeConfig.runGuardsAndResolvers);l?n.canActivateChecks.push(new MO(r)):(i.data=a.data,i._resolvedData=a._resolvedData),Im(o,t,i.component?s?s.children:null:e,r,n),l&&s&&s.outlet&&s.outlet.isActivated&&n.canDeactivateChecks.push(new Sy(s.outlet.component,a))}else a&&Am(t,s,n),n.canActivateChecks.push(new MO(r)),Im(o,null,i.component?s?s.children:null:e,r,n)})(a,i[a.value.outlet],e,r.concat([a.value]),n),delete i[a.value.outlet]}),Cn(i,(a,s)=>Am(a,e.getContext(s),n)),n}function Am(o,t,e){const r=rh(o),n=o.value;Cn(r,(i,a)=>{Am(i,n.component?t?t.children.getContext(a):null:t,e)}),e.canDeactivateChecks.push(new Sy(n.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,n))}function Om(o){return"function"==typeof o}function qx(o){return o instanceof bm||"EmptyError"===o?.name}const Py=Symbol("INITIAL_VALUE");function nh(){return bn(o=>Cm(o.map(t=>t.pipe(mr(1),Yo(Py)))).pipe(Je(t=>{for(const e of t)if(!0!==e){if(e===Py)return Py;if(!1===e||e instanceof Vd)return e}return!0}),Gr(t=>t!==Py),mr(1)))}function kO(o){return function wt(...o){return pn(o)}(co(t=>{if(zd(t))throw yO(0,t)}),Je(t=>!0===t))}const Kx={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function EO(o,t,e,r,n){const i=Zx(o,t,e);return i.matched?function GZ(o,t,e,r){const n=t.canMatch;return n&&0!==n.length?Xe(n.map(a=>{const s=oh(a,o);return xc(function LZ(o){return o&&Om(o.canMatch)}(s)?s.canMatch(t,e):o.runInContext(()=>s(t,e)))})).pipe(nh(),kO()):Xe(!0)}(r=xO(t,r),t,e).pipe(Je(a=>!0===a?i:{...Kx})):Xe(i)}function Zx(o,t,e){if(""===t.path)return"full"===t.pathMatch&&(o.hasChildren()||e.length>0)?{...Kx}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const n=(t.matcher||FK)(e,o,t);if(!n)return{...Kx};const i={};Cn(n.posParams,(s,l)=>{i[l]=s.path});const a=n.consumed.length>0?{...i,...n.consumed[n.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:n.consumed,remainingSegments:e.slice(n.consumed.length),parameters:a,positionalParamSegments:n.posParams??{}}}function Iy(o,t,e,r,n="corrected"){if(e.length>0&&function ZZ(o,t,e){return e.some(r=>Ay(o,t,r)&&la(r)!==Zt)}(o,e,r)){const a=new Qt(t,function KZ(o,t,e,r){const n={};n[Zt]=r,r._sourceSegment=o,r._segmentIndexShift=t.length;for(const i of e)if(""===i.path&&la(i)!==Zt){const a=new Qt([],{});a._sourceSegment=o,a._segmentIndexShift=t.length,n[la(i)]=a}return n}(o,t,r,new Qt(e,o.children)));return a._sourceSegment=o,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===e.length&&function XZ(o,t,e){return e.some(r=>Ay(o,t,r))}(o,e,r)){const a=new Qt(o.segments,function qZ(o,t,e,r,n,i){const a={};for(const s of r)if(Ay(o,e,s)&&!n[la(s)]){const l=new Qt([],{});l._sourceSegment=o,l._segmentIndexShift="legacy"===i?o.segments.length:t.length,a[la(s)]=l}return{...n,...a}}(o,t,e,r,o.children,n));return a._sourceSegment=o,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:e}}const i=new Qt(o.segments,o.children);return i._sourceSegment=o,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:e}}function Ay(o,t,e){return(!(o.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function TO(o,t,e,r){return!!(la(o)===r||r!==Zt&&Ay(t,e,o))&&("**"===o.path||Zx(t,o,e).matched)}function FO(o,t,e){return 0===t.length&&!o.children[e]}const Oy=!1;class Ry{constructor(t){this.segmentGroup=t||null}}class SO{constructor(t){this.urlTree=t}}function Rm(o){return Jp(new Ry(o))}function PO(o){return Jp(new SO(o))}class tX{constructor(t,e,r,n,i){this.injector=t,this.configLoader=e,this.urlSerializer=r,this.urlTree=n,this.config=i,this.allowRedirects=!0}apply(){const t=Iy(this.urlTree.root,[],[],this.config).segmentGroup,e=new Qt(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,Zt).pipe(Je(i=>this.createUrlTree(My(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Fs(i=>{if(i instanceof SO)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof Ry?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,Zt).pipe(Je(n=>this.createUrlTree(My(n),t.queryParams,t.fragment))).pipe(Fs(n=>{throw n instanceof Ry?this.noMatchError(n):n}))}noMatchError(t){return new be(4002,Oy)}createUrlTree(t,e,r){const n=Ox(t);return new Vd(n,e,r)}expandSegmentGroup(t,e,r,n){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,e,r).pipe(Je(i=>new Qt([],i))):this.expandSegment(t,r,e,r.segments,n,!0)}expandChildren(t,e,r){const n=[];for(const i of Object.keys(r.children))"primary"===i?n.unshift(i):n.push(i);return Co(n).pipe(_c(i=>{const a=r.children[i],s=DO(e,i);return this.expandSegmentGroup(t,s,a,i).pipe(Je(l=>({segment:l,outlet:i})))}),UA((i,a)=>(i[a.outlet]=a.segment,i),{}),WA())}expandSegment(t,e,r,n,i,a){return Co(r).pipe(_c(s=>this.expandSegmentAgainstRoute(t,e,r,s,n,i,a).pipe(Fs(c=>{if(c instanceof Ry)return Xe(null);throw c}))),wc(s=>!!s),Fs((s,l)=>{if(qx(s))return FO(e,n,i)?Xe(new Qt([],{})):Rm(e);throw s}))}expandSegmentAgainstRoute(t,e,r,n,i,a,s){return TO(n,e,i,a)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,i,a):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,r,n,i,a):Rm(e):Rm(e)}expandSegmentAgainstRouteUsingRedirect(t,e,r,n,i,a){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,n,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,r,n,i,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,r,n){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?PO(i):this.lineralizeSegments(r,i).pipe(yo(a=>{const s=new Qt(a,{});return this.expandSegment(t,s,e,a,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,r,n,i,a){const{matched:s,consumedSegments:l,remainingSegments:c,positionalParamSegments:h}=Zx(e,n,i);if(!s)return Rm(e);const _=this.applyRedirectCommands(l,n.redirectTo,h);return n.redirectTo.startsWith("/")?PO(_):this.lineralizeSegments(n,_).pipe(yo(C=>this.expandSegment(t,e,r,C.concat(c),a,!1)))}matchSegmentAgainstRoute(t,e,r,n,i){return"**"===r.path?(t=xO(r,t),r.loadChildren?(r._loadedRoutes?Xe({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(Je(s=>(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,new Qt(n,{})))):Xe(new Qt(n,{}))):EO(e,r,n,t).pipe(bn(({matched:a,consumedSegments:s,remainingSegments:l})=>a?this.getChildConfig(t=r._injector??t,r,n).pipe(yo(h=>{const _=h.injector??t,C=h.routes,{segmentGroup:k,slicedSegments:A}=Iy(e,s,l,C),B=new Qt(k.segments,k.children);if(0===A.length&&B.hasChildren())return this.expandChildren(_,C,B).pipe(Je(G=>new Qt(s,G)));if(0===C.length&&0===A.length)return Xe(new Qt(s,{}));const z=la(r)===i;return this.expandSegment(_,B,C,A,z?Zt:i,!0).pipe(Je(q=>new Qt(s.concat(q.segments),q.children)))})):Rm(e)))}getChildConfig(t,e,r){return e.children?Xe({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?Xe({routes:e._loadedRoutes,injector:e._loadedInjector}):function WZ(o,t,e,r){const n=t.canLoad;return void 0===n||0===n.length?Xe(!0):Xe(n.map(a=>{const s=oh(a,o);return xc(function IZ(o){return o&&Om(o.canLoad)}(s)?s.canLoad(t,e):o.runInContext(()=>s(t,e)))})).pipe(nh(),kO())}(t,e,r).pipe(yo(n=>n?this.configLoader.loadChildren(t,e).pipe(co(i=>{e._loadedRoutes=i.routes,e._loadedInjector=i.injector})):function QZ(o){return Jp(bO(Oy,3))}())):Xe({routes:[],injector:t})}lineralizeSegments(t,e){let r=[],n=e.root;for(;;){if(r=r.concat(n.segments),0===n.numberOfChildren)return Xe(r);if(n.numberOfChildren>1||!n.children[Zt])return Jp(new be(4e3,Oy));n=n.children[Zt]}}applyRedirectCommands(t,e,r){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,r)}applyRedirectCreateUrlTree(t,e,r,n){const i=this.createSegmentGroup(t,e.root,r,n);return new Vd(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const r={};return Cn(t,(n,i)=>{if("string"==typeof n&&n.startsWith(":")){const s=n.substring(1);r[i]=e[s]}else r[i]=n}),r}createSegmentGroup(t,e,r,n){const i=this.createSegments(t,e.segments,r,n);let a={};return Cn(e.children,(s,l)=>{a[l]=this.createSegmentGroup(t,s,r,n)}),new Qt(i,a)}createSegments(t,e,r,n){return e.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,n):this.findOrReturn(i,r))}findPosParam(t,e,r){const n=r[e.path.substring(1)];if(!n)throw new be(4001,Oy);return n}findOrReturn(t,e){let r=0;for(const n of e){if(n.path===t.path)return e.splice(r),n;r++}return t}}class oX{}class aX{constructor(t,e,r,n,i,a,s,l){this.injector=t,this.rootComponentType=e,this.config=r,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=s,this.urlSerializer=l}recognize(){const t=Iy(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,Zt).pipe(Je(e=>{if(null===e)return null;const r=new Ey([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Zt,this.rootComponentType,null,this.urlTree.root,-1,{}),n=new Cl(r,e),i=new _O(this.url,n);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const e=t.value,r=fO(e,this.paramsInheritanceStrategy);e.params=Object.freeze(r.params),e.data=Object.freeze(r.data),t.children.forEach(n=>this.inheritParamsAndData(n))}processSegmentGroup(t,e,r,n){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,e,r):this.processSegment(t,e,r,r.segments,n)}processChildren(t,e,r){return Co(Object.keys(r.children)).pipe(_c(n=>{const i=r.children[n],a=DO(e,n);return this.processSegmentGroup(t,a,i,n)}),UA((n,i)=>n&&i?(n.push(...i),n):null),function EK(o,t=!1){return zr((e,r)=>{let n=0;e.subscribe(cr(r,i=>{const a=o(i,n++);(a||t)&&r.next(i),!a&&r.complete()}))})}(n=>null!==n),vy(null),WA(),Je(n=>{if(null===n)return null;const i=IO(n);return function sX(o){o.sort((t,e)=>t.value.outlet===Zt?-1:e.value.outlet===Zt?1:t.value.outlet.localeCompare(e.value.outlet))}(i),i}))}processSegment(t,e,r,n,i){return Co(e).pipe(_c(a=>this.processSegmentAgainstRoute(a._injector??t,a,r,n,i)),wc(a=>!!a),Fs(a=>{if(qx(a))return FO(r,n,i)?Xe([]):Xe(null);throw a}))}processSegmentAgainstRoute(t,e,r,n,i){if(e.redirectTo||!TO(e,r,n,i))return Xe(null);let a;if("**"===e.path){const s=n.length>0?KA(n).parameters:{},l=OO(r)+n.length;a=Xe({snapshot:new Ey(n,s,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,LO(e),la(e),e.component??e._loadedComponent??null,e,AO(r),l,BO(e),l),consumedSegments:[],remainingSegments:[]})}else a=EO(r,e,n,t).pipe(Je(({matched:s,consumedSegments:l,remainingSegments:c,parameters:h})=>{if(!s)return null;const _=OO(r)+l.length;return{snapshot:new Ey(l,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,LO(e),la(e),e.component??e._loadedComponent??null,e,AO(r),_,BO(e),_),consumedSegments:l,remainingSegments:c}}));return a.pipe(bn(s=>{if(null===s)return Xe(null);const{snapshot:l,consumedSegments:c,remainingSegments:h}=s;t=e._injector??t;const _=e._loadedInjector??t,C=function lX(o){return o.children?o.children:o.loadChildren?o._loadedRoutes:[]}(e),{segmentGroup:k,slicedSegments:A}=Iy(r,c,h,C.filter(z=>void 0===z.redirectTo),this.relativeLinkResolution);if(0===A.length&&k.hasChildren())return this.processChildren(_,C,k).pipe(Je(z=>null===z?null:[new Cl(l,z)]));if(0===C.length&&0===A.length)return Xe([new Cl(l,[])]);const B=la(e)===i;return this.processSegment(_,C,k,A,B?Zt:i).pipe(Je(z=>null===z?null:[new Cl(l,z)]))}))}}function cX(o){const t=o.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function IO(o){const t=[],e=new Set;for(const r of o){if(!cX(r)){t.push(r);continue}const n=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==n?(n.children.push(...r.children),e.add(n)):t.push(r)}for(const r of e){const n=IO(r.children);t.push(new Cl(r.value,n))}return t.filter(r=>!e.has(r))}function AO(o){let t=o;for(;t._sourceSegment;)t=t._sourceSegment;return t}function OO(o){let t=o,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function LO(o){return o.data||{}}function BO(o){return o.resolve||{}}function NO(o){return"string"==typeof o.title||null===o.title}function Xx(o){return bn(t=>{const e=o(t);return e?Co(e).pipe(Je(()=>t)):Xe(t)})}let HO=(()=>{class o{buildTitle(e){let r,n=e.root;for(;void 0!==n;)r=this.getResolvedTitleForRoute(n)??r,n=n.children.find(i=>i.outlet===Zt);return r}getResolvedTitleForRoute(e){return e.data[xm]}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:function(){return to(VO)},providedIn:"root"}),o})(),VO=(()=>{class o extends HO{constructor(e){super(),this.title=e}updateTitle(e){const r=this.buildTitle(e);void 0!==r&&this.title.setTitle(r)}}return o.\u0275fac=function(e){return new(e||o)(Z(xI))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class _X{}class yX extends class vX{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const By=new me("",{providedIn:"root",factory:()=>({})}),Jx=new me("ROUTES");let Qx=(()=>{class o{constructor(e,r){this.injector=e,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Xe(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const r=xc(e.loadComponent()).pipe(co(i=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=i}),yy(()=>{this.componentLoaders.delete(e)})),n=new YA(r,()=>new Ae).pipe(Tx());return this.componentLoaders.set(e,n),n}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Xe({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(Je(s=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,c,h=!1;Array.isArray(s)?c=s:(l=s.create(e).injector,c=qA(l.get(Jx,[],xt.Self|xt.Optional)));return{routes:c.map(Gx),injector:l}}),yy(()=>{this.childrenLoaders.delete(r)})),a=new YA(i,()=>new Ae).pipe(Tx());return this.childrenLoaders.set(r,a),a}loadModuleFactoryOrRoutes(e){return xc(e()).pipe(yo(r=>r instanceof y4||Array.isArray(r)?Xe(r):Co(this.compiler.compileModuleAsync(r))))}}return o.\u0275fac=function(e){return new(e||o)(Z(Zr),Z(hw))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class CX{}class wX{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function xX(o){throw o}function DX(o,t,e){return t.parse("/")}const MX={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},kX={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function zO(){const o=to(tO),t=to(Sm),e=to(hl),r=to(Zr),n=to(hw),i=to(Jx,{optional:!0})??[],a=to(By,{optional:!0})??{},s=to(VO),l=to(HO,{optional:!0}),c=to(CX,{optional:!0}),h=to(_X,{optional:!0}),_=new qr(null,o,t,e,r,n,qA(i));return c&&(_.urlHandlingStrategy=c),h&&(_.routeReuseStrategy=h),_.titleStrategy=l??s,function EX(o,t){o.errorHandler&&(t.errorHandler=o.errorHandler),o.malformedUriErrorHandler&&(t.malformedUriErrorHandler=o.malformedUriErrorHandler),o.onSameUrlNavigation&&(t.onSameUrlNavigation=o.onSameUrlNavigation),o.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=o.paramsInheritanceStrategy),o.relativeLinkResolution&&(t.relativeLinkResolution=o.relativeLinkResolution),o.urlUpdateStrategy&&(t.urlUpdateStrategy=o.urlUpdateStrategy),o.canceledNavigationResolution&&(t.canceledNavigationResolution=o.canceledNavigationResolution)}(a,_),_}let qr=(()=>{class o{constructor(e,r,n,i,a,s,l){this.rootComponentType=e,this.urlSerializer=r,this.rootContexts=n,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ae,this.errorHandler=xX,this.malformedUriErrorHandler=DX,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>Xe(void 0),this.urlHandlingStrategy=new wX,this.routeReuseStrategy=new yX,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=a.get(Qx),this.configLoader.onLoadEndListener=C=>this.triggerEvent(new lZ(C)),this.configLoader.onLoadStartListener=C=>this.triggerEvent(new sZ(C)),this.ngModule=a.get(Sd),this.console=a.get(mU);const _=a.get(ct);this.isNgZoneEnabled=_ instanceof ct&&ct.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function PK(){return new Vd(new Qt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=mO(this.currentUrlTree,this.rootComponentType),this.transitions=new Jr({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(e){const r=this.events;return e.pipe(Gr(n=>0!==n.id),Je(n=>({...n,extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl)})),bn(n=>{let i=!1,a=!1;return Xe(n).pipe(co(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),bn(s=>{const l=this.browserUrlTree.toString(),c=!this.navigated||s.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return YO(s.source)&&(this.browserUrlTree=s.extractedUrl),Xe(s).pipe(bn(_=>{const C=this.transitions.getValue();return r.next(new Nx(_.id,this.serializeUrl(_.extractedUrl),_.source,_.restoredState)),C!==this.transitions.getValue()?on:Promise.resolve(_)}),function rX(o,t,e,r){return bn(n=>function eX(o,t,e,r,n){return new tX(o,t,e,r,n).apply()}(o,t,e,n.extractedUrl,r).pipe(Je(i=>({...n,urlAfterRedirects:i}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),co(_=>{this.currentNavigation={...this.currentNavigation,finalUrl:_.urlAfterRedirects},n.urlAfterRedirects=_.urlAfterRedirects}),function uX(o,t,e,r,n,i){return yo(a=>function iX(o,t,e,r,n,i,a="emptyOnly",s="legacy"){return new aX(o,t,e,r,n,a,s,i).recognize().pipe(bn(l=>null===l?function nX(o){return new Nt(t=>t.error(o))}(new oX):Xe(l)))}(o,t,e,a.urlAfterRedirects,r.serialize(a.urlAfterRedirects),r,n,i).pipe(Je(s=>({...a,targetSnapshot:s}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),co(_=>{if(n.targetSnapshot=_.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!_.extras.skipLocationChange){const k=this.urlHandlingStrategy.merge(_.urlAfterRedirects,_.rawUrl);this.setBrowserUrl(k,_)}this.browserUrlTree=_.urlAfterRedirects}const C=new rZ(_.id,this.serializeUrl(_.extractedUrl),this.serializeUrl(_.urlAfterRedirects),_.targetSnapshot);r.next(C)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:C,extractedUrl:k,source:A,restoredState:B,extras:z}=s,W=new Nx(C,this.serializeUrl(k),A,B);r.next(W);const q=mO(k,this.rootComponentType).snapshot;return Xe(n={...s,targetSnapshot:q,urlAfterRedirects:k,extras:{...z,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=s.rawUrl,s.resolve(null),on}),co(s=>{const l=new oZ(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot);this.triggerEvent(l)}),Je(s=>n={...s,guards:EZ(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function NZ(o,t){return yo(e=>{const{targetSnapshot:r,currentSnapshot:n,guards:{canActivateChecks:i,canDeactivateChecks:a}}=e;return 0===a.length&&0===i.length?Xe({...e,guardsResult:!0}):function HZ(o,t,e,r){return Co(o).pipe(yo(n=>function UZ(o,t,e,r,n){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?Xe(i.map(s=>{const l=Pm(t)??n,c=oh(s,l);return xc(function RZ(o){return o&&Om(o.canDeactivate)}(c)?c.canDeactivate(o,t,e,r):l.runInContext(()=>c(o,t,e,r))).pipe(wc())})).pipe(nh()):Xe(!0)}(n.component,n.route,e,t,r)),wc(n=>!0!==n,!0))}(a,r,n,o).pipe(yo(s=>s&&function PZ(o){return"boolean"==typeof o}(s)?function VZ(o,t,e,r){return Co(t).pipe(_c(n=>Xp(function zZ(o,t){return null!==o&&t&&t(new cZ(o)),Xe(!0)}(n.route.parent,r),function $Z(o,t){return null!==o&&t&&t(new uZ(o)),Xe(!0)}(n.route,r),function jZ(o,t,e){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(a=>function TZ(o){const t=o.routeConfig?o.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:o,guards:t}:null}(a)).filter(a=>null!==a).map(a=>wm(()=>Xe(a.guards.map(l=>{const c=Pm(a.node)??e,h=oh(l,c);return xc(function OZ(o){return o&&Om(o.canActivateChild)}(h)?h.canActivateChild(r,o):c.runInContext(()=>h(r,o))).pipe(wc())})).pipe(nh())));return Xe(i).pipe(nh())}(o,n.path,e),function YZ(o,t,e){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Xe(!0);const n=r.map(i=>wm(()=>{const a=Pm(t)??e,s=oh(i,a);return xc(function AZ(o){return o&&Om(o.canActivate)}(s)?s.canActivate(t,o):a.runInContext(()=>s(t,o))).pipe(wc())}));return Xe(n).pipe(nh())}(o,n.route,e))),wc(n=>!0!==n,!0))}(r,i,o,t):Xe(s)),Je(s=>({...e,guardsResult:s})))})}(this.ngModule.injector,s=>this.triggerEvent(s)),co(s=>{if(n.guardsResult=s.guardsResult,zd(s.guardsResult))throw yO(0,s.guardsResult);const l=new nZ(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.triggerEvent(l)}),Gr(s=>!!s.guardsResult||(this.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),Xx(s=>{if(s.guards.canActivateChecks.length)return Xe(s).pipe(co(l=>{const c=new iZ(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),bn(l=>{let c=!1;return Xe(l).pipe(function pX(o,t){return yo(e=>{const{targetSnapshot:r,guards:{canActivateChecks:n}}=e;if(!n.length)return Xe(e);let i=0;return Co(n).pipe(_c(a=>function hX(o,t,e,r){const n=o.routeConfig,i=o._resolve;return void 0!==n?.title&&!NO(n)&&(i[xm]=n.title),function gX(o,t,e,r){const n=function mX(o){return[...Object.keys(o),...Object.getOwnPropertySymbols(o)]}(o);if(0===n.length)return Xe({});const i={};return Co(n).pipe(yo(a=>function fX(o,t,e,r){const n=Pm(t)??r,i=oh(o,n);return xc(i.resolve?i.resolve(t,e):n.runInContext(()=>i(t,e)))}(o[a],t,e,r).pipe(wc(),co(s=>{i[a]=s}))),Fx(1),Sx(i),Fs(a=>qx(a)?on:Jp(a)))}(i,o,t,r).pipe(Je(a=>(o._resolvedData=a,o.data=fO(o,e).resolve,n&&NO(n)&&(o.data[xm]=n.title),null)))}(a.route,r,o,t)),co(()=>i++),Fx(1),yo(a=>i===n.length?Xe(e):on))})}(this.paramsInheritanceStrategy,this.ngModule.injector),co({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),co(l=>{const c=new aZ(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),Xx(s=>{const l=c=>{const h=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(c.routeConfig).pipe(co(_=>{c.component=_}),Je(()=>{})));for(const _ of c.children)h.push(...l(_));return h};return Cm(l(s.targetSnapshot.root)).pipe(vy(),mr(1))}),Xx(()=>this.afterPreactivation()),Je(s=>{const l=function fZ(o,t,e){const r=Fm(o,t._root,e?e._root:void 0);return new gO(r,t)}(this.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return n={...s,targetRouterState:l}}),co(s=>{this.currentUrlTree=s.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&(s.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,s),this.browserUrlTree=s.urlAfterRedirects)}),((o,t,e)=>Je(r=>(new kZ(t,r.targetRouterState,r.currentRouterState,e).activate(o),r)))(this.rootContexts,this.routeReuseStrategy,s=>this.triggerEvent(s)),co({next(){i=!0},complete(){i=!0}}),yy(()=>{i||a||this.cancelNavigationTransition(n,"",1),this.currentNavigation?.id===n.id&&(this.currentNavigation=null)}),Fs(s=>{if(a=!0,wO(s)){CO(s)||(this.navigated=!0,this.restoreHistory(n,!0));const l=new ky(n.id,this.serializeUrl(n.extractedUrl),s.message,s.cancellationCode);if(r.next(l),CO(s)){const c=this.urlHandlingStrategy.merge(s.url,this.rawUrlTree),h={skipLocationChange:n.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||YO(n.source)};this.scheduleNavigation(c,"imperative",null,h,{resolve:n.resolve,reject:n.reject,promise:n.promise})}else n.resolve(!1)}else{this.restoreHistory(n,!0);const l=new uO(n.id,this.serializeUrl(n.extractedUrl),s,n.targetSnapshot??void 0);r.next(l);try{n.resolve(this.errorHandler(s))}catch(c){n.reject(c)}}return on}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const r="popstate"===e.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{const n={replaceUrl:!0},i=e.state?.navigationId?e.state:null;if(i){const s={...i};delete s.navigationId,delete s.\u0275routerPageId,0!==Object.keys(s).length&&(n.state=s)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,r,i,n)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(Gx),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,r={}){const{relativeTo:n,queryParams:i,fragment:a,queryParamsHandling:s,preserveFragment:l}=r,c=n||this.routerState.root,h=l?this.currentUrlTree.fragment:a;let _=null;switch(s){case"merge":_={...this.currentUrlTree.queryParams,...i};break;case"preserve":_=this.currentUrlTree.queryParams;break;default:_=i||null}return null!==_&&(_=this.removeEmptyProps(_)),ZK(c,this.currentUrlTree,e,_,h??null)}navigateByUrl(e,r={skipLocationChange:!1}){const n=zd(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,r)}navigate(e,r={skipLocationChange:!1}){return function TX(o){for(let t=0;t{const i=e[n];return null!=i&&(r[n]=i),r},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new bl(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,r,n,i,a){if(this.disposed)return Promise.resolve(!1);let s,l,c;a?(s=a.resolve,l=a.reject,c=a.promise):c=new Promise((C,k)=>{s=C,l=k});const h=++this.navigationId;let _;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),_=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):_=0,this.setTransition({id:h,targetPageId:_,source:r,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:s,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(C=>Promise.reject(C))}setBrowserUrl(e,r){const n=this.urlSerializer.serialize(e),i={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(n)||r.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}restoreHistory(e,r=!1){if("computed"===this.canceledNavigationResolution){const n=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===n?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===n&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(n)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,r,n){const i=new ky(e.id,this.serializeUrl(e.extractedUrl),r,n);this.triggerEvent(i),e.resolve(!1)}generateNgRouterState(e,r){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}}return o.\u0275fac=function(e){Ip()},o.\u0275prov=se({token:o,factory:function(){return zO()},providedIn:"root"}),o})();function YO(o){return"imperative"!==o}class jO{}let PX=(()=>{class o{constructor(e,r,n,i,a){this.router=e,this.injector=n,this.preloadingStrategy=i,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Gr(e=>e instanceof bl),_c(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){const n=[];for(const i of r){i.providers&&!i._injector&&(i._injector=Iv(i.providers,e,`Route: ${i.path}`));const a=i._injector??e,s=i._loadedInjector??a;i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent?n.push(this.preloadConfig(a,i)):(i.children||i._loadedRoutes)&&n.push(this.processRoutes(s,i.children??i._loadedRoutes))}return Co(n).pipe(dr())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let n;n=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(e,r):Xe(null);const i=n.pipe(yo(a=>null===a?Xe(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));return r.loadComponent&&!r._loadedComponent?Co([i,this.loader.loadComponent(r)]).pipe(dr()):i})}}return o.\u0275fac=function(e){return new(e||o)(Z(qr),Z(hw),Z(oc),Z(jO),Z(Qx))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const rD=new me("");let UO=(()=>{class o{constructor(e,r,n={}){this.router=e,this.viewportScroller=r,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Nx?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof bl&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof pO&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.router.triggerEvent(new pO(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return o.\u0275fac=function(e){Ip()},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();function ih(o,t){return{\u0275kind:o,\u0275providers:t}}function oD(o){return[{provide:Jx,multi:!0,useValue:o}]}function GO(){const o=to(Zr);return t=>{const e=o.get(hc);if(t!==e.components[0])return;const r=o.get(qr),n=o.get(qO);1===o.get(nD)&&r.initialNavigation(),o.get(KO,null,xt.Optional)?.setUpPreloading(),o.get(rD,null,xt.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),n.next(),n.complete()}}const qO=new me("",{factory:()=>new Ae}),nD=new me("",{providedIn:"root",factory:()=>1});const KO=new me("");function RX(o){return ih(0,[{provide:KO,useExisting:PX},{provide:jO,useExisting:o}])}const ZO=new me("ROUTER_FORROOT_GUARD"),LX=[hl,{provide:tO,useClass:Ix},{provide:qr,useFactory:zO},Sm,{provide:_o,useFactory:function WO(o){return o.routerState.root},deps:[qr]},Qx];function BX(){return new hP("Router",qr)}let $y=(()=>{class o{constructor(e){}static forRoot(e,r){return{ngModule:o,providers:[LX,[],oD(e),{provide:ZO,useFactory:$X,deps:[[qr,new Ia,new ol]]},{provide:By,useValue:r||{}},r?.useHash?{provide:Od,useClass:oW}:{provide:Od,useClass:NP},{provide:rD,useFactory:()=>{const o=to(qr),t=to(gG),e=to(By);return e.scrollOffset&&t.setOffset(e.scrollOffset),new UO(o,t,e)}},r?.preloadingStrategy?RX(r.preloadingStrategy).\u0275providers:[],{provide:hP,multi:!0,useFactory:BX},r?.initialNavigation?zX(r):[],[{provide:XO,useFactory:GO},{provide:aP,multi:!0,useExisting:XO}]]}}static forChild(e){return{ngModule:o,providers:[oD(e)]}}}return o.\u0275fac=function(e){return new(e||o)(Z(ZO,8))},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Ux]}),o})();function $X(o){return"guarded"}function zX(o){return["disabled"===o.initialNavigation?ih(3,[{provide:Lv,multi:!0,useFactory:()=>{const t=to(qr);return()=>{t.setUpLocationChangeListener()}}},{provide:nD,useValue:2}]).\u0275providers:[],"enabledBlocking"===o.initialNavigation?ih(2,[{provide:nD,useValue:0},{provide:Lv,multi:!0,deps:[Zr],useFactory:t=>{const e=t.get(tW,Promise.resolve());let r=!1;return()=>e.then(()=>new Promise(i=>{const a=t.get(qr),s=t.get(qO);(function n(i){t.get(qr).events.pipe(Gr(s=>s instanceof bl||s instanceof ky||s instanceof uO),Je(s=>s instanceof bl||s instanceof ky&&(0===s.code||1===s.code)&&null),Gr(s=>null!==s),mr(1)).subscribe(()=>{i()})})(()=>{i(!0),r=!0}),a.afterPreactivation=()=>(i(!0),r||s.closed?Xe(void 0):s),a.initialNavigation()}))}}]).\u0275providers:[]]}const XO=new me("");let Hi=(()=>{class o{constructor(){}setItemAsync(e,r){return new Promise(i=>{window.localStorage.setItem(e,r),i(!0)})}getItemAsync(e,r){return new Promise(i=>{let a=window.localStorage.getItem(e);return i(null!=a||null==r?a:r)})}removeItemAsync(e){return new Promise(n=>{window.localStorage.removeItem(e),n(!0)})}clearAsync(){return console.log("[NativeStorage__ClearAsync]"),console.trace(),new Promise(r=>{let n=window.localStorage.getItem("loginRedirect"),i=window.localStorage.getItem("app_user_org");window.localStorage.clear(),i&&window.localStorage.setItem("previous_app_user_org",i),n&&window.localStorage.setItem("loginRedirect",n),r(!0)})}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Yd=(()=>{class o{constructor(e,r,n,i){this.storage=e,this.location=r,this.router=n,this.route=i,this.history=[],this.currentUrl=new Jr(void 0),this._breadCrumbsUpdated$=new pt,this._breadCrumbs=[],this._headerNameUpdated$=new pt,this._moduleUpdated$=new pt,this._areaUpdated$=new pt,this._pageUpdated$=new pt,this.router.events.subscribe(a=>{a instanceof bl&&(a.urlAfterRedirects!=this.history[this.history.length-1]&&this.history.push(a.urlAfterRedirects),this.currentUrl.next(a.urlAfterRedirects))})}closeNav(){this.appDrawer.close()}openNav(){this.appDrawer.open()}setBreadCrumbs(e){this.reset(),this._breadCrumbs=e,this._breadCrumbsUpdated$.next(this._breadCrumbs)}push(e,r,n,i=!1){this._breadCrumbs.push({title:e,icon:n,route:r,current:i}),this._breadCrumbsUpdated$.next(this._breadCrumbs)}pop(){return window.history.pushState(null,null,window.location.href),this._breadCrumbsUpdated$.next(this._breadCrumbs),this._breadCrumbs.pop()}handle(e){var r=this;return E(function*(){e=e.substring(1);let n=JSON.parse(yield r.storage.getItemAsync(`module_${He.moduleRouteHome}`));if(!n)return;let i=e.split("/");if("areas"==i[1]){r.reset();let a=i[2],s=n.areas.find(l=>l.key==a);r.push(s.cardTitle,[He.moduleRouteHome,"areas",a],s.cardIcon,!0)}else{let a=i[1],s=n.areas.find(l=>l.key==a);if(s&&(r.reset(),s.pages.length>0?r.push(s.cardTitle,[He.moduleRouteHome,"areas",a],s.cardIcon):r.push(s.cardTitle,[He.moduleRouteHome,a],s.cardIcon,!0),i.length>2)){let l=i[2],c=s.pages.find(h=>h.key==l);c&&r.push(c.cardTitle,[He.moduleRouteHome,s.key,c.key],c.cardIcon,!0)}}})()}setHeaderName(e){this.headerName=e,this._headerNameUpdated$.next(e)}setModule(e){this.module=e,this._moduleUpdated$.next(e)}setArea(e){this.area=e,this._areaUpdated$.next(e)}setPage(e){this.page=e,this._pageUpdated$.next(e)}gotoLogin(e){var r=this;return E(function*(){yield r.storage.clearAsync(),e&&(yield r.storage.setItemAsync("loginRedirect",e)),He.production?r.gotoPath("/auth/login"):r.router.navigate([He.moduleRouteHome,"login"]),console.log("should go to login.")})()}gotoAreaHome(e){this.areaHome=e,this.router.navigate([He.moduleRouteHome,"areas",e])}gotoModuleHome(){this.router.navigate([He.moduleRouteHome])}navigation(e){this.router.navigate(e)}goto(e,r){console.log("going to route=> ",e),this.router.navigate(e,r)}gotoHome(){He.production?window.location.href="home":this.router.navigate([He.moduleRouteHome])}gotoPath(e){let r=e.split("/");r[0]==He.moduleRouteHome?this.goto(r):window.location.href=e}back(e){console.log(this.history),this.history.pop(),this.history.length>0?this.location.back():e?this.gotoPath(e):this.areaHome?this.gotoAreaHome(this.areaHome):this.gotoModuleHome()}reset(){for(;this._breadCrumbs.length>0;)this._breadCrumbs.pop();this._breadCrumbsUpdated$.next(this._breadCrumbs)}get breadcrumbs(){return this._breadCrumbs}onHeaderNameChanged(){return this._headerNameUpdated$.asObservable()}onModuleChanged(){return this._moduleUpdated$.asObservable()}onBreadCrumbChanged(){return this._breadCrumbsUpdated$.asObservable()}onAreaChanged(){return this._areaUpdated$.asObservable()}onPageChanged(){return this._pageUpdated$.asObservable()}top(){return this._breadCrumbs[this._breadCrumbs.length-1]}setLocation(e){this.location.go(e)}goBack(){this.location.back()}openInNewWindow(e){window.open(e)}getCurrentUrl(){return this.router.url}goToLogin(){window.location.href=He.production?"auth/login":`${He.moduleRouteHome}/login`}goToLogout(){window.location.href=He.production?"auth/login":`${He.moduleRouteHome}/logout`}}return o.\u0275fac=function(e){return new(e||o)(Z(Hi),Z(hl),Z(qr),Z(_o))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Lm=(()=>{class o{constructor(){this._activeCallCount=0,this._loadingMessages=[],this._activeCalls=new Jr(this._loadingMessages),this._endCalls=new Jr(this._loadingMessages)}onCallBegin(){return this._activeCalls.asObservable()}onCallEnd(){return this._endCalls.asObservable()}beginCall(e="?"){this._activeCallCount++,this._loadingMessages.push("loading"),this._activeCalls.next(this._loadingMessages)}endCall(){this._activeCallCount--,this._loadingMessages.pop(),this._activeCallCount<0&&(this._activeCallCount=0),0==this._activeCallCount&&this._endCalls.next(this._loadingMessages)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),jd=(()=>{class o{constructor(){this._errorMsgs=[],this._errorMsgs$=new Jr(this._errorMsgs)}onErrMsgs(){return this._errorMsgs$.asObservable()}addErrors(e){e&&(console.log("ErrorReporterService.addErrors",e),this._errorMsgs$.next(e))}addError(e){this._errorMsgs$.next([e])}addErrorMessage(e){this._errorMsgs$.next([{message:e}])}addMessage(e){this.addError({message:e})}addMessages(e){const r=[];for(const n of e)r.push({message:n});this.addErrors(r)}clearErrors(){this._errorMsgs$.next(null)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class Ft{constructor(t,e,r,n,i,a){this.http=t,this.navService=e,this.location=r,this.storage=n,this.networkCallService=i,this.errorReporter=a}setForOhOneHandler(t){this._401Handler=t}static enableCache(){Ft.cacheEnabled=!0,window.localStorage.setItem("nuviotClientCacheEnabled","true")}static disableCache(){Ft.cacheEnabled=!1,window.localStorage.setItem("nuviotClientCacheEnabled","false")}redirectToLogin(){var t=this;return E(function*(){let e="true"===(yield t.storage.getItemAsync("redirecting"));yield t.storage.clearAsync(),e||(t.storage.setItemAsync("loginRedirect",t.location.path()),t.storage.setItemAsync("redirecting","true")),He.production?t.navService.gotoPath("/auth/welcome"):t.navService.goto([He.moduleRouteHome,"login"])})()}getFullUrl(t){if(t.startsWith("/")&&(t=t.substring(1)),t.toLowerCase().startsWith("http"))return Ft.cacheEnabled?t:this.appendCacheAbort(t);const e=`${He.siteUri}/${t}`;return Ft.cacheEnabled?e:this.appendCacheAbort(e)}appendCacheAbort(t){if(t.toLowerCase().includes("cache-abort=true"))return t;const e=t.includes("?")?"&":"?";return`${t}${e}cache-abort=true`}createGuidAsync(){return new Promise((e,r)=>{this.http.get(this.getFullUrl("/api/utils/guid/new")).subscribe({next:n=>{e(n)},error:n=>{r(n)}})})}createNuvIoTIdAsync(){return new Promise((e,r)=>{this.http.get(this.getFullUrl("/api/utils/nuviot/id/new"),{responseType:"text"}).subscribe(n=>e(n))})}handleResponse(t,e=!0,r=!0){var i,n=this;return{next:i=>{e&&this.networkCallService.endCall(),i.redirectURL&&i.redirectURL!=window.location.pathname?(this.navService.gotoPath(i.redirectURL),t(i)):0==i.successful?this.errorReporter.addErrors(i.errors):t(i)},error:(i=E(function*(a){e&&n.networkCallService.endCall(),401==a.status?n._401Handler?n._401Handler.handle():yield n.redirectToLogin():r&&n.errorReporter.addMessage(a.message),t({successful:!1,warnings:[],errors:[{message:a.message}]})}),function(s){return i.apply(this,arguments)})}}getMarkDownContent(t){return new Promise((n,i)=>{const a=new XMLHttpRequest;a.onreadystatechange=function(){4===this.readyState&&200===this.status&&n(a.responseText)},a.open("GET",`https://raw.githubusercontent.com/LagoVista/docs/master/guides${t}`,!0),a.send()})}getBlobResponse(t,e){const r=document.createElement("a");return r.style.display="none",document.body.appendChild(r),r.setAttribute("href",this.getFullUrl(t)),r.setAttribute("target","_blank"),r.setAttribute("download",e),r.click(),document.body.removeChild(r),null}getDateFilterHeaders(t,e){return[{"x-filter-startdate":t},{"x-filter-enddate":e}]}getListResponse(t,e=null,r=!0){var n=this;t.startsWith("/")&&(t=t.substring(1));let i=new Va;return e&&(e.start&&(i=i.append("x-filter-startdate",e.start)),e.end&&(i=i.append("x-filter-enddate",e.end)),e.groupBy&&(i=i.append("x-group-by",e.groupBy)),e.showDrafts&&(i=i.append("x-show-drafts",e.showDrafts.toString())),e.showDeleted&&(i=i.append("x-show-deleted",e.showDeleted.toString())),e.groupBySize&&(i=i.append("x-group-by-size",e.groupBySize.toString())),e.nextPartitionKey&&(i=i.append("x-nextpartitionkey",e.nextPartitionKey)),e.nextRowKey&&(i=i.append("x-nextrowkey",e.nextRowKey)),e.pageSize&&(i=i.append("x-pagesize",e.pageSize.toString())),e.pageIndex&&(i=i.append("x-pageindex",e.pageIndex.toString())),e.categoryKey&&(i=i.append("x-categorykey",e.categoryKey))),r&&this.networkCallService.beginCall(),new Promise((a,s)=>{var l;this.http.get(this.getFullUrl(t),{headers:i}).subscribe({next:l=>{r&&this.networkCallService.endCall(),l.successful?(l.setFilteredItems=c=>{l.filteredItems=c,l.refresh&&l.refresh()},l.clearFilteredItems=()=>{l.filteredItems=void 0,l.refresh&&l.refresh()},a(l)):(this.errorReporter.addErrors(l.errors),a(l))},error:(l=E(function*(c){r&&n.networkCallService.endCall(),401==c.status?n._401Handler?n._401Handler.handle():yield n.redirectToLogin():n.errorReporter.addMessage(c.message),a({successful:!1,errors:[{message:c.message}]})}),function(h){return l.apply(this,arguments)})})})}requestForInvokeResultEx(t,e=!0){return e&&this.networkCallService.beginCall(t),new Promise((r,n)=>{this.http.get(this.getFullUrl(t)).subscribe(this.handleResponse(r,e))})}request(t,e=!0,r=!0){return e&&this.networkCallService.beginCall(t),new Promise((n,i)=>{this.http.get(this.getFullUrl(t)).subscribe(this.handleResponse(n,e,r))})}get(t){return this.networkCallService.beginCall(t),new Promise((e,r)=>{this.http.get(this.getFullUrl(t)).subscribe(this.handleResponse(e))})}getFormResponse(t,e=!0){return e&&this.networkCallService.beginCall(t),new Promise((r,n)=>{this.http.get(this.getFullUrl(t)).subscribe(this.handleResponse(r,e))})}formPost(t,e){return this.networkCallService.beginCall(),new Promise((r,n)=>{this.http.post(this.getFullUrl(t),e).subscribe(this.handleResponse(r))})}post(t,e){return this.postWithResponse(t,e)}insert(t,e,r=!0){return r&&this.networkCallService.beginCall(t),new Promise((n,i)=>{this.http.post(this.getFullUrl(t),e).subscribe(this.handleResponse(n,r))})}postWithResponse(t,e,r=!0){return r&&this.networkCallService.beginCall(t),new Promise((n,i)=>{this.http.post(this.getFullUrl(t),e).subscribe(this.handleResponse(n,r))})}postRaw(t,e,r=!0){return r&&this.networkCallService.beginCall(t),new Promise((i,a)=>{this.http.post(this.getFullUrl(t),e).subscribe(this.handleResponse(i,r))})}postForListResponse(t,e){return this.networkCallService.beginCall(t),new Promise((r,n)=>{this.http.post(this.getFullUrl(t),e).subscribe(this.handleResponse(r))})}updateWithResponse(t,e,r=!0){return r&&this.networkCallService.beginCall(t),new Promise((n,i)=>{this.http.put(this.getFullUrl(t),e).subscribe(this.handleResponse(n,r))})}updateWithFormResponse(t,e,r=!0){return r&&this.networkCallService.beginCall(t),new Promise((n,i)=>{this.http.put(this.getFullUrl(t),e).subscribe(this.handleResponse(n,r))})}update(t,e,r=!0,n=!0){return r&&this.networkCallService.beginCall(t),new Promise((i,a)=>{this.http.put(this.getFullUrl(t),e).subscribe(this.handleResponse(i,r,n))})}delete(t){return this.networkCallService.beginCall(t),new Promise((e,r)=>{this.http.delete(this.getFullUrl(t)).subscribe(this.handleResponse(e))})}deleteWithResponse(t,e=!0){return e&&this.networkCallService.beginCall(t),new Promise((r,n)=>{this.http.delete(this.getFullUrl(t)).subscribe(this.handleResponse(r,e))})}postWithStreamNdjson(t,e,r,n=!0,i){var a=this;return new Promise(function(){var s=E(function*(l){let c=null;try{const h=yield fetch(a.getFullUrl(t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e),signal:i,credentials:"include"});if(401===h.status)return a._401Handler?a._401Handler.handle():yield a.redirectToLogin(),r({kind:"error",errorMessage:"Not authorized. Please log in again."}),void l({successful:!1,warnings:[],errors:[{message:"Not authorized. Please log in again."}]});if(!h.ok){const B=yield h.text().catch(()=>"");return r({kind:"error",errorMessage:h.statusText||`HTTP ${h.status}`}),void l({successful:!1,warnings:[],errors:[{message:B||h.statusText||`Request failed: HTTP ${h.status}`}]})}const _=h.body;if(!_)return r({kind:"error",errorMessage:"Streaming response body is not available."}),void l({successful:!1,warnings:[],errors:[{message:"Streaming response body is not available."}]});const C=_.getReader?.();if(!C)return r({kind:"error",errorMessage:"Streaming is not supported in this environment."}),void l({successful:!1,warnings:[],errors:[{message:"Streaming is not supported in this environment."}]});const k=new TextDecoder;let A="";for(;;){const{done:B,value:z}=yield C.read();if(B)break;let W;for(A+=k.decode(z,{stream:!0});(W=A.indexOf("\n"))>=0;){const q=A.slice(0,W).trim();if(A=A.slice(W+1),q)try{const G=JSON.parse(q);r(G),"final"===G.kind&&G.final&&(c=G.final)}catch{}}}}catch(h){return"AbortError"===h?.name?void l({successful:!1,warnings:[],errors:[{message:"Request aborted."}]}):(r({kind:"error",errorMessage:"Unexpected error while streaming response."}),void l({successful:!1,warnings:[],errors:[{message:h?.message??"Unexpected error while streaming response."}]}))}if(!c)return r({kind:"error",errorMessage:"No final event received from server."}),void l({successful:!1,warnings:[],errors:[{message:"No final event received from server."}]});l(c)});return function(l){return s.apply(this,arguments)}}())}}Ft.cacheEnabled="false"!==window.localStorage.getItem("nuviotClientCacheEnabled"),Ft.\u0275fac=function(t){return new(t||Ft)(Z(Es),Z(Yd),Z(hl),Z(Hi),Z(Lm),Z(jd))},Ft.\u0275prov=se({token:Ft,factory:Ft.\u0275fac,providedIn:"root"});let jX=(()=>{class o{constructor(e){this.nuviotClient=e,this._ownerList=[],this._channelToken="--channel--",this._idToken="--id--",this._wsUrlFormat=`api/wsuri/${this._channelToken}/${this._idToken}/normal`,this.debug=!1}destroy(e){this.debug&&console.log("current collection count: ",this._ownerList.length),this.debug&&console.log("removing SLWebSocket from collection: ",e.url),e.socket.close(),this._ownerList=this._ownerList.filter(r=>r.slWebSocketId!=e.slWebSocketId),this.debug&&console.log("updated collection count: ",this._ownerList.length),this.debug&&console.log("remaining sockets:"),this._ownerList.forEach(r=>{this.debug&&console.log("--\x3e owner | url:",`${r.owner} | ${r.url}`)}),this.debug&&console.log("************"),this.debug&&console.log("")}formatUri(e,r){return this._wsUrlFormat.replace(this._channelToken,e).replace(this._idToken,r)}openSLSocket(e,r,n){var i=this;return E(function*(){const a=i.formatUri(r,n);try{const s={slWebSocketId:Dt.newGuid(),owner:e,socket:yield i.openWebSocket(a),url:a};return i.debug&&console.log("current collection count: ",i._ownerList.length),i.debug&&console.log("adding new SLWebSocket to collection: ",s.url),i._ownerList.push(s),i.debug&&console.log("updated collection count: ",i._ownerList.length),s}catch{return}})()}openSLSocketWithUri(e,r){var n=this;return E(function*(){try{const i={slWebSocketId:Dt.newGuid(),owner:e,socket:yield n.openWebSocket(r),url:r};return n.debug&&console.log("current collection count: ",n._ownerList.length),n.debug&&console.log("adding new SLWebSocket to collection: ",i.url),n._ownerList.push(i),n.debug&&console.log("updated collection count: ",n._ownerList.length),i}catch{return}})()}openWebSocket(e){return new Promise((n,i)=>{this.nuviotClient.requestForInvokeResultEx(e,!1).then(a=>{const s=a.result;if(a.successful){this.debug&&console.log("Open Channel:",s);const l=new WebSocket(s);l.onopen=c=>{this.debug&&console.log("ws opened"),n(l)},l.onerror=c=>{this.debug&&console.log("ERROR OPEN SOCKET"),this.debug&&console.log(c),i("Failed to open channel")}}else this.debug&&console.log("fail to get socket url."),i("Failed to open channel")})})}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),iD=(()=>{class o{constructor(){}get(e){let a,r=document.cookie.split(";"),n=r.length,i=`${e}=`;for(let s=0;s{class o{constructor(e,r,n,i,a,s,l,c,h,_){this.http=e,this.clientService=r,this.errorReporter=n,this.storage=i,this.nativeStorage=a,this.networkCallService=s,this.notificationService=l,this.cookieService=c,this.navService=h,this._activatedRoute=_,this._isLoggedIn$=new pt(0),this._org$=new pt(null),this._user$=new pt(null),this._users$=new pt(null),this._activeUserFavoriteCall=0,this._activeUserMruCall=0,this.SL_ORG_IDS=["AA2C78499D0140A5A9CE4B7581EF9691","C8AD4589F26842E7A1AEFBAEFC979C9B"],this._activeOrgCall=0,this.queryParams=Object.keys(this._activatedRoute.snapshot.queryParams).length>0?this._activatedRoute.snapshot.queryParams:{};const C={};if(this.hasParams())C.queryParamsHandling="preserve";else if(window.location.href.search){const k=this;location.search.substr(1).replace("==","`").split("&").forEach(function(A){const B=A.split("=");""!==B[0]&&(k.queryParams[B[0]]=B[1].replace("`","=="))}),this.hasParams()&&(C.queryParams=this.queryParams)}}getIsLoggedIn(){var e=this;return E(function*(){return"true"==e.cookieService.get("authenticated")?(yield e.nativeStorage.setItemAsync("is_logged_in","login_true"),!0):"login_true"==(yield e.nativeStorage.getItemAsync("is_logged_in"))})()}setIsLoggedIn(e){var r=this;return E(function*(){return r._isLoggedIn$.next(e),yield r.nativeStorage.setItemAsync("is_logged_in",e?"login_true":"login_false")})()}registerLocalUser(e){var r=this;return E(function*(){yield r.setOrg(e.currentOrganization),yield r.setUser(e),yield r.setIsLoggedIn(!0),yield r.getUserFavorites(),yield r.getMRU(),e.currentOrganization&&(yield r.refreshUserOrganization()),yield r.storage.removeItemAsync("active_user_summary_basic")})()}loadCurrentUser(){var e=this;return E(function*(){const r=yield e.clientService.request("/api/user");if(r.successful)return console.log(`response - ${r.successful} - ${r.model.currentOrganization}`),yield e.registerLocalUser(r.model),r.model;window.location.href=He.production?"/Account/Login":"/login"})()}getUserFavoritesForOrg(e){var r=this;return E(function*(){let n=yield r.nativeStorage.getItemAsync(`user_favorites_${e}`);if(n)return JSON.parse(n);if(r._activeUserFavoriteCall>0)return;r._activeUserFavoriteCall++;let i=yield r.clientService.request("/api/user/favorites",!1);return yield r.nativeStorage.setItemAsync(`user_favorites_${e}`,JSON.stringify(i.result)),r._activeUserFavoriteCall=0,i.result})()}getUserFavorites(){var e=this;return E(function*(){let r=yield e.getCurrentOrg();return new Promise(function(){var i=E(function*(a,s){if(r){let l=window.setInterval(E(function*(){let c=yield e.getUserFavoritesForOrg(r.id);c&&(a(c),window.clearInterval(l))}),50)}else a({favorites:[],modules:[]})});return function(a,s){return i.apply(this,arguments)}}())})()}getMruForOrg(e){var r=this;return E(function*(){let n=yield r.nativeStorage.getItemAsync(`user_mru_${e}`);if(n)return JSON.parse(n);if(r._activeUserMruCall>0)return;r._activeUserMruCall++;let i=yield r.clientService.request("/api/mru");if(i.successful)return yield r.nativeStorage.setItemAsync(`user_mru_${e}`,JSON.stringify(i.result)),r._activeUserMruCall=0,i.result;throw"could not load mru"})()}getMRU(){var e=this;return E(function*(){let r=yield e.getCurrentOrg();return new Promise(function(){var i=E(function*(a,s){if(r){let l=window.setInterval(E(function*(){let c=yield e.getMruForOrg(r.id);c&&(a(c),window.clearInterval(l))}),50)}else a({all:[],modules:[]})});return function(a,s){return i.apply(this,arguments)}}())})()}removeExternalLogin(e){var r=this;return E(function*(){return r.clientService.deleteWithResponse(`/api/user/externallogin/${e}`)})()}loadCurrentUserIfNecessary(){var e=this;return E(function*(){return(yield e.getUser())||(yield e.getIsLoggedIn())?null:yield e.loadCurrentUser()})()}updateCoreInfo(e){var r=this;return E(function*(){yield r.clientService.update("/api/user/coreinfo",e)})()}hasParams(){return Object.keys(this.queryParams).length>0}clearLocalState(){var e=this;return E(function*(){yield e.nativeStorage.clearAsync();for(var r=document.cookie.split(";"),n=0;n-1?i.substr(0,a):i;document.cookie=s+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}})()}logout(e=!0){var r=this;return E(function*(){return!(yield r.getIsLoggedIn())||(e&&r.networkCallService.beginCall(),new Promise((i,a)=>{var l;r.http.get(`${He.siteUri}/api/v1/logoff`).subscribe({next:(l=E(function*(c){e&&r.networkCallService.endCall(),yield r.clearLocalState(),r.setUser(null),yield r.setIsLoggedIn(!1),i(!0)}),function(h){return l.apply(this,arguments)}),error:function(){var l=E(function*(c){e&&r.networkCallService.endCall(),yield r.clearLocalState(),r.setUser(null),yield r.setIsLoggedIn(!1),i(!0)});return function(h){return l.apply(this,arguments)}}()})}))})()}getOrgsForCurrentUser(){return this.clientService.getListResponse("/api/user/orgs")}acceptTermsAndConditions(){var e=this;return E(function*(){let r=yield e.clientService.request("/api/user/accepttc");return r.successful&&e.setUser(r.result),r})()}changeOrganization(e){var r=this;return E(function*(){try{return!!(yield r.clientService.get(`/api/org/${e}/change`)).successful&&(yield r.loadCurrentUser(),!0)}catch{return!1}})()}auth(e,r){var n=this;return E(function*(){let i={GrantType:"password",AppInstanceId:"webapp",AppId:"webapp",DeviceId:"deviceid",ClientType:"webclient",Email:e,Password:r,UserName:e},a=yield n.clientService.post("/api/v1/auth",i);return a.successful&&(yield n.nativeStorage.setItemAsync("access-token",a.result.accessToken)),a})()}hasRole(e){var r=this;return E(function*(){let i=(yield r.clientService.request("/app/user/roles")).map(a=>a.role.key);return i&&i.length>0?i.indexOf("owner")>=0:!!(i&&i.length>0)&&i.indexOf(e)>=0})()}refreshRoles(){var e=this;return E(function*(){let n=(yield e.clientService.request("/app/user/roles")).map(i=>i.role.key);yield e.nativeStorage.setItemAsync("app_user_roles",JSON.stringify(n))})()}getRoles(){var e=this;return E(function*(){let r=yield e.nativeStorage.getItemAsync("app_user_roles");return r?JSON.parse(r):[]})()}login(e,r,n,i,a){var s=this;return E(function*(){let l={endUserAppOrgId:i,email:e,password:r,inviteId:a,rememberMe:n.toString(),module:He.moduleRouteHome},c=yield s.clientService.post("/api/v1/login",l);if(c.successful)return yield s.setUser(c.result.user),c.result.user.currentOrganization&&(yield s.nativeStorage.setItemAsync(`user_mru_${c.result.user.currentOrganization.id}`,JSON.stringify(c.result.mostRecentlyUsed)),yield s.nativeStorage.setItemAsync(`user_favorites_${c.result.user.currentOrganization.id}`,JSON.stringify(c.result.favorites)),yield s.nativeStorage.setItemAsync("app_user_org",JSON.stringify(c.result.user.currentOrganization)),yield s.refreshRoles()),yield s.setIsLoggedIn(!0),c.result;throw c.errors[0].message})()}loginV2(e,r,n){var i=this;return E(function*(){let a={email:e,password:r,rememberMe:n.toString(),module:He.moduleRouteHome},s=yield i.clientService.post("/api/v2/login",a);if(s.successful)return yield i.setUser(s.result.user),yield i.nativeStorage.setItemAsync(`user_mru_${s.result.user.currentOrganization.id}`,JSON.stringify(s.result.mostRecentlyUsed)),yield i.nativeStorage.setItemAsync(`user_favorites_${s.result.user.currentOrganization.id}`,JSON.stringify(s.result.favorites)),yield i.nativeStorage.setItemAsync("app_user_org",JSON.stringify(s.result.user.currentOrganization)),yield i.refreshRoles(),yield i.setIsLoggedIn(!0),s.result.user;throw i.errorReporter.addErrors(s.errors),s.errors[0].message})()}changePassword(e,r,n,i){var a=this;return E(function*(){const s=[];if(r)if(n&&0!=n.length)if(n!==i)s.push({message:"New Password and Confirm Password must match."});else{const c=/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d#&$@!+\-*]{8,}$$/i;(n.length<=5||!c.test(n))&&s.push({message:"Password must be at least 6 characters and include at least one lowercase letter, one uppercase letter, and one number and may contain the characters #,&,$,@,!,+,-"})}else s.push({message:"New Password is required."});else s.push({message:"Current Password is required."});if(s.length>0)return{errors:s,successful:!1,warnings:[]};let l={userId:e,oldPassword:r,newPassword:n};return yield a.clientService.post("/api/auth/changepassword",l)})()}validateDeviceUser(e){const r=[];if(e.firstName||r.push({message:"First Name is a required field."}),e.lastName||r.push({message:"Last Name is a required field."}),e.email){const n=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i;(e.email.length<=5||!n.test(e.email))&&r.push({message:"Invalid Email Address."})}else r.push({message:"Email is a required field."});if(e.phoneNumber){const n=/^\d{10}$/i;(10!==e.phoneNumber.length||!n.test(e.phoneNumber))&&r.push({message:"Please enter your phone number without and spaces, dashes, spaces."})}else r.push({message:"Phone Number is a required field."});if(e.password){const n=/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d#&$@!+\-*]{8,}$$/i;(e.password.length<=5||!n.test(e.password))&&r.push({message:"Password must be at least 6 characters and include at least one lowercase letter, one uppercase letter, and one number and may contain the characters #,&,$,@,!,+,-"})}else r.push({message:"Password is a required field."});return e.password!==e.confirmPassword&&r.push({message:"Password and confirm password must match."}),r}onLoggedIn(){return this._isLoggedIn$.asObservable()}onUsers(){return this._users$.asObservable()}onUser(){return this._user$.asObservable()}onOrg(){return this._org$.asObservable()}getUsers(){return this.clientService.getListResponse("/api/users")}getActiveUsers(e=!0,r=!0){return this.clientService.getListResponse(`/api/users/active?cached=${r}`,null,e)}getCachedUserSummary(){var e=this;return E(function*(){let r=yield e.storage.getItemAsync("active_user_summary_basic");if(r)return JSON.parse(r);let i=(yield e.getActiveUsers()).model.map(a=>({id:a.id,name:a.name,email:a.email,description:a.title,image:a.profileImageUrl?.imageUrl}));return yield e.storage.setItemAsync("active_user_summary_basic",JSON.stringify(i)),i})()}isPrimaryOrg(){var e=this;return E(function*(){let r=yield e.getUser();return e.SL_ORG_IDS.filter(n=>n===r.currentOrganization.id).length>0})()}isForProductLine(){var e=this;return E(function*(){return(yield e.getCurrentOrg()).isForProductLine})()}loadUserFromStorage(){var e=this;return E(function*(){if(0==o.activeUserCall){let r=yield e.nativeStorage.getItemAsync("app_user");if(r)return JSON.parse(r);if(yield e.getIsLoggedIn()){o.activeUserCall++;let n=yield e.loadCurrentUser();return o.activeUserCall--,n}throw"not logged in, should not attempt to load user."}})()}getClaims(){var e=this;return E(function*(){return e.clientService.request("/user/claims")})()}getUser(){var e=this;return E(function*(){if(yield e.getIsLoggedIn())return o.stackedCount++,new Promise(function(){var n=E(function*(i,a){let s=window.setInterval(E(function*(){let l=yield e.loadUserFromStorage();try{l&&(i(l),o.stackedCount--,window.clearInterval(s))}catch{window.clearInterval(s),e.navService.gotoLogin(e._activatedRoute.snapshot.toString())}}),50)});return function(i,a){return n.apply(this,arguments)}}());e.navService.gotoLogin(window.location.pathname)})()}setUser(e){var r=this;return E(function*(){return e?(yield r.nativeStorage.setItemAsync("app_user",JSON.stringify(e)),r._user$.next(e)):(yield r.nativeStorage.removeItemAsync("app_user"),yield r.setOrg(null),r._user$.next(null)),!0})()}getSessionId(){var e=this;return E(function*(){let r=yield e.nativeStorage.getItemAsync("sessionId");return r||(r=Dt.newGuid(),yield e.nativeStorage.setItemAsync("sessionId",r)),r})()}setCID(e){var r=this;return E(function*(){yield r.nativeStorage.setItemAsync("cid",e)})()}getCID(){var e=this;return E(function*(){return yield e.nativeStorage.getItemAsync("cid")})()}getOrgFromStorage(){let e=window.localStorage.getItem("app_user_org");if(e)return JSON.parse(e)}refreshUserOrganization(){var e=this;return E(function*(){yield e.nativeStorage.removeItemAsync("app_user_org");let r=yield e.clientService.request("/api/org/current/summary",!1);r.successful&&(yield e.nativeStorage.setItemAsync("app_user_org",JSON.stringify(r.result)))})()}getCurrentOrg(){var e=this;return E(function*(){let r=yield e.nativeStorage.getItemAsync("app_user_org");return JSON.parse(r)})()}setOrg(e){var r=this;return E(function*(){return r.orgWebSocket&&r.orgWebSocket.socket.close(),e?(yield r.nativeStorage.setItemAsync("app_user_org",JSON.stringify(e)),r.orgWebSocket=yield r.notificationService.openSLSocket("OrgService","entity",e.id),r._org$.next(e)):(r._org$.next(null),yield r.nativeStorage.removeItemAsync("app_user_org")),!0})()}sendEmailConfirmCode(){return this.clientService.request("/api/verify/email/confirmationcode/send")}sendPhoneConfirmCode(e){return e=e.replace(/\D/g,""),this.clientService.request(`/api/verify/sendsmscode/${e}`)}confirmEmail(e,r){return this.clientService.request(`/api/verify/email?code=${r}&userid=${e}`)}confirmPhone(e){return this.clientService.request(`/api/verify/phone/${e}`)}sendPasswordLink(e){return this.clientService.postWithResponse("/api/auth/resetpassword/sendlink",{email:e})}resetPassword(e){return this.clientService.post("/api/auth/resetpassword",e)}setUserPassword(e,r){return this.clientService.post("/api/auth/setuserpassword",{userId:e,newPassword:r,oldPassword:""})}removeUserFromOrg(e){var r=this;return E(function*(){let n=yield r.getCurrentOrg();return yield r.clientService.delete(`/api/org/${n.id}/user/${e}`)})()}addMediaResourceForUser(e,r){this.clientService.post(`/api/user/${e}/mediaresource`,r)}deleteUser(e){return this.clientService.delete(`/api/user/${e}`)}sysDeleteUser(e){return this.clientService.delete(`/sys/api/user/${e}`)}getAllUsers(){var e=this;return E(function*(){return yield e.clientService.getListResponse("/sys/api/users/all")})()}showWelcomeOnLogin(){var e=this;return E(function*(){e.clientService.request("/api/users/welcome/show/true")})()}hideWelcomeOnLogin(){var e=this;return E(function*(){e.clientService.request("/api/users/welcome/show/false")})()}updateOrg(e){var r=this;return E(function*(){return yield r.clientService.update("/api/org",e)})()}getCurrentOrgForEditing(){var e=this;return E(function*(){return yield e.clientService.getFormResponse("/api/org/current")})()}postMetric(e,r,n){this.clientService.post("/web/logmetric",{fullPath:e,sessionId:r,campaignId:n})}loadUser(e){return this.clientService.getFormResponse(`/api/user/${e}`)}updateUser(e){return this.clientService.update("/api/user",e)}updateUserProfileImage(e){return this.clientService.update("/api/user/profile/picture",e)}getTimeZones(){return this.clientService.request("/api/timezones")}getUserSSN(e){return this.clientService.request(`/api/user/${e}/ssn`)}loadUsers(e){var r=this;return E(function*(){return yield r.clientService.getListResponse("/api/users",e)})()}loadActiveUsers(e){var r=this;return E(function*(){return yield r.clientService.getListResponse("/api/users/active",e)})()}createInvitation(){return this.clientService.getFormResponse("/api/org/invitation/factory")}getInvitations(){var e=this;return E(function*(){return yield e.clientService.getListResponse("/api/org/invitations")})()}getInvitation(e){var r=this;return E(function*(){return r.clientService.request(`/api/org/invitation/${e}`)})()}loadInvitation(e){var r=this;return E(function*(){return r.clientService.getFormResponse(`/api/org/invitation/form/${e}`)})()}updateUserPhoneNumber(e,r){var n=this;return E(function*(){let i=yield n.loadUser(e);return i.model.phoneNumber=r,yield n.updateUser(i.model)})()}updateTeamsAccountName(e,r){var n=this;return E(function*(){let i=yield n.loadUser(e);return i.model.teamsAccountName=r,yield n.updateUser(i.model)})()}createUserRegistration(){var e=this;return E(function*(){return e.clientService.getFormResponse("/api/user/factory")})()}registerNewUser(e){var r=this;return E(function*(){return yield r.clientService.postWithResponse("/api/user/create",e)})()}registerUser(e){var r=this;return E(function*(){var n=yield r.clientService.postWithResponse("/api/user/register",e);return yield r.setOrg(n.result.appUser.currentOrganization),yield r.setUser(n.result.appUser),yield r.setIsLoggedIn(!0),yield r.getUserFavorites(),yield r.getMRU(),yield r.refreshUserOrganization(),yield r.storage.removeItemAsync("active_user_summary_basic"),n})()}cancelInvite(e){var r=this;return E(function*(){return yield r.clientService.delete(`/api/org/invitation/${e}`)})()}resendInvite(e){var r=this;return E(function*(){return yield r.clientService.get(`/api/org/invitation/${e}/resend`)})()}sendInvitation(e){var r=this;return E(function*(){return yield r.clientService.post("/api/org/inviteuser/send",e)})()}createNewOrg(){var e=this;return E(function*(){return yield e.clientService.getFormResponse("/api/org/factory")})()}getAuthLog(){var e=this;return E(function*(){return e.clientService.getListResponse("/sys/auth/log")})()}getUsersForOrg(e){return this.clientService.getListResponse(`/api/org/${e}/users`)}searchUsersForOrg(e,r,n){let i="/api/sys/user/search?en=1";return i+=e?`&firstName=${e}`:"",i+=r?`&lastName=${r}`:"",i+=n?`&email=${n}`:"",this.clientService.getListResponse(i)}setSvgSignature(e){var r=this;return E(function*(){return yield r.clientService.postWithResponse("/api/user/svg/signature",{svg:e})})()}setSvgInitials(e){var r=this;return E(function*(){return yield r.clientService.postWithResponse("/api/user/svg/initials",{svg:e})})()}getSvgSignature(){var e=this;return E(function*(){return yield e.clientService.request("/api/user/svg/signature",!1,!1)})()}getSvgInitials(){var e=this;return E(function*(){return yield e.clientService.request("/api/user/svg/initials",!1,!1)})()}clearSvgSignature(){var e=this;return E(function*(){return yield e.clientService.delete("/api/user/svg/signature")})()}clearSvgInitials(){var e=this;return E(function*(){return yield e.clientService.delete("/api/user/svg/initials")})()}getAuthLogForUser(e){var r=this;return E(function*(){return yield r.clientService.getListResponse(`/api/sys/user/${e}/auth/log`)})()}setUserEmailConfirmed(e){var r=this;return E(function*(){return yield r.clientService.request(`/api/sys/user/${e}/email/confirm`)})()}setUserPhoneConfirmed(e){var r=this;return E(function*(){return yield r.clientService.request(`/api/sys/user/${e}/phone/confirm`)})()}sendUserEmailConfirmation(e){var r=this;return E(function*(){return yield r.clientService.request(`/api/sys/user/${e}/email/confirm/send`)})()}setLoginType(e,r){var n=this;return E(function*(){return yield n.clientService.request(`/api/sys/user/${e}/logintype/${r}`)})()}setUserFinanceAdmin(e){var r=this;return E(function*(){return yield r.clientService.request(`/api/sys/user/${e}/financeadmin/set`)})()}clearUserFinanceAdmin(e){var r=this;return E(function*(){return yield r.clientService.request(`/api/sys/user/${e}/financeadmin/clear`)})()}}return o.activeUserCall=0,o.stackedCount=0,o.\u0275fac=function(e){return new(e||o)(Z(Es),Z(Ft),Z(jd),Z(Hi),Z(Hi),Z(Lm),Z(jX),Z(iD),Z(Yd),Z(_o))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const UX=["addListener","removeListener"],WX=["addEventListener","removeEventListener"],GX=["on","off"];function So(o,t,e,r){if(I(e)&&(r=e,e=void 0),r)return So(o,t,e).pipe(lx(r));const[n,i]=function ZX(o){return I(o.addEventListener)&&I(o.removeEventListener)}(o)?WX.map(a=>s=>o[a](t,s,e)):function qX(o){return I(o.addListener)&&I(o.removeListener)}(o)?UX.map(JO(o,t)):function KX(o){return I(o.on)&&I(o.off)}(o)?GX.map(JO(o,t)):[];if(!n&&Uu(o))return yo(a=>So(a,t,e))(ao(o));if(!n)throw new TypeError("Invalid event target");return new Nt(a=>{const s=(...l)=>a.next(1i(s)})}function JO(o,t){return e=>r=>o[e](t,r)}class XX extends M{constructor(t,e){super()}schedule(t,e=0){return this}}const zy={setInterval(o,t,...e){const{delegate:r}=zy;return r?.setInterval?r.setInterval(o,t,...e):setInterval(o,t,...e)},clearInterval(o){const{delegate:t}=zy;return(t?.clearInterval||clearInterval)(o)},delegate:void 0};class aD extends XX{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var r;if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,r=0){return zy.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,e,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return e;null!=e&&zy.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,r=!1;try{this.work(t)}catch(i){r=!0,n=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:r}=e;this.work=this.state=this.scheduler=null,this.pending=!1,w(r,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}class Bm{constructor(t,e=Bm.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,r){return new this.schedulerActionCtor(this,t).schedule(r,e)}}Bm.now=Ex.now;class sD extends Bm{constructor(t,e=Bm.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}}const Nm=new sD(aD),JX=Nm;function Hm(o=0,t,e=JX){let r=-1;return null!=t&&(Xi(t)?e=t:r=t),new Nt(n=>{let i=function QX(o){return o instanceof Date&&!isNaN(o)}(o)?+o-e.now():o;i<0&&(i=0);let a=0;return e.schedule(function(){n.closed||(n.next(a++),0<=r?this.schedule(void 0,r):n.complete())},i)})}const{isArray:eJ}=Array;function QO(o){return 1===o.length&&eJ(o[0])?o[0]:o}function Yy(...o){const t=ho(o),e=QO(o);return e.length?new Nt(r=>{let n=e.map(()=>[]),i=e.map(()=>!1);r.add(()=>{n=i=null});for(let a=0;!r.closed&&a{if(n[a].push(s),n.every(l=>l.length)){const l=n.map(c=>c.shift());r.next(t?t(...l):l),n.some((c,h)=>!c.length&&i[h])&&r.complete()}},()=>{i[a]=!0,!n[a].length&&r.complete()}));return()=>{n=i=null}}):on}function fr(o){return zr((t,e)=>{ao(o).subscribe(cr(e,()=>e.complete(),_e)),!e.closed&&t.subscribe(e)})}function oJ(o,t){return o===t}function lD(...o){const t=ho(o);return zr((e,r)=>{const n=o.length,i=new Array(n);let a=o.map(()=>!1),s=!1;for(let l=0;l{i[l]=c,!s&&!a[l]&&(a[l]=!0,(s=a.every(lt))&&(a=null))},_e));e.subscribe(cr(r,l=>{if(s){const c=[l,...i];r.next(t?t(...c):c)}}))})}function r3(o,t){return t?e=>Xp(t.pipe(mr(1),function nJ(){return zr((o,t)=>{o.subscribe(cr(t,_e))})}()),e.pipe(r3(o))):yo((e,r)=>ao(o(e,r)).pipe(mr(1),Sx(e)))}function cD(o,t=Nm){const e=Hm(o,t);return r3(()=>e)}function dD(o){return Gr((t,e)=>o<=e)}new Nt(_e),Math,Math,Math;const mQ=["*"],AQ=["dialog"];function wD(o){return"string"==typeof o}function Gd(o){return null!=o}function dh(o){return(o||document.body).getBoundingClientRect()}const C3={animation:!0,transitionTimerDelayMs:5},Eee=()=>{},{transitionTimerDelayMs:Tee}=C3,Wm=new Map,Xn=(o,t,e,r)=>{let n=r.context||{};const i=Wm.get(t);if(i)switch(r.runningTransition){case"continue":return on;case"stop":o.run(()=>i.transition$.complete()),n=Object.assign(i.context,n),Wm.delete(t)}const a=e(t,r.animation,n)||Eee;if(!r.animation||"none"===window.getComputedStyle(t).transitionProperty)return o.run(()=>a()),Xe(void 0).pipe(function Mee(o){return t=>new Nt(e=>t.subscribe({next:a=>o.run(()=>e.next(a)),error:a=>o.run(()=>e.error(a)),complete:()=>o.run(()=>e.complete())}))}(o));const s=new Ae,l=new Ae,c=s.pipe(function rJ(...o){return t=>Xp(t,Xe(...o))}(!0));Wm.set(t,{transition$:s,complete:()=>{l.next(),l.complete()},context:n});const h=function kee(o){const{transitionDelay:t,transitionDuration:e}=window.getComputedStyle(o);return 1e3*(parseFloat(t)+parseFloat(e))}(t);return o.runOutsideAngular(()=>{const _=So(t,"transitionend").pipe(fr(c),Gr(({target:k})=>k===t));(function e3(...o){return 1===(o=QO(o)).length?ao(o[0]):new Nt(function tJ(o){return t=>{let e=[];for(let r=0;e&&!t.closed&&r{if(e){for(let i=0;i{Wm.delete(t),o.run(()=>{a(),s.next(),s.complete()})})}),s.asObservable()};let Zy=(()=>{class o{constructor(){this.animation=C3.animation}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();var tn=(()=>{return(o=tn||(tn={}))[o.Tab=9]="Tab",o[o.Enter=13]="Enter",o[o.Escape=27]="Escape",o[o.Space=32]="Space",o[o.PageUp=33]="PageUp",o[o.PageDown=34]="PageDown",o[o.End=35]="End",o[o.Home=36]="Home",o[o.ArrowLeft=37]="ArrowLeft",o[o.ArrowUp=38]="ArrowUp",o[o.ArrowRight=39]="ArrowRight",o[o.ArrowDown=40]="ArrowDown",tn;var o})();typeof navigator<"u"&&navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));const S3=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function P3(o){const t=Array.from(o.querySelectorAll(S3)).filter(e=>-1!==e.tabIndex);return[t[0],t[t.length-1]]}new Date(1882,10,12),new Date(2174,10,25);class Xd{constructor(t,e,r){this.nodes=t,this.viewRef=e,this.componentRef=r}}let Mte=(()=>{class o{constructor(e,r){this._el=e,this._zone=r}ngOnInit(){this._zone.onStable.asObservable().pipe(mr(1)).subscribe(()=>{Xn(this._zone,this._el.nativeElement,(e,r)=>{r&&dh(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Xn(this._zone,this._el.nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(ct))},o.\u0275cmp=ne({type:o,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(e,r){2&e&&(Wn("modal-backdrop"+(r.backdropClass?" "+r.backdropClass:"")),ut("show",!r.animation)("fade",r.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(e,r){},encapsulation:2}),o})();class xo{close(t){}dismiss(t){}}class kte{constructor(t,e,r,n){this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=r,this._beforeDismiss=n,this._closed=new Ae,this._dismissed=new Ae,this._hidden=new Ae,t.instance.dismissEvent.subscribe(i=>{this.dismiss(i)}),this.result=new Promise((i,a)=>{this._resolve=i,this._reject=a}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(fr(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(fr(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(t){this._windowCmptRef&&(this._closed.next(t),this._resolve(t),this._removeModalElements())}_dismiss(t){this._dismissed.next(t),this._reject(t),this._removeModalElements()}dismiss(t){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();!function b3(o){return o&&o.then}(e)?!1!==e&&this._dismiss(t):e.then(r=>{!1!==r&&this._dismiss(t)},()=>{})}else this._dismiss(t)}_removeModalElements(){const t=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Xe(void 0);t.subscribe(()=>{const{nativeElement:r}=this._windowCmptRef.location;r.parentNode.removeChild(r),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:r}=this._backdropCmptRef.location;r.parentNode.removeChild(r),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Yy(t,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Zm=(()=>{return(o=Zm||(Zm={}))[o.BACKDROP_CLICK=0]="BACKDROP_CLICK",o[o.ESC=1]="ESC",Zm;var o})();let Ete=(()=>{class o{constructor(e,r,n){this._document=e,this._elRef=r,this._zone=n,this._closed$=new Ae,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new ee,this.shown=new Ae,this.hidden=new Ae}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":wD(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(mr(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:e}=this._elRef,r={animation:this.animation,runningTransition:"stop"},a=Yy(Xn(this._zone,e,()=>e.classList.remove("show"),r),Xn(this._zone,this._dialogEl.nativeElement,()=>{},r));return a.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),a}_show(){const e={animation:this.animation,runningTransition:"continue"};Yy(Xn(this._zone,this._elRef.nativeElement,(i,a)=>{a&&dh(i),i.classList.add("show")},e),Xn(this._zone,this._dialogEl.nativeElement,()=>{},e)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{So(e,"keydown").pipe(fr(this._closed$),Gr(n=>n.which===tn.Escape)).subscribe(n=>{this.keyboard?requestAnimationFrame(()=>{n.defaultPrevented||this._zone.run(()=>this.dismiss(Zm.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let r=!1;So(this._dialogEl.nativeElement,"mousedown").pipe(fr(this._closed$),co(()=>r=!1),bn(()=>So(e,"mouseup").pipe(fr(this._closed$),mr(1))),Gr(({target:n})=>e===n)).subscribe(()=>{r=!0}),So(e,"click").pipe(fr(this._closed$)).subscribe(({target:n})=>{e===n&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!r&&this._zone.run(()=>this.dismiss(Zm.BACKDROP_CLICK))),r=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){const r=e.querySelector("[ngbAutofocus]"),n=P3(e)[0];(r||n||e).focus()}}_restoreFocus(){const e=this._document.body,r=this._elWithFocus;let n;n=r&&r.focus&&e.contains(r)?r:e,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&Xn(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return o.\u0275fac=function(e){return new(e||o)(O(bt),O(dt),O(ct))},o.\u0275cmp=ne({type:o,selectors:[["ngb-modal-window"]],viewQuery:function(e,r){if(1&e&&Yt(AQ,7),2&e){let n;ze(n=Ye())&&(r._dialogEl=n.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(e,r){2&e&&(Re("aria-modal",!0)("aria-labelledby",r.ariaLabelledBy)("aria-describedby",r.ariaDescribedBy),Wn("modal d-block"+(r.windowClass?" "+r.windowClass:"")),ut("fade",r.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:mQ,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,r){1&e&&(_i(),d(0,"div",0,1)(2,"div",2),Wr(3),u()()),2&e&&Wn("modal-dialog"+(r.size?" modal-"+r.size:"")+(r.centered?" modal-dialog-centered":"")+r.fullscreenClass+(r.scrollable?" modal-dialog-scrollable":"")+(r.modalDialogClass?" "+r.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),o})(),Tte=(()=>{class o{constructor(e){this._document=e}hide(){const e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),r=this._document.body,n=r.style,{overflow:i,paddingRight:a}=n;if(e>0){const s=parseFloat(window.getComputedStyle(r).paddingRight);n.paddingRight=`${s+e}px`}return n.overflow="hidden",()=>{e>0&&(n.paddingRight=a),n.overflow=i}}}return o.\u0275fac=function(e){return new(e||o)(Z(bt))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Fte=(()=>{class o{constructor(e,r,n,i,a,s){this._applicationRef=e,this._injector=r,this._document=n,this._scrollBar=i,this._rendererFactory=a,this._ngZone=s,this._activeWindowCmptHasChanged=new Ae,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new ee,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const l=this._windowCmpts[this._windowCmpts.length-1];((o,t,e,r=!1)=>{this._ngZone.runOutsideAngular(()=>{const n=So(t,"focusin").pipe(fr(e),Je(i=>i.target));So(t,"keydown").pipe(fr(e),Gr(i=>i.which===tn.Tab),lD(n)).subscribe(([i,a])=>{const[s,l]=P3(t);(a===s||a===t)&&i.shiftKey&&(l.focus(),i.preventDefault()),a===l&&!i.shiftKey&&(s.focus(),i.preventDefault())}),r&&So(t,"click").pipe(fr(e),lD(n),Je(i=>i[1])).subscribe(i=>i.focus())})})(0,l.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(l.location.nativeElement)}})}_restoreScrollBar(){const e=this._scrollBarRestoreFn;e&&(this._scrollBarRestoreFn=null,e())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(e,r,n){const i=n.container instanceof HTMLElement?n.container:Gd(n.container)?this._document.querySelector(n.container):this._document.body,a=this._rendererFactory.createRenderer(null,null);if(!i)throw new Error(`The specified modal container "${n.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const s=new xo,l=this._getContentRef(n.injector||e,r,s,n);let c=!1!==n.backdrop?this._attachBackdrop(i):void 0,h=this._attachWindowComponent(i,l.nodes),_=new kte(h,l,c,n.beforeDismiss);return this._registerModalRef(_),this._registerWindowCmpt(h),_.hidden.pipe(mr(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(a.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),s.close=C=>{_.close(C)},s.dismiss=C=>{_.dismiss(C)},this._applyWindowOptions(h.instance,n),1===this._modalRefs.length&&a.addClass(this._document.body,"modal-open"),c&&c.instance&&(this._applyBackdropOptions(c.instance,n),c.changeDetectorRef.detectChanges()),h.changeDetectorRef.detectChanges(),_}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(r=>r.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e){let r=kw(Mte,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(r.hostView),e.appendChild(r.location.nativeElement),r}_attachWindowComponent(e,r){let n=kw(Ete,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:r});return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_applyWindowOptions(e,r){this._windowAttributes.forEach(n=>{Gd(r[n])&&(e[n]=r[n])})}_applyBackdropOptions(e,r){this._backdropAttributes.forEach(n=>{Gd(r[n])&&(e[n]=r[n])})}_getContentRef(e,r,n,i){return r?r instanceof fo?this._createFromTemplateRef(r,n):wD(r)?this._createFromString(r):this._createFromComponent(e,r,n,i):new Xd([])}_createFromTemplateRef(e,r){const i=e.createEmbeddedView({$implicit:r,close(a){r.close(a)},dismiss(a){r.dismiss(a)}});return this._applicationRef.attachView(i),new Xd([i.rootNodes],i)}_createFromString(e){const r=this._document.createTextNode(`${e}`);return new Xd([[r]])}_createFromComponent(e,r,n,i){const a=Zr.create({providers:[{provide:xo,useValue:n}],parent:e}),s=kw(r,{environmentInjector:this._applicationRef.injector,elementInjector:a}),l=s.location.nativeElement;return i.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(s.hostView),new Xd([[l]],s.hostView,s)}_setAriaHidden(e){const r=e.parentElement;r&&e!==this._document.body&&(Array.from(r.children).forEach(n=>{n!==e&&"SCRIPT"!==n.nodeName&&(this._ariaHiddenValues.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}),this._setAriaHidden(r))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,r)=>{e?r.setAttribute("aria-hidden",e):r.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){const r=()=>{const n=this._modalRefs.indexOf(e);n>-1&&(this._modalRefs.splice(n,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(r,r)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{const r=this._windowCmpts.indexOf(e);r>-1&&(this._windowCmpts.splice(r,1),this._activeWindowCmptHasChanged.next())})}}return o.\u0275fac=function(e){return new(e||o)(Z(hc),Z(Zr),Z(bt),Z(Tte),Z(Tp),Z(ct))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Ste=(()=>{class o{constructor(e){this._ngbConfig=e,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return o.\u0275fac=function(e){return new(e||o)(Z(Zy))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Ut=(()=>{class o{constructor(e,r,n){this._injector=e,this._modalStack=r,this._config=n}open(e,r={}){const n={...this._config,animation:this._config.animation,...r};return this._modalStack.open(this._injector,e,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return o.\u0275fac=function(e){return new(e||o)(Z(Zr),Z(Fte),Z(Ste))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function ere(o,t){if(1&o&&(d(0,"span"),v(1),u()),2&o){const e=m().$implicit;p(1),ce("- ",e.context,"")}}function tre(o,t){if(1&o&&(d(0,"p"),v(1),b(2,ere,2,1,"span",3),u()),2&o){const e=t.$implicit;p(1),ce(" ",e.message," "),p(1),g("ngIf",e.context)}}function rre(o,t){if(1&o&&(d(0,"div"),b(1,tre,3,2,"p",6),u()),2&o){const e=m();p(1),g("ngForOf",e.errors)}}new me("live announcer delay",{providedIn:"root",factory:function Jte(){return 100}});let Q3=(()=>{class o{constructor(e,r){this.activeModal=e,this.errorReporterService=r,this.modalContent="",console.log("error reporter modal")}closeModal(){this.errors=null,this.errorReporterService.clearErrors(),this.activeModal.close()}}return o.\u0275fac=function(e){return new(e||o)(O(xo),O(jd))},o.\u0275cmp=ne({type:o,selectors:[["app-modal"]],decls:10,vars:3,consts:[[1,"modal-header"],[2,"color","var(--color-primary)"],[1,"modal-body",2,"overflow","hidden"],[4,"ngIf"],[1,"modal-footer"],[1,"btn","btn-md","btn-primary",3,"click"],[4,"ngFor","ngForOf"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"h4",1),v(2),u()(),d(3,"div",2),b(4,rre,2,1,"div",3),d(5,"p"),v(6),u()(),d(7,"div",4)(8,"button",5),T("click",function(){return r.closeModal()}),v(9,"Ok"),u()()),2&e&&(p(2),ae(r.modalHeader),p(2),g("ngIf",r.errors),p(2),ce(" ",r.modalContent," "))},dependencies:[gt,ve],styles:["[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}p[_ngcontent-%COMP%], .modal-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--color-fg)}"]}),o})(),n1=(()=>{class o{constructor(e){this.sanitizer=e}transform(e,r){let n="";return r&&r.length>=0&&(n=r),e&&0!==e.length?this.sanitizer.bypassSecurityTrustHtml(e):n}}return o.\u0275fac=function(e){return new(e||o)(O(fc,16))},o.\u0275pipe=ur({name:"preformattedHtml",type:o,pure:!0}),o})();function ore(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m();p(1),ae(e.warningMessage)}}function nre(o,t){1&o&&(P(0,"pre",10),xr(1,"preformattedHtml")),2&o&&g("innerHtml",Dr(1,1,m().content),yn)}function ire(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m();p(1),ae(e.content)}}function are(o,t){if(1&o&&(d(0,"div",11),v(1),u()),2&o){const e=m();p(1),ae(e.confirmationMessage)}}let kc=(()=>{class o{constructor(e){this.activeModal=e,this.isPermanent=!0,this.title="Are you sure?",this.contentIsHtml=!1,this.cancelButtonText="Cancel",this.confirmButtonText="Proceed",this.confirmationMessage=`To confirm this action, please click '${this.confirmButtonText}'`,this.confirmationResult=new ee}ngOnInit(){this.objectName?(this.warningMessage=`Are you sure you want to delete ${this.objectName}? You may not be able to undo this action.`,this.confirmButtonText="Delete",this.confirmationMessage=`To confirm this action, please click '${this.confirmButtonText}'`):(!this.warningMessage||0===this.warningMessage.length)&&(this.warningMessage=this.isPermanent?"This operation is permanent and cannot be easily reversed.":"")}cancelAction(){this.confirmationResult.emit(!1),this.activeModal.close()}closeModal(){this.activeModal.close()}confirmAction(){this.confirmationResult.emit(!0),this.activeModal.close()}}return o.\u0275fac=function(e){return new(e||o)(O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-modal-confirm-action"]],inputs:{isPermanent:"isPermanent",title:"title",content:"content",objectName:"objectName",contentIsHtml:"contentIsHtml",warningMessage:"warningMessage",cancelButtonText:"cancelButtonText",confirmButtonText:"confirmButtonText",confirmationMessage:"confirmationMessage"},outputs:{confirmationResult:"confirmationResult"},decls:14,vars:7,consts:[[1,"modal-header"],[2,"color","var(--color-primary)"],[1,"fa-solid","fa-triangle-exclamation",2,"color","red"],[1,"modal-body",2,"overflow","hidden","color","var(--color-fg)"],[4,"ngIf"],[3,"innerHtml",4,"ngIf"],["style","padding-top: 1em;",4,"ngIf"],[1,"modal-footer"],[1,"btn","btn-md","btn-primary",3,"click"],[1,"btn","btn-md","btn-danger",3,"click"],[3,"innerHtml"],[2,"padding-top","1em"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"h4",1),P(2,"i",2),v(3),u()(),d(4,"div",3),b(5,ore,2,1,"div",4),b(6,nre,2,3,"pre",5),b(7,ire,2,1,"div",4),b(8,are,2,1,"div",6),u(),d(9,"div",7)(10,"button",8),T("click",function(){return r.cancelAction()}),v(11),u(),d(12,"button",9),T("click",function(){return r.confirmAction()}),v(13),u()()),2&e&&(p(3),ce(" ",r.title,""),p(2),g("ngIf",r.warningMessage),p(1),g("ngIf",r.contentIsHtml),p(1),g("ngIf",!r.contentIsHtml),p(1),g("ngIf",r.confirmationMessage),p(3),ae(r.cancelButtonText),p(2),ae(r.confirmButtonText))},dependencies:[ve,n1]}),o})(),eR=(()=>{class o{constructor(e){this.modalService=e}showPopup(e,r){let n=this.modalService.open(Q3).componentInstance;n.modalHeader=e,n.modalContent=r}showConfirmDelete(e){return new Promise((n,i)=>{let a=this.modalService.open(kc).componentInstance;a.objectName=e,a.confirmAction=()=>{n(!0),a.closeModal()},a.cancelAction=()=>{n(!1),a.closeModal()}})}showConfirm(e,r){return new Promise((i,a)=>{let s=this.modalService.open(kc).componentInstance;s.title=e,s.isPermanent=!1,s.content=r,s.confirmAction=()=>{i(!0),s.closeModal()},s.cancelAction=()=>{i(!1),s.closeModal()}})}}return o.\u0275fac=function(e){return new(e||o)(Z(Ut))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),sre=(()=>{class o{constructor(e,r,n){this.userService=e,this.modalServices=r,this.cookieService=n}intercept(e,r){var n=this;return e=e.clone({withCredentials:!0}),r.handle(e).pipe(co(function(){var i=E(function*(a){if(a instanceof gm){if(a.url.indexOf("logout")>-1||a.url.indexOf("public")>-1)return;302==a.status?console.log("REDIRECT => ",a):a.body&&200===a.status&&n.cookieService.get("authenticated")&&(yield n.userService.loadCurrentUserIfNecessary());let s=a.headers.get("x-current-org-id"),l=a.headers.get("x-current-org-name");if(s&&l&&"none"!=l){let c=n.userService.getOrgFromStorage();if(c&&c.id!=s){let h=99999;n._lastNotified&&(h=(new Date).getTime()-n._lastNotified.getTime()),h>15e3&&(n.modalServices.showPopup("Organization Changed",`It appears you have logged in to another organization on the server. Your current organization: ${c.text}, will be changed to: ${l}`),n.userService.refreshUserOrganization(),n._lastNotified=new Date)}}}});return function(a){return i.apply(this,arguments)}}()))}}return o.\u0275fac=function(e){return new(e||o)(Z(uo),Z(eR),Z(iD))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();class lre{constructor(t){this.nuviotClient=t}loadMediaLibraries(){return this.nuviotClient.getListResponse("/api/media/libraries")}loadMediaLibrariesForCustomer(t){return this.nuviotClient.getListResponse(`/api/customer/${t}/media/libraries`)}loadMediaResources(t){return this.nuviotClient.getListResponse(`/api/media/library/${t}/resources`)}loadMediaResourcesForMediaTypeKey(t){return this.nuviotClient.getListResponse(`/api/media/mediatype/key/${t}/resources`)}createMediaLibrary(){return this.nuviotClient.getFormResponse("/api/media/library/factory")}loadMediaLibrary(t){return this.nuviotClient.getFormResponse(`/api/media/library/${t}`)}insertMediaLibrary(t){return this.nuviotClient.insert("/api/media/library",t)}updateMediaLibrary(t){return this.nuviotClient.update("/api/media/library",t)}}function Dl(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class cre{constructor(t){this.transport=t}createChangepassword(t){return this.transport.insert("/api/auth/changepassword",t)}createLogin(t){return this.transport.postWithResponse("/api/auth/login",t)}createMfadisable(){return this.transport.insert("/api/auth/mfadisable",{})}createMfarecoveryConsume(t,e){return this.transport.insert(Dl("/api/auth/mfarecovery/consume",{stepUp:t}),e)}createMfarecoveryRotate(){return this.transport.postWithResponse("/api/auth/mfarecovery/rotate",{})}createMfareset(){return this.transport.insert("/api/auth/mfareset",{})}createMfatotpEnrollmentBegin(){return this.transport.postWithResponse("/api/auth/mfatotp/enrollment/begin",{})}createMfatotpEnrollmentConfirm(t){return this.transport.postWithResponse("/api/auth/mfatotp/enrollment/confirm",t)}createMfatotpVerify(t,e){return this.transport.insert(Dl("/api/auth/mfatotp/verify",{stepUp:t}),e)}createPasskeyAuthenticationBegin(t,e){return this.transport.postWithResponse(Dl("/api/auth/passkey/authentication/begin",{stepUp:t,passkeyUrl:e}),{})}createPasskeyAuthenticationComplete(t,e){return this.transport.insert(Dl("/api/auth/passkey/authentication/complete",{stepUp:t}),e)}createPasskeyPasswordlessAuthenticationBegin(t){return this.transport.postWithResponse(Dl("/api/auth/passkey/passwordless/authentication/begin",{passkeyUrl:t}),{})}createPasskeyPasswordlessAuthenticationComplete(t){return this.transport.postWithResponse("/api/auth/passkey/passwordless/authentication/complete",t)}createPasskeyPasswordlessRegistrationBegin(t){return this.transport.postWithResponse(Dl("/api/auth/passkey/passwordless/registration/begin",{passkeyUrl:t}),{})}createPasskeyPasswordlessRegistrationComplete(t){return this.transport.postWithResponse("/api/auth/passkey/passwordless/registration/complete",t)}createPasskeyRegistrationBegin(t){return this.transport.postWithResponse(Dl("/api/auth/passkey/registration/begin",{passkeyUrl:t}),{})}createPasskeyRegistrationComplete(t){return this.transport.insert("/api/auth/passkey/registration/complete",t)}createPaymentProcess(t){return this.transport.postWithResponse("/api/auth/payment/process",t)}createResetpassword(t){return this.transport.insert("/api/auth/resetpassword",t)}createResetpasswordSendlink(t){return this.transport.insert("/api/auth/resetpassword/sendlink",t)}createSecurelinkConsume(t){return this.transport.postWithResponse("/api/auth/securelink/consume",t)}createSecurelinkExchange(t){return this.transport.request("/api/auth/securelink/exchange")}createSecurelinkRequest(t){return this.transport.insert("/api/auth/securelink/request",t)}createV1Login(t){return this.transport.postWithResponse("/api/auth/v1/login",t)}deletePasskeyByCredentialId(t){return this.transport.delete(`/api/auth/passkey/${t}`)}getCustomerByCustomerid(t){return this.transport.requestForInvokeResultEx(`/api/auth/customer/${t}`)}getInviteAcceptByInviteid(t){return this.transport.request(`/api/auth/invite/accept/${t}`)}getPasskey(){return this.transport.requestForInvokeResultEx("/api/auth/passkey")}getSecurelinkConsume(t,e){return this.transport.requestForInvokeResultEx(Dl("/api/auth/securelink/consume",{code:t,returnUrl:e}))}getSession(){return this.transport.request("/api/auth/session")}getV1Logoff(){return this.transport.get("/api/auth/v1/logoff")}listLog(){return this.transport.getListResponse("/api/auth/log")}listLogByType(t){return this.transport.getListResponse(`/api/auth/log/${t}`)}updatePasskeyByCredentialIdRename(t,e){return this.transport.update(Dl(`/api/auth/passkey/${t}/rename`,{name:e}),{})}}function Jd(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class dre{constructor(t){this.transport=t}create(t){return this.transport.postWithResponse("/api/user/create",t)}createByIdPaymentaccounts(t,e){return this.transport.insert(`/api/user/${t}/paymentaccounts`,e)}createByUseridMediaresource(t,e){return this.transport.insert(`/api/user/${t}/mediaresource`,e)}createByUseridRolesGrant(t,e){return this.transport.postWithResponse(`/api/user/${t}/roles/grant`,e)}createFavorite(t){return this.transport.postWithResponse("/api/user/favorite",t)}createMruItem(t){return this.transport.postWithResponse("/api/mru/item",t)}createNewUser(){return this.transport.getFormResponse("/api/user/factory")}createProfilePictureUpload(){return this.transport.postWithResponse("/api/user/profile/picture/upload",{})}createRegister(t){return this.transport.postWithResponse("/api/user/register",t)}createSvgInitials(t){return this.transport.insert("/api/user/svg/initials",t)}createSvgSignature(t){return this.transport.insert("/api/user/svg/signature",t)}delete(t){return this.transport.delete(Jd("/api/user",{username:t}))}deleteById(t){return this.transport.delete(`/api/user/${t}`)}deleteByIdDelete(t){return this.transport.delete(`/api/user/${t}/delete`)}deleteExternalloginById(t){return this.transport.deleteWithResponse(`/api/user/externallogin/${t}`)}deleteFavoriteById(t){return this.transport.deleteWithResponse(`/api/user/favorite/${t}`)}deleteInboxByPartitionkeyByRowkey(t,e){return this.transport.delete(`/api/user/inbox/${t}/${e}`)}deleteMru(){return this.transport.deleteWithResponse("/api/mru")}deletePreferenceByKey(t){return this.transport.delete(`/api/user/preference/${t}`)}deleteRoleRevokeByUserroleid(t){return this.transport.delete(`/api/user/role/revoke/${t}`)}deleteSvgInitials(){return this.transport.delete("/api/user/svg/initials")}deleteSvgSignature(){return this.transport.delete("/api/user/svg/signature")}get(){return this.transport.getFormResponse("/api/user")}getAccepttc(){return this.transport.requestForInvokeResultEx("/api/user/accepttc")}getById(t){return this.transport.getFormResponse(`/api/user/${t}`)}getByIdPaymentaccounts(t){return this.transport.requestForInvokeResultEx(`/api/user/${t}/paymentaccounts`)}getByIdPreviewByStatus(t,e){return this.transport.get(`/api/user/${t}/preview/${e}`)}getByIdSsn(t){return this.transport.requestForInvokeResultEx(`/api/user/${t}/ssn`)}getByUseridDisable(t){return this.transport.get(`/api/user/${t}/disable`)}getByUseridRoleByRoleidGrant(t,e){return this.transport.requestForInvokeResultEx(`/api/user/${t}/role/${e}/grant`)}getByUseridRoles(t){return this.transport.request(`/api/user/${t}/roles`)}getClaims(){return this.transport.request("/api/user/claims")}getFavorites(){return this.transport.requestForInvokeResultEx("/api/user/favorites")}getInboxByPartitionkeyByRowkeyViewed(t,e){return this.transport.get(`/api/user/inbox/${t}/${e}/viewed`)}getInboxUnread(){return this.transport.requestForInvokeResultEx("/api/user/inbox/unread")}getModeAdvanced(){return this.transport.get("/api/user/mode/advanced")}getModeNormal(){return this.transport.get("/api/user/mode/normal")}getMru(){return this.transport.requestForInvokeResultEx("/api/mru")}getPreferenceByKeyByValue(t,e){return this.transport.get(`/api/user/preference/${t}/${e}`)}getRoles(){return this.transport.request("/api/user/roles")}getSvgInitials(){return this.transport.requestForInvokeResultEx("/api/user/svg/initials")}getSvgInitialsB64png(){return this.transport.requestForInvokeResultEx("/api/user/svg/initials/b64png")}getSvgSignature(){return this.transport.requestForInvokeResultEx("/api/user/svg/signature")}getSvgSignatureB64png(){return this.transport.requestForInvokeResultEx("/api/user/svg/signature/b64png")}getUserbyemail(t){return this.transport.getFormResponse(Jd("/api/userbyemail",{email:t}))}getUserbyemailTesting(t){return this.transport.getFormResponse(Jd("/api/userbyemail/testing",{email:t}))}getUsersWelcomeShowByState(t){return this.transport.get(`/api/users/welcome/show/${t}`)}verifyEmailCode(t,e){return this.transport.requestForInvokeResultEx(Jd("/api/user/verify/email",{p:t,c:e}))}listByUseridOrgs(t){return this.transport.getListResponse(`/api/user/${t}/orgs`)}listInbox(){return this.transport.getListResponse("/api/user/inbox")}listOrgs(){return this.transport.getListResponse("/api/user/orgs")}listUsers(t){return this.transport.getListResponse(Jd("/api/users",{cached:t}))}listUsersActive(t){return this.transport.getListResponse(Jd("/api/users/active",{cached:t}))}listUsersRepoByRepoid(t){return this.transport.getListResponse(`/api/users/repo/${t}`)}update(t){return this.transport.update("/api/user",t)}updateCoreinfo(t){return this.transport.update("/api/user/coreinfo",t)}updateInfoBasic(t){return this.transport.updateWithResponse("/api/user/info/basic",t)}updateProfileByIdPicture(t,e){return this.transport.update(`/api/user/profile/${t}/picture`,e)}updateProfilePicture(t){return this.transport.update("/api/user/profile/picture",t)}userOrgsCacheClear(){return this.transport.get("/api/user/orgs/cache/clear")}userSysadminIdClear(t){return this.transport.get(`/api/user/sysadmin/${t}/clear`)}userSysadminIdSet(t){return this.transport.get(`/api/user/sysadmin/${t}/set`)}verifyEmail(t,e){return this.transport.request(Jd("/api/verify/email",{userid:t,code:e}))}sendEmailConfirmCode(){return this.transport.requestForInvokeResultEx("/api/verify/email/confirmationcode/send")}verifyEmailCreate(t){return this.transport.insert("/api/verify/email",t)}verifyIsemailconfirmed(){return this.transport.get("/api/verify/isemailconfirmed")}verifySendsmscode(t){return this.transport.postWithResponse("/api/verify/sendsmscode",t)}verifySendsmscodePhonenumber(t){return this.transport.postWithResponse(`/api/verify/sendsmscode/${t}`,{})}verifySms(t){return this.transport.insert("/api/verify/sms",t)}verifySmsCode(t){return this.transport.insert(`/api/verify/sms/${t}`,{})}verifyUseridEmailConfirmationcodeSend(t){return this.transport.requestForInvokeResultEx(`/api/verify/${t}/email/confirmationcode/send`)}}class pre{constructor(t){this.transport=t}create(t){return this.transport.insert("/api/org",t)}createLocation(t){return this.transport.insert("/api/org/location",t)}createLocationByIdDiagram(t,e){return this.transport.insert(`/api/org/location/${t}/diagram`,e)}createLocationDiagram(t){return this.transport.insert("/api/org/location/diagram",t)}createNewDiagram(){return this.transport.getFormResponse("/api/org/location/diagram/factory")}createNewGroup(){return this.transport.getFormResponse("/api/org/location/diagram/group/factory")}createNewInvitation(){return this.transport.getFormResponse("/api/org/invitation/factory")}createNewLayer(){return this.transport.getFormResponse("/api/org/location/diagram/layer/factory")}createNewLocation(){return this.transport.getFormResponse("/api/org/location/factory")}createNewOrg(){return this.transport.getFormResponse("/api/org/factory")}createNewShape(){return this.transport.getFormResponse("/api/org/location/diagram/shape/factory")}createNewSublocation(){return this.transport.getFormResponse("/api/org/location/sublocation/factory")}deleteByOrgidUserByUserid(t,e){return this.transport.delete(`/api/org/${t}/user/${e}`)}deleteInvitationByInviteId(t){return this.transport.delete(`/api/org/invitation/${t}`)}deleteLocationById(t){return this.transport.delete(`/api/org/location/${t}`)}deleteLocationByIdDiagramByRefid(t,e){return this.transport.delete(`/api/org/location/${t}/diagram/${e}`)}deleteLocationDiagramById(t){return this.transport.delete(`/api/org/location/diagram/${t}`)}getAdminByUserId(t){return this.transport.requestForInvokeResultEx(`/api/org/admin/${t}`)}getById(t){return this.transport.getFormResponse(`/api/org/${t}`)}getByOrgidByUseridOrgs(t,e){return this.transport.get(`/api/org/${t}/${e}/orgs`)}getByOrgidLogoDark(t){return this.transport.request(`/api/org/${t}/logo/dark`)}getByOrgidLogoLight(t){return this.transport.request(`/api/org/${t}/logo/light`)}getByOrgidTheme(t){return this.transport.requestForInvokeResultEx(`/api/org/${t}/theme`)}getCurrent(){return this.transport.getFormResponse("/api/org/current")}getCurrentSummary(){return this.transport.requestForInvokeResultEx("/api/org/current/summary")}getInitialized(){return this.transport.requestForInvokeResultEx("/api/org/initialized")}getInitializedTrue(){return this.transport.get("/api/org/initialized/true")}getInvitationById(t){return this.transport.requestForInvokeResultEx(`/api/org/invitation/${t}`)}getInvitationByInvitationid(t){return this.getInvitationById(t)}getInvitationFormById(t){return this.transport.getFormResponse(`/api/org/invitation/form/${t}`)}getInvitationFormByInvitationid(t){return this.getInvitationFormById(t)}getLocationById(t){return this.transport.getFormResponse(`/api/org/location/${t}`)}getLocationByIdBoundingbox(t){return this.transport.requestForInvokeResultEx(`/api/org/location/${t}/boundingbox`)}getLocationDiagramById(t){return this.transport.getFormResponse(`/api/org/location/diagram/${t}`)}getNamespaceByOrgnamespaceCanuse(t){return this.transport.get(`/api/org/namespace/${t}/canuse`)}getPublicOrgSummaryByNS(t){return this.transport.request(`/api/org/${t}/public/summary`)}getByOrgnsPublicSummary(t){return this.getPublicOrgSummaryByNS(t)}getUsersForOrg(t,e){return this.transport.getListResponse(function ure(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}(`/api/org/${t}/users`,{cached:e}))}listByOrgidUsers(t,e){return this.getUsersForOrg(t,e)}isInviteAvailable(t){return this.transport.request(`/api/org/inviteuser/${t}/isavailable`)}getInviteuserByInviteidIsavailable(t){return this.isInviteAvailable(t)}listInvitations(){return this.transport.getListResponse("/api/org/invitations")}listLocationDiagrams(){return this.transport.getListResponse("/api/org/location/diagrams")}listLocations(){return this.transport.getListResponse("/api/org/locations")}listLocationsCustomerByCustomerid(t){return this.transport.getListResponse(`/api/org/locations/customer/${t}`)}listSimulators(){return this.transport.getListResponse("/api/org/simulators")}orgAdminUserIdClear(t){return this.transport.get(`/api/org/admin/${t}/clear`)}orgAdminUserIdSet(t){return this.transport.get(`/api/org/admin/${t}/set`)}orgAppbuilderUserIdClear(t){return this.transport.get(`/api/org/appbuilder/${t}/clear`)}orgAppbuilderUserIdSet(t){return this.transport.get(`/api/org/appbuilder/${t}/set`)}orgChange(t){return this.transport.postWithResponse("/api/org/change",t)}orgInvitationInviteIdResend(t){return this.transport.get(`/api/org/invitation/${t}/resend`)}orgInviteuserSend(t){return this.transport.postWithResponse("/api/org/inviteuser/send",t)}orgOrgidChange(t){return this.transport.requestForInvokeResultEx(`/api/org/${t}/change`)}update(t){return this.transport.update("/api/org",t)}updateLocation(t){return this.transport.update("/api/org/location",t)}updateLocationByIdDiagram(t,e){return this.transport.update(`/api/org/location/${t}/diagram`,e)}updateLocationDiagram(t){return this.transport.update("/api/org/location/diagram",t)}}function Xm(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class gre{constructor(t){this.transport=t}createNewAccess(t){return this.transport.request(`/api/sys/role/${t}/access/factory`)}createNewAction(){return this.transport.getFormResponse("/api/sys/testing/authview/action/factory")}createNewAuthview(){return this.transport.getFormResponse("/api/sys/testing/authview/factory")}createNewDeviceowner(){return this.transport.getFormResponse("/api/sysadmin/deviceowner/factory")}createNewField(){return this.transport.getFormResponse("/api/sys/testing/authview/field/factory")}createNewRole(){return this.transport.getFormResponse("/api/sys/role/factory")}createNewScenario(){return this.transport.getFormResponse("/api/sys/testing/auth/scenario/factory")}createNewStep(){return this.transport.getFormResponse("/api/systemtest/step/factory")}createNewSystemtasktype(){return this.transport.getFormResponse("/api/systemtasktype/factory")}createNewSystemtest(){return this.transport.getFormResponse("/api/systemtest/factory")}createNewUsersnapshot(){return this.transport.getFormResponse("/api/sys/testing/auth/usersnapshot/factory")}createRole(t){return this.transport.insert("/api/sys/role",t)}createRoleAccess(t){return this.transport.insert("/api/sys/role/access",t)}createSysadminDeviceowner(t){return this.transport.request("/api/sysadmin/deviceowner")}createSysadminMediaResourceByIdContents(t){return this.transport.insert(`/api/sysadmin/media/resource/${t}/contents`,{})}createSystemtasktype(t){return this.transport.insert("/api/systemtasktype",t)}createSystemtest(t){return this.transport.insert("/api/systemtest",t)}createSystemtestBySystemTestExecutionIdStepByStepIdComplete(t,e,r){return this.transport.postWithResponse(`/api/systemtest/${t}/step/${e}/complete`,r)}createTestingAuthRunComplete(){return this.transport.insert("/api/sys/testing/auth/run/complete",{})}createTestingAuthRuns(){return this.transport.postForListResponse("/api/sys/testing/auth/runs",{})}createTestingAuthScenario(t){return this.transport.insert("/api/sys/testing/auth/scenario",t)}createTestingAuthview(t){return this.transport.insert("/api/sys/testing/authview",t)}deleteEntityByEntityidRating(t){return this.transport.deleteWithResponse(`/api/entity/${t}/rating`)}deleteRoleAccessById(t){return this.transport.delete(`/api/sys/role/access/${t}`)}deleteSysadminDeviceowneruserByOrgidById(t,e){return this.transport.delete(`/api/sysadmin/deviceowneruser/${t}/${e}`)}deleteSystemtasktypeById(t){return this.transport.delete(`/api/systemtasktype/${t}`)}deleteSystemtestById(t){return this.transport.delete(`/api/systemtest/${t}`)}deleteSystemtestExecutionById(t){return this.transport.delete(`/api/systemtest/execution/${t}`)}deleteTestingAuthScenarioById(t){return this.transport.delete(`/api/sys/testing/auth/scenario/${t}`)}deleteTestingAuthviewById(t){return this.transport.delete(`/api/sys/testing/authview/${t}`)}deleteTestingUser(){return this.transport.delete("/api/sys/testing/user")}entityIdPublicSet(t){return this.transport.get(`/api/entity/${t}/public/set`)}getEntityByEntityidCalchash(t){return this.transport.get(`/api/entity/${t}/calchash`)}getEntityByEntityidIndex(t){return this.transport.get(`/api/entity/${t}/index`)}getEntityByIdGraph(t){return this.transport.requestForInvokeResultEx(`/api/entity/${t}/graph`)}getEntityByIdResolveEntityheaders(t){return this.transport.requestForInvokeResultEx(`/api/entity/${t}/resolve/entityheaders`)}getEntitytypeByEntitytypeResolveEntityheaders(t,e){return this.transport.requestForInvokeResultEx(Xm(`/api/entitytype/${t}/resolve/entityheaders`,{continuationToken:e}))}getOrgByOrgidUserByUseridAdd(t,e){return this.transport.requestForInvokeResultEx(`/api/sys/org/${t}/user/${e}/add`)}getRoleAccessModuleByModuleid(t){return this.transport.request(`/api/sys/role/access/module/${t}`)}getRoleAccessModuleByModuleidAreaByAreaid(t,e){return this.transport.request(`/api/sys/role/access/module/${t}/area/${e}`)}getRoleAccessModuleByModuleidAreaByAreaidFeatureByFeatureid(t,e,r){return this.transport.request(`/api/sys/role/access/module/${t}/area/${e}/feature/${r}`)}getRoleAccessModuleByModuleidAreaByAreaidPageByPageid(t,e,r){return this.transport.request(`/api/sys/role/access/module/${t}/area/${e}/page/${r}`)}getRoleAccessModuleByModuleidAreaByAreaidPageByPageidFeatureByFeatureid(t,e,r,n){return this.transport.request(`/api/sys/role/access/module/${t}/area/${e}/page/${r}/feature/${n}`)}getRoleAccessModuleByModuleidFeatureByFeatureid(t,e){return this.transport.request(`/api/sys/role/access/module/${t}/feature/${e}`)}getRoleById(t){return this.transport.getFormResponse(`/api/sys/role/${t}`)}getRoleByRoleidAccess(t){return this.transport.request(`/api/sys/role/${t}/access`)}getRoles(){return this.transport.request("/api/sys/roles")}getRolesAssignable(){return this.transport.request("/api/sys/roles/assignable")}getSysadminDeviceowneruserByOrgidById(t,e){return this.transport.getFormResponse(`/api/sysadmin/deviceowneruser/${t}/${e}`)}getSysadminSmsByUseridSetverified(t){return this.transport.get(`/api/sysadmin/sms/${t}/setverified`)}getSystemtasktypeById(t){return this.transport.getFormResponse(`/api/systemtasktype/${t}`)}getSystemtestById(t){return this.transport.getFormResponse(`/api/systemtest/${t}`)}getSystemtestByIdAbort(t){return this.transport.requestForInvokeResultEx(`/api/systemtest/${t}/abort`)}getSystemtestByIdStart(t){return this.transport.requestForInvokeResultEx(`/api/systemtest/${t}/start`)}getSystemtestBySystemTestExecutionIdStepByStepIdUndo(t,e){return this.transport.requestForInvokeResultEx(`/api/systemtest/${t}/step/${e}/undo`)}getSystemtestExecutionByIdResult(t){return this.transport.requestForInvokeResultEx(`/api/systemtest/execution/${t}/result`)}getTestingAuthRunByRunId(t){return this.transport.requestForInvokeResultEx(`/api/sys/testing/auth/run/${t}`)}getTestingAuthScenarioById(t){return this.transport.getFormResponse(`/api/sys/testing/auth/scenario/${t}`)}getTestingAuthScenarioByIdPlan(t,e){return this.transport.requestForInvokeResultEx(Xm(`/api/sys/testing/auth/scenario/${t}/plan`,{headless:e}))}getTestingAuthviewById(t){return this.transport.getFormResponse(`/api/sys/testing/authview/${t}`)}getTestingTokenEmailLast(){return this.transport.requestForInvokeResultEx("/api/sys/testing/token/email/last")}getTestingTokenSmsLast(){return this.transport.requestForInvokeResultEx("/api/sys/testing/token/sms/last")}getUserByUseridEmailConfirm(t){return this.transport.requestForInvokeResultEx(`/api/sys/user/${t}/email/confirm`)}getUserByUseridLogintypeByLogintype(t,e){return this.transport.requestForInvokeResultEx(`/api/sys/user/${t}/logintype/${e}`)}getUserByUseridPhoneConfirm(t){return this.transport.requestForInvokeResultEx(`/api/sys/user/${t}/phone/confirm`)}listAuthLog(){return this.transport.getListResponse("/api/sys/auth/log")}listAuthLogByType(t){return this.transport.getListResponse(`/api/sys/auth/log/${t}`)}listSysadminDeviceownerusers(){return this.transport.getListResponse("/api/sysadmin/deviceownerusers")}listSystemtasktypes(){return this.transport.getListResponse("/api/systemtasktypes")}listSystemtestExecutionCustomerByCustomeridResults(t){return this.transport.getListResponse(`/api/systemtest/execution/customer/${t}/results`)}listSystemtestExecutionResults(){return this.transport.getListResponse("/api/systemtest/execution/results")}listSystemtests(){return this.transport.getListResponse("/api/systemtests")}listTestingAuthlogReview(){return this.transport.getListResponse("/api/sys/testing/authlog/review")}listTestingAuthScenarios(){return this.transport.getListResponse("/api/sys/testing/auth/scenarios")}listTestingAuthviews(){return this.transport.getListResponse("/api/sys/testing/authviews")}listUserByUseridAuthLog(t){return this.transport.getListResponse(`/api/sys/user/${t}/auth/log`)}listUserEmailAuthLog(t){return this.transport.getListResponse(Xm("/api/sys/user/email/auth/log",{email:t}))}listUserSearch(t,e,r){return this.transport.getListResponse(Xm("/api/sys/user/search",{email:t,firstname:e,lastname:r}))}sysUserIdFinanceadminClear(t,e){return this.transport.requestForInvokeResultEx(Xm(`/api/sys/user/${t}/financeadmin/clear`,{userid:e}))}sysUserUseridEmailConfirmSend(t){return this.transport.requestForInvokeResultEx(`/api/sys/user/${t}/email/confirm/send`)}sysUserUseridFinanceadminSet(t){return this.transport.requestForInvokeResultEx(`/api/sys/user/${t}/financeadmin/set`)}sysUserUseridPhoneConfirmSend(t){return this.transport.requestForInvokeResultEx(`/api/sys/user/${t}/phone/confirm/send`)}updateEntityByEntityidCategory(t,e){return this.transport.update(`/api/entity/${t}/category`,e)}updateEntityByEntityidRateByRating(t,e){return this.transport.updateWithResponse(`/api/entity/${t}/rate/${e}`,{})}updateRole(t){return this.transport.update("/api/sys/role",t)}updateSysadminDeviceowner(t){return this.transport.request("/api/sysadmin/deviceowner")}updateSystemtasktype(t){return this.transport.update("/api/systemtasktype",t)}updateSystemtest(t){return this.transport.update("/api/systemtest",t)}updateTestingAuthScenario(t){return this.transport.update("/api/sys/testing/auth/scenario",t)}updateTestingAuthview(t){return this.transport.update("/api/sys/testing/authview",t)}}function Ec(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class mre{constructor(t){this.transport=t}aiAgentSessionSessionidPersonaChangePersonaid(t,e){return this.transport.request(`/api/ai/agent/session/${t}/persona/change/${e}`)}createAgentcontext(t){return this.transport.insert("/api/ai/agentcontext",t)}createAgentExecute(t){return this.transport.request("/api/ai/agent/execute")}createAgentExecuteEa(t){return this.transport.request("/api/ai/agent/execute/ea")}createAgentpersona(t){return this.transport.insert("/api/ai/agentpersona",t)}createArtifactquerySearch(t){return this.transport.postForListResponse("/api/ai/artifactquery/search",t)}createConversation(t){return this.transport.insert("/api/ai/conversation",t)}createEntitiesByEntityIdImprovementChecklistComplete(t,e){return this.transport.insert(`/api/ai/entities/${t}/improvement/checklist/complete`,e)}createEntitiesByEntityIdImprovementChecklistReset(t,e){return this.transport.insert(`/api/ai/entities/${t}/improvement/checklist/reset`,e)}createEntitiesByEntityIdRecommendationsByRecommendationIdApply(t,e,r){return this.transport.postWithResponse(`/api/ai/entities/${t}/recommendations/${e}/apply`,r)}createEntitiesByEntityIdRecommendationsByRecommendationIdOverride(t,e,r){return this.transport.insert(`/api/ai/entities/${t}/recommendations/${e}/override`,r)}createEntitiesByEntityIdRecommendationsByRecommendationIdSupersede(t,e,r){return this.transport.insert(`/api/ai/entities/${t}/recommendations/${e}/supersede`,r)}createEntityByEntityIdAlign(t,e){return this.transport.postWithResponse(Ec(`/api/ai/entity/${t}/align`,{feedback:e}),{})}createEntityByEntityIdField(t,e){return this.transport.insert(`/api/ai/entity/${t}/field`,e)}createEntityByEntityIdImprove(t,e,r){return this.transport.postWithResponse(Ec(`/api/ai/entity/${t}/improve`,{reconcile:e,uncompletedOnly:r}),{})}createEntityByEntityIdImproveByStep(t,e,r){return this.transport.postWithResponse(Ec(`/api/ai/entity/${t}/improve/${e}`,{feedback:r}),{})}createEntityByEntityIdReview(t){return this.transport.postWithResponse(`/api/ai/entity/${t}/review`,{})}createImageGenerate(t){return this.transport.postWithResponse("/api/ai/image/generate",t)}createMlLabel(t){return this.transport.insert("/api/ml/label",t)}createMlLabelset(t){return this.transport.insert("/api/ml/labelset",t)}createMlModel(t){return this.transport.insert("/api/ml/model",t)}createMlModelByModelidByRevision(t,e){return this.transport.postWithResponse(`/api/ml/model/${t}/${e}`,{})}createMlModelcategory(t){return this.transport.insert("/api/ml/modelcategory",t)}createMlModelExperimentResult(t){return this.transport.request("/api/ml/model/experiment/result")}createMlSample(t){return this.transport.postWithResponse(Ec("/api/ml/sample",{tagsString:t}),{})}createMlTrainingdataset(t){return this.transport.insert("/api/ml/trainingdataset",t)}createNewAgentcontext(){return this.transport.getFormResponse("/api/ai/agentcontext/factory")}createNewAgentpersona(){return this.transport.getFormResponse("/api/ai/agentpersona/factory")}createNewArtifactexplorerview(){return this.transport.request("/api/vteam/artifactexplorerview/factory")}createNewArtifactspec(){return this.transport.getFormResponse("/api/vteam/artifactspec/factory")}createNewConversation(){return this.transport.getFormResponse("/api/ai/conversation/factory")}createNewEja(){return this.transport.getFormResponse("/api/vteam/eja/factory")}createNewExperiment(){return this.transport.getFormResponse("/api/ml/model/experiment/factory")}createNewInteraction(){return this.transport.getFormResponse("/api/ml/conversation/interaction/factory")}createNewLabel(){return this.transport.getFormResponse("/api/ml/label/factory")}createNewLabelset(){return this.transport.getFormResponse("/api/ml/labelset/factory")}createNewMember(){return this.transport.getFormResponse("/api/vteam/member/factory")}createNewMode(){return this.transport.getFormResponse("/api/ai/agentcontext/mode/factory")}createNewModel(){return this.transport.getFormResponse("/api/ml/model/factory")}createNewModelcategory(){return this.transport.getFormResponse("/api/ml/modelcategory/factory")}createNewModellabel(){return this.transport.getFormResponse("/api/ml/modellabel/factory")}createNewModelschema(){return this.transport.getFormResponse("/api/vteam/artifactspec/modelschema/factory")}createNewModelSetting(){return this.transport.getFormResponse("/api/ml/model/setting/factory")}createNewNonartifactinput(){return this.transport.getFormResponse("/api/vteam/sop/nonartifactinput/factory")}createNewNote(){return this.transport.getFormResponse("/api/ml/model/note/factory")}createNewOperation(){return this.transport.getFormResponse("/api/vteam/artifactspec/operation/factory")}createNewPreprocessor(){return this.transport.getFormResponse("/api/ml/model/preprocessor/factory")}createNewPreprocessorSetting(){return this.transport.getFormResponse("/api/ml/model/preprocessor/setting/factory")}createNewRevision(){return this.transport.getFormResponse("/api/ml/model/revision/factory")}createNewRole(){return this.transport.getFormResponse("/api/ai/agentcontext/role/factory")}createNewSample(){return this.transport.requestForInvokeResultEx("/api/ai/agent/execute/response/sample/factory")}createNewSop(){return this.transport.getFormResponse("/api/vteam/sop/factory")}createNewToolbox(){return this.transport.getFormResponse("/api/ai/toolbox/factory")}createNewTrainingdataset(){return this.transport.getFormResponse("/api/ml/trainingdataset/factory")}createNewTrigger(){return this.transport.getFormResponse("/api/vteam/eja/trigger/factory")}createTextquery(t){return this.transport.postWithResponse("/api/ai/textquery",t)}createTextqueryFactoryByType(t,e){return this.transport.request(Ec(`/api/ai/textquery/factory/${t}`,{query:e}))}createToolbox(t){return this.transport.insert("/api/ai/toolbox",t)}createVteamArtifactexplorerview(t){return this.transport.insert("/api/vteam/artifactexplorerview",t)}createVteamArtifactspec(t){return this.transport.insert("/api/vteam/artifactspec",t)}createVteamEja(t){return this.transport.insert("/api/vteam/eja",t)}createVteamMember(t){return this.transport.insert("/api/vteam/member",t)}createVteamSop(t){return this.transport.insert("/api/vteam/sop",t)}deleteAgentcontextById(t){return this.transport.delete(`/api/ai/agentcontext/${t}`)}deleteAgentpersonaById(t){return this.transport.delete(`/api/ai/agentpersona/${t}`)}deleteAgentSessionById(t){return this.transport.deleteWithResponse(`/api/ai/agent/session/${t}`)}deleteConversationById(t){return this.transport.delete(`/api/ai/conversation/${t}`)}deleteMlLabelsetById(t){return this.transport.delete(`/api/ml/labelset/${t}`)}deleteMlModelById(t){return this.transport.delete(`/api/ml/model/${t}`)}deleteMlModelcategoryById(t){return this.transport.delete(`/api/ml/modelcategory/${t}`)}deleteMlSampleBySampleidLabelByLabelid(t,e){return this.transport.delete(`/api/ml/sample/${t}/label/${e}`)}deleteMlTrainingdatasetById(t){return this.transport.request(`/api/ml/trainingdataset/${t}`)}deleteToolboxById(t){return this.transport.delete(`/api/ai/toolbox/${t}`)}deleteVteamArtifactexplorerviewById(t){return this.transport.delete(`/api/vteam/artifactexplorerview/${t}`)}deleteVteamArtifactspecById(t){return this.transport.delete(`/api/vteam/artifactspec/${t}`)}deleteVteamEjaById(t){return this.transport.delete(`/api/vteam/eja/${t}`)}deleteVteamMemberById(t){return this.transport.delete(`/api/vteam/member/${t}`)}deleteVteamSopById(t){return this.transport.delete(`/api/vteam/sop/${t}`)}getAgentcontextById(t){return this.transport.getFormResponse(`/api/ai/agentcontext/${t}`)}getAgentcontextByIdSecrets(t){return this.transport.getFormResponse(`/api/ai/agentcontext/${t}/secrets`)}getAgentpersonaById(t){return this.transport.getFormResponse(`/api/ai/agentpersona/${t}`)}getAgentPing(){return this.transport.request("/api/ai/agent/ping")}getAgentSessionById(t){return this.transport.requestForInvokeResultEx(`/api/ai/agent/session/${t}`)}getAgentSessionByIdArchive(t){return this.transport.requestForInvokeResultEx(`/api/ai/agent/session/${t}/archive`)}getAgentSessionByIdComplete(t){return this.transport.requestForInvokeResultEx(`/api/ai/agent/session/${t}/complete`)}getAgentSessionByIdRename(t,e){return this.transport.requestForInvokeResultEx(Ec(`/api/ai/agent/session/${t}/rename`,{name:e}))}getAgentSessionByIdShare(t){return this.transport.requestForInvokeResultEx(`/api/ai/agent/session/${t}/share`)}getAgentSessionBySessionidBranchByTurnid(t,e){return this.transport.requestForInvokeResultEx(`/api/ai/agent/session/${t}/branch/${e}`)}getAgentSessionBySessionidChapterRestoreByChapterid(t,e){return this.transport.requestForInvokeResultEx(`/api/ai/agent/session/${t}/chapter/restore/${e}`)}getAgentSessionBySessionidRollbackByTurnid(t,e){return this.transport.requestForInvokeResultEx(`/api/ai/agent/session/${t}/rollback/${e}`)}getArtifactByArtifactidHuman(t){return this.transport.requestForInvokeResultEx(`/api/ai/artifact/${t}/human`)}getArtifactByArtifactidHumanRevisionByRevision(t,e){return this.transport.requestForInvokeResultEx(`/api/ai/artifact/${t}/human/revision/${e}`)}getArtifactqueryByPointIdHuman(t){return this.transport.requestForInvokeResultEx(`/api/ai/artifactquery/${t}/human`)}getArtifactqueryEntityTypes(){return this.transport.requestForInvokeResultEx("/api/ai/artifactquery/entity-types")}getConversationById(t){return this.transport.getFormResponse(`/api/ai/conversation/${t}`)}getConversationByKeyKeyinuse(t){return this.transport.request(`/api/ai/conversation/${t}/keyinuse`)}getEntitiesByEntityIdImprovementReportsByReviewId(t,e){return this.transport.requestForInvokeResultEx(`/api/ai/entities/${t}/improvement-reports/${e}`)}getEntityByEntityIdShapeFieldByStepSession(t,e){return this.transport.requestForInvokeResultEx(`/api/ai/entity/${t}/shape-field/${e}/session`)}getMlLabelById(t){return this.transport.getFormResponse(`/api/ml/label/${t}`)}getMlLabelsetById(t){return this.transport.getFormResponse(`/api/ml/labelset/${t}`)}getMlModelById(t){return this.transport.getFormResponse(`/api/ml/model/${t}`)}getMlModelByIdByRevisionExperimentResults(t,e){return this.transport.request(`/api/ml/model/${t}/${e}/experiment/results`)}getMlModelByKeyKeyinuse(t){return this.transport.request(`/api/ml/model/${t}/keyinuse`)}getMlModelByModelidByRevision(t,e){return this.transport.request(`/api/ml/model/${t}/${e}`)}getMlModelcategoryById(t){return this.transport.getFormResponse(`/api/ml/modelcategory/${t}`)}getMlModelcategoryByKeyKeyinuse(t){return this.transport.request(`/api/ml/modelcategory/${t}/keyinuse`)}getMlSampleById(t){return this.transport.request(`/api/ml/sample/${t}`)}getMlSampleByIdDetail(t){return this.transport.request(`/api/ml/sample/${t}/detail`)}getMlSampleBySampleidLabelByLabelid(t,e){return this.transport.get(`/api/ml/sample/${t}/label/${e}`)}getMlTrainingdatasetById(t){return this.transport.getFormResponse(`/api/ml/trainingdataset/${t}`)}getRequestArtifactauthoringById(t){return this.transport.requestForInvokeResultEx(`/api/ai/request/artifactauthoring/${t}`)}getToolboxById(t){return this.transport.getFormResponse(`/api/ai/toolbox/${t}`)}getVteamArtifactexplorer(){return this.transport.requestForInvokeResultEx("/api/vteam/artifactexplorer")}getVteamArtifactexplorerviewById(t){return this.transport.request(`/api/vteam/artifactexplorerview/${t}`)}getVteamArtifactsByMappingIdPressByEntityId(t,e){return this.transport.requestForInvokeResultEx(`/api/vteam/artifacts/${t}/press/${e}`)}getVteamArtifactspecByArtifactSpecificationIdOperationsSuggestions(t){return this.transport.requestForInvokeResultEx(`/api/vteam/artifactspec/${t}/operations/suggestions`)}getVteamArtifactspecById(t){return this.transport.getFormResponse(`/api/vteam/artifactspec/${t}`)}getVteamArtifactspecByIdInuse(t){return this.transport.request(`/api/vteam/artifactspec/${t}/inuse`)}getVteamArtifactspecByKeyKeyinuse(t){return this.transport.request(`/api/vteam/artifactspec/${t}/keyinuse`)}getVteamCatalog(){return this.transport.requestForInvokeResultEx("/api/vteam/catalog")}getVteamEjaById(t){return this.transport.getFormResponse(`/api/vteam/eja/${t}`)}getVteamEjaByIdInuse(t){return this.transport.request(`/api/vteam/eja/${t}/inuse`)}getVteamEjaByKeyKeyinuse(t){return this.transport.request(`/api/vteam/eja/${t}/keyinuse`)}getVteamMeetingAgentSessionByAgentSessionId(t){return this.transport.request(`/api/vteam/meeting/agent-session/${t}`)}getVteamMeetingById(t){return this.transport.request(`/api/vteam/meeting/${t}`)}getVteamMeetingByIdRun(t){return this.transport.request(`/api/vteam/meeting/${t}/run`)}getVteamMemberById(t){return this.transport.getFormResponse(`/api/vteam/member/${t}`)}getVteamMemberByIdInuse(t){return this.transport.request(`/api/vteam/member/${t}/inuse`)}getVteamMemberByKeyKeyinuse(t){return this.transport.request(`/api/vteam/member/${t}/keyinuse`)}getVteamSopById(t){return this.transport.getFormResponse(`/api/vteam/sop/${t}`)}getVteamSopByIdInuse(t){return this.transport.request(`/api/vteam/sop/${t}/inuse`)}getVteamSopByKeyKeyinuse(t){return this.transport.request(`/api/vteam/sop/${t}/keyinuse`)}getVteamSopsBySopIdArtifactAlignmentReview(t,e){return this.transport.requestForInvokeResultEx(Ec(`/api/vteam/sops/${t}/artifact-alignment-review`,{maturity:e}))}getVtmHealthreviewSnapshot(){return this.transport.requestForInvokeResultEx("/api/ai/vtm/healthreview/snapshot")}listAgentcontextByIdModes(t){return this.transport.getListResponse(`/api/ai/agentcontext/${t}/modes`)}listAgentcontextByIdRoles(t){return this.transport.getListResponse(`/api/ai/agentcontext/${t}/roles`)}listAgentcontexts(){return this.transport.getListResponse("/api/ai/agentcontexts")}listAgentpersonas(){return this.transport.getListResponse("/api/ai/agentpersonas")}listAgentSessions(){return this.transport.getListResponse("/api/ai/agent/sessions")}listAgenttools(){return this.transport.getListResponse("/api/ai/agenttools")}listConversations(){return this.transport.getListResponse("/api/ai/conversations")}listConversationsUser(){return this.transport.getListResponse("/api/ai/conversations/user")}listEntitiesByEntityIdImprovementReports(t){return this.transport.getListResponse(`/api/ai/entities/${t}/improvement-reports`)}listEntitiesByEntityIdRecommendations(t){return this.transport.getListResponse(`/api/ai/entities/${t}/recommendations`)}listEntitiesByEntityIdRecommendationsPending(t){return this.transport.getListResponse(`/api/ai/entities/${t}/recommendations/pending`)}listMlLabels(){return this.transport.getListResponse("/api/ml/labels")}listMlLabelsets(){return this.transport.getListResponse("/api/ml/labelsets")}listMlLabelsSearch(t){return this.transport.getListResponse(Ec("/api/ml/labels/search",{search:t}))}listMlModelByModelidRevisions(t){return this.transport.getListResponse(`/api/ml/model/${t}/revisions`)}listMlModelcategories(){return this.transport.getListResponse("/api/ml/modelcategories")}listMlModels(){return this.transport.getListResponse("/api/ml/models")}listMlSamplesLabelByLabelid(t){return this.transport.getListResponse(`/api/ml/samples/label/${t}`)}listMlTrainingdatasets(){return this.transport.getListResponse("/api/ml/trainingdatasets")}listStartupctxproviders(){return this.transport.getListResponse("/api/ai/startupctxproviders")}listToolboxes(){return this.transport.getListResponse("/api/ai/toolboxes")}listVteamArtifactexplorerviews(){return this.transport.getListResponse("/api/vteam/artifactexplorerviews")}listVteamArtifactspecs(){return this.transport.getListResponse("/api/vteam/artifactspecs")}listVteamEjas(){return this.transport.getListResponse("/api/vteam/ejas")}listVteamMeetingsOrg(){return this.transport.getListResponse("/api/vteam/meetings/org")}listVteamMeetingsUser(){return this.transport.getListResponse("/api/vteam/meetings/user")}listVteamMembers(){return this.transport.getListResponse("/api/vteam/members")}listVteamSops(){return this.transport.getListResponse("/api/vteam/sops")}updateAgentcontext(t){return this.transport.update("/api/ai/agentcontext",t)}updateAgentpersona(t){return this.transport.update("/api/ai/agentpersona",t)}updateConversation(t){return this.transport.update("/api/ai/conversation",t)}updateMlLabel(t){return this.transport.update("/api/ml/label",t)}updateMlLabelset(t){return this.transport.update("/api/ml/labelset",t)}updateMlModel(t){return this.transport.update("/api/ml/model",t)}updateMlModelcategory(t){return this.transport.update("/api/ml/modelcategory",t)}updateMlSampleBySampleid(t){return this.transport.update(`/api/ml/sample/${t}`,{})}updateMlTrainingdataset(t){return this.transport.update("/api/ml/trainingdataset",t)}updateToolbox(t){return this.transport.update("/api/ai/toolbox",t)}updateVteamArtifactexplorerview(t){return this.transport.update("/api/vteam/artifactexplorerview",t)}updateVteamArtifactspec(t){return this.transport.update("/api/vteam/artifactspec",t)}updateVteamEja(t){return this.transport.update("/api/vteam/eja",t)}updateVteamMember(t){return this.transport.update("/api/vteam/member",t)}updateVteamSop(t){return this.transport.update("/api/vteam/sop",t)}}class _re{constructor(t){this.transport=t}createIndustry(t){return this.transport.insert("/api/industry",t)}createLandingpage(t){return this.transport.insert("/api/landingpage",t)}createLandingpageLayout(t){return this.transport.insert("/api/landingpage/layout",t)}createLandingpageMenu(t){return this.transport.insert("/api/landingpage/menu",t)}createLandingpagePalette(t){return this.transport.insert("/api/landingpage/palette",t)}createNewCarousel(){return this.transport.getFormResponse("/api/landingpage/carousel/factory")}createNewIndustry(){return this.transport.getFormResponse("/api/industry/factory")}createNewInlinestyle(){return this.transport.getFormResponse("/api/landingpage/layout/inlinestyle/factory")}createNewLandingpage(){return this.transport.getFormResponse("/api/landingpage/factory")}createNewLandingpageinfo(){return this.transport.getFormResponse("/api/landingpageinfo/factory")}createNewLayout(){return this.transport.getFormResponse("/api/landingpage/layout/factory")}createNewMenu(){return this.transport.getFormResponse("/api/landingpage/menu/factory")}createNewNiche(){return this.transport.getFormResponse("/api/industry/niche/factory")}createNewPalette(){return this.transport.getFormResponse("/api/landingpage/palette/factory")}createNewPersona(){return this.transport.getFormResponse("/api/industry/persona/factory")}createNewPersonaGet(){return this.transport.getFormResponse("/api/persona/factory")}createNewRolereality(){return this.transport.getFormResponse("/api/rolereality/factory")}createNewSection(){return this.transport.getFormResponse("/api/landingpage/section/factory")}createNewSensors(){return this.transport.getFormResponse("/api/industry/sensors/factory")}createPersona(t){return this.transport.insert("/api/persona",t)}createRolereality(t){return this.transport.insert("/api/rolereality",t)}deleteIndustryById(t){return this.transport.delete(`/api/industry/${t}`)}deleteLandingpageById(t){return this.transport.delete(`/api/landingpage/${t}`)}deleteLandingpageLayoutById(t){return this.transport.delete(`/api/landingpage/layout/${t}`)}deleteLandingpageMenuById(t){return this.transport.delete(`/api/landingpage/menu/${t}`)}deleteLandingpagePaletteById(t){return this.transport.delete(`/api/landingpage/palette/${t}`)}deletePersonaById(t){return this.transport.delete(`/api/persona/${t}`)}deleteRolerealityById(t){return this.transport.delete(`/api/rolereality/${t}`)}getIndustryById(t){return this.transport.getFormResponse(`/api/industry/${t}`)}getIndustryByIdSurveys(t){return this.transport.request(`/api/industry/${t}/surveys`)}getIndustryByIndustryidByIndustrynicheidContactlist(t,e){return this.transport.requestForInvokeResultEx(`/api/industry/${t}/${e}/contactlist`)}getIndustryByIndustryidContactlist(t){return this.transport.requestForInvokeResultEx(`/api/industry/${t}/contactlist`)}getIndustryByIndustryidNichesPicker(t){return this.transport.request(`/api/industry/${t}/niches/picker`)}getIndustryCrossorgByIndustryId(t){return this.transport.requestForInvokeResultEx(`/api/industry/crossorg/${t}`)}getLandingpageById(t){return this.transport.getFormResponse(`/api/landingpage/${t}`)}getLandingpageCarouselTags(){return this.transport.request("/api/landingpage/carousel/tags")}getLandingpageFooterTags(){return this.transport.request("/api/landingpage/footer/tags")}getLandingpageHeaderTags(){return this.transport.request("/api/landingpage/header/tags")}getLandingpageLayoutById(t){return this.transport.getFormResponse(`/api/landingpage/layout/${t}`)}getLandingpageLayoutTags(){return this.transport.request("/api/landingpage/layout/tags")}getLandingpageMenuById(t){return this.transport.getFormResponse(`/api/landingpage/menu/${t}`)}getLandingpagePaletteById(t){return this.transport.getFormResponse(`/api/landingpage/palette/${t}`)}getLandingpagePaletteTags(){return this.transport.request("/api/landingpage/palette/tags")}getLandingpageSectionTags(){return this.transport.request("/api/landingpage/section/tags")}getLandingpageTags(){return this.transport.request("/api/landingpage/tags")}getMenuById(t){return this.transport.request(`/api/menu/${t}`)}getPersonaById(t){return this.transport.getFormResponse(`/api/persona/${t}`)}getPersonaVpcGenerate(t,e){return this.transport.requestForInvokeResultEx(function fre(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}("/api/persona/vpc/generate",{q:t,r:e}))}getRolerealityById(t){return this.transport.getFormResponse(`/api/rolereality/${t}`)}listIndustryByIndustryidMailinglists(t){return this.transport.getListResponse(`/api/industry/${t}/mailinglists`)}listIndustryByIndustryidNiches(t){return this.transport.getListResponse(`/api/industry/${t}/niches`)}listLandingpageLayouts(){return this.transport.getListResponse("/api/landingpage/layouts")}listLandingpageMenus(){return this.transport.getListResponse("/api/landingpage/menus")}listLandingpagePalettes(){return this.transport.getListResponse("/api/landingpage/palettes")}listLandingpages(){return this.transport.getListResponse("/api/landingpages")}listPersonas(){return this.transport.getListResponse("/api/personas")}listRolerealities(){return this.transport.getListResponse("/api/rolerealities")}updateIndustry(t){return this.transport.update("/api/industry",t)}updateLandingpage(t){return this.transport.update("/api/landingpage",t)}updateLandingpageLayout(t){return this.transport.update("/api/landingpage/layout",t)}updateLandingpageMenu(t){return this.transport.update("/api/landingpage/menu",t)}updateLandingpagePalette(t){return this.transport.update("/api/landingpage/palette",t)}updatePersona(t){return this.transport.update("/api/persona",t)}updateRolereality(t){return this.transport.update("/api/rolereality",t)}}function tR(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class vre{constructor(t){this.transport=t}createBulkMailer(t){return this.transport.insert("/api/email/bulk/mailer",t)}createList(t){return this.transport.insert("/api/email/list",t)}createListByIdUpload(t){return this.transport.postWithResponse(`/api/email/list/${t}/upload`,{})}createMailer(t){return this.transport.insert("/api/email/mailer",t)}createNewAbtemplate(){return this.transport.getFormResponse("/api/email/bulk/mailer/abtemplate/factory")}createNewAttachment(){return this.transport.getFormResponse("/api/email/attachment/factory")}createNewEmail(){return this.transport.getFormResponse("/api/email/sender/email/factory")}createNewList(){return this.transport.getFormResponse("/api/email/list/factory")}createNewMailer(){return this.transport.getFormResponse("/api/email/bulk/mailer/factory")}createNewMailerGet(){return this.transport.getFormResponse("/api/email/mailer/factory")}createNewSend(){return this.transport.getFormResponse("/api/email/send/factory")}createNewSender(){return this.transport.getFormResponse("/api/email/sender/factory")}createRefreshlinks(t){return this.transport.postWithResponse("/api/email/refreshlinks",t)}createSender(t){return this.transport.insert("/api/email/sender",t)}deleteBulkMailerById(t){return this.transport.delete(`/api/email/bulk/mailer/${t}`)}deleteListById(t){return this.transport.delete(`/api/email/list/${t}`)}deleteMailerById(t){return this.transport.delete(`/api/email/mailer/${t}`)}deleteMailinglistById(t){return this.transport.delete(`/api/email/mailinglist/${t}`)}deleteSenderById(t){return this.transport.delete(`/api/email/sender/${t}`)}emailBulkMailerIdSend(t){return this.transport.get(`/api/email/bulk/mailer/${t}/send`)}emailCampaignSend(t,e,r,n){return this.transport.requestForInvokeResultEx(tR("/api/email/campaign/send",{name:t,listId:e,senderId:r,designId:n}))}emailMailerIdSend(t){return this.transport.get(`/api/email/mailer/${t}/send`)}emailSend(t){return this.transport.insert("/api/email/send",t)}getBulkMailerById(t){return this.transport.getFormResponse(`/api/email/bulk/mailer/${t}`)}getEmailtemplatesButtonTags(){return this.transport.request("/api/emailtemplates/button/tags")}getEmailtemplatesHerosectionTags(){return this.transport.request("/api/emailtemplates/herosection/tags")}getEmailtemplatesLayoutTags(){return this.transport.request("/api/emailtemplates/layout/tags")}getEmailtemplatesMaincolorsTags(){return this.transport.request("/api/emailtemplates/maincolors/tags")}getEmailtemplatesSectionsTags(){return this.transport.request("/api/emailtemplates/sections/tags")}getEmailtemplatesSocialmediaTags(){return this.transport.request("/api/emailtemplates/socialmedia/tags")}getEmailtemplatesTags(){return this.transport.request("/api/emailtemplates/tags")}getEmailtemplatesTagsColors(){return this.transport.request("/api/emailtemplates/tags/colors")}getListById(t){return this.transport.getFormResponse(`/api/email/list/${t}`)}getListByListidImportjobByJobidRefresh(t,e){return this.transport.requestForInvokeResultEx(`/api/email/list/${t}/importjob/${e}/refresh`)}getMailerById(t){return this.transport.getFormResponse(`/api/email/mailer/${t}`)}getMailinglistByIdRefresh(t){return this.transport.get(`/api/email/mailinglist/${t}/refresh`)}getSenderById(t){return this.transport.getFormResponse(`/api/email/sender/${t}`)}getSenderCreateByUserid(t,e){return this.transport.requestForInvokeResultEx(tR(`/api/email/sender/create/${t}`,{nickname:e}))}listBulkMailers(){return this.transport.getListResponse("/api/email/bulk/mailers")}listCampaigns(){return this.transport.getListResponse("/api/email/campaigns")}listDesigns(){return this.transport.getListResponse("/api/email/designs")}listMailerByIdResults(t){return this.transport.getListResponse(`/api/email/mailer/${t}/results`)}listMailers(){return this.transport.getListResponse("/api/email/mailers")}listMailinglists(){return this.transport.getListResponse("/api/email/mailinglists")}lists(){return this.transport.getListResponse("/api/email/lists")}listSenders(){return this.transport.getListResponse("/api/email/senders")}listSentemailHistoryCompanyByCustomerid(t){return this.transport.getListResponse(`/api/email/sentemail/history/company/${t}`)}listSentemailHistoryContactByContactid(t){return this.transport.getListResponse(`/api/email/sentemail/history/contact/${t}`)}listSentemailHistoryMailerByMailerid(t){return this.transport.getListResponse(`/api/email/sentemail/history/mailer/${t}`)}listSentemailHistoryMessageByMessageid(t){return this.transport.getListResponse(`/api/email/sentemail/history/message/${t}`)}listSentemailHistoryOrg(){return this.transport.getListResponse("/api/email/sentemail/history/org")}listSentemailIndividualHistoryOrg(){return this.transport.getListResponse("/api/email/sentemail/individual/history/org")}listSentemailsAll(){return this.transport.getListResponse("/api/email/sentemails/all")}listSentemailsIndividualAll(){return this.transport.getListResponse("/api/email/sentemails/individual/all")}updateBulkMailer(t){return this.transport.update("/api/email/bulk/mailer",t)}updateList(t){return this.transport.update("/api/email/list",t)}updateMailer(t){return this.transport.update("/api/email/mailer",t)}updateSender(t){return this.transport.update("/api/email/sender",t)}}function Tc(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class yre{constructor(t){this.transport=t}createDeviceadminDeviceworkflow(t){return this.transport.insert("/api/deviceadmin/deviceworkflow",t)}createDeviceadminUnitset(t){return this.transport.insert("/api/deviceadmin/unitset",t)}createDeviceByDevicerepoid(t,e,r){return this.transport.postWithResponse(Tc(`/api/device/${t}`,{reassign:e}),r)}createDeviceByDevicerepoidByDeviceidGeolocation(t,e,r,n){return this.transport.insert(Tc(`/api/device/${t}/${e}/geolocation`,{id:r}),n)}createDeviceByDevicerepoidByDeviceidLocation(t,e,r){return this.transport.postWithResponse(`/api/device/${t}/${e}/location`,r)}createDeviceByDevicerepoidByDeviceidNote(t,e,r){return this.transport.insert(`/api/device/${t}/${e}/note`,r)}createDeviceByDevicerepoidByDeviceidSensor(t,e,r){return this.transport.insert(`/api/device/${t}/${e}/sensor`,r)}createDeviceByDevicerepoidByDeviceidWificonnection(t,e,r){return this.transport.insert(`/api/device/${t}/${e}/wificonnection`,r)}createDeviceByDevicerepoidByIdDiagram(t,e,r){return this.transport.postWithResponse(`/api/device/${t}/${e}/diagram`,r)}createDeviceByDevicerepoidDeviceByDeviceidImage(t,e){return this.transport.postWithResponse(`/api/device/${t}/device/${e}/image`,{})}createDeviceByDevicerepoidDeviceByDeviceidSensor(t,e,r){return this.transport.postWithResponse(`/api/device/${t}/device/${e}/sensor`,r)}createDeviceByDevicerepoidUserdevice(t,e,r){return this.transport.postWithResponse(Tc(`/api/device/${t}/userdevice`,{overwrite:e}),r)}createDeviceByRepoidByDeviceidTransaction(t,e,r){return this.transport.insert(`/api/device/${t}/${e}/transaction`,r)}createDeviceClearexception(t){return this.transport.insert("/api/device/clearexception",t)}createDeviceconfig(t){return this.transport.insert("/api/deviceconfig",t)}createDeviceCurrentContact(t){return this.transport.postWithResponse("/api/device/current/contact",t)}createDeviceHandleexception(t){return this.transport.insert("/api/device/handleexception",t)}createDeviceHandlexception(t){return this.transport.insert("/api/device/handlexception",t)}createDevicemessagetype(t){return this.transport.insert("/api/devicemessagetype",t)}createDevicemessagetypeFieldsParse(){return this.transport.postWithResponse("/api/devicemessagetype/fields/parse",{})}createDevicemessagetypeSevensegementTest(t){return this.transport.postWithResponse("/api/devicemessagetype/sevensegement/test",t)}createDeviceNotificationGenerate(t){return this.transport.postWithResponse("/api/device/notification/generate",t)}createDeviceOwner(t){return this.transport.insert("/api/device/owner",t)}createDeviceRemoteconfigByOrgidByRepoidByIdByPinCommandByCmdid(t,e,r,n,i,a){return this.transport.insert(`/api/device/remoteconfig/${t}/${e}/${r}/${n}/command/${i}`,a)}createDeviceRemoteconfigByRepoidByIdCommandByCmdid(t,e,r,n){return this.transport.insert(`/api/device/remoteconfig/${t}/${e}/command/${r}`,n)}createDevicerepo(t){return this.transport.insert("/api/devicerepo",t)}createDeviceStatusOffline(t,e){return this.transport.postWithResponse(Tc("/api/device/status/offline",{lastcontact:t}),e)}createDeviceStatusOnline(t,e){return this.transport.postWithResponse(Tc("/api/device/status/online",{lastContact:t}),e)}createDevicetype(t){return this.transport.insert("/api/devicetype",t)}createDeviceypeByDevicetypeidByFiletypeUpload(t,e){return this.transport.postWithResponse(`/api/deviceype/${t}/${e}/upload`,{})}createNewBomitem(){return this.transport.getFormResponse("/api/devicetype/bomitem/factory")}createNewCommand(){return this.transport.getFormResponse("/api/deviceconfig/command/factory")}createNewContact(){return this.transport.getFormResponse("/api/device/current/contact/factory")}createNewCustomr(t,e){return this.transport.getFormResponse(`/api/device/${t}/customr/${e}/factory`)}createNewDevice(t){return this.transport.getFormResponse(`/api/device/${t}/factory`)}createNewDeviceconfig(){return this.transport.getFormResponse("/api/deviceconfig/factory")}createNewDevicemessagetype(){return this.transport.getFormResponse("/api/devicemessagetype/factory")}createNewDevicerepo(){return this.transport.getFormResponse("/api/devicerepo/factory")}createNewDevicetype(){return this.transport.getFormResponse("/api/devicetype/factory")}createNewErrorcode(){return this.transport.getFormResponse("/api/deviceconfig/errorcode/factory")}createNewField(){return this.transport.getFormResponse("/api/devicemessagetype/field/factory")}createNewFramingbyte(){return this.transport.getFormResponse("/api/devicemessagetype/framingbyte/factory")}createNewHeader(){return this.transport.getFormResponse("/api/devicemessagetype/header/factory")}createNewMessagewatchdog(){return this.transport.getFormResponse("/api/deviceconfig/messagewatchdog/factory")}createNewModuleconfig(){return this.transport.getFormResponse("/api/deviceconfig/route/moduleconfig/factory")}createNewNote(){return this.transport.getFormResponse("/api/device/note/factory")}createNewParameter(){return this.transport.getFormResponse("/api/deviceconfig/command/parameter/factory")}createNewProperty(){return this.transport.getFormResponse("/api/deviceconfig/property/factory")}createNewRoute(){return this.transport.getFormResponse("/api/deviceconfig/route/factory")}createNewSamplemessage(){return this.transport.getFormResponse("/api/devicemessagetype/samplemessage/factory")}createNewSensor(){return this.transport.getFormResponse("/api/device/sensor/factory")}createNewSensordefinition(){return this.transport.getFormResponse("/api/deviceconfig/sensordefinition/factory")}createNewSensordefinitionGet(){return this.transport.getFormResponse("/api/device/sensordefinition/factory")}createNewStandard(){return this.transport.getFormResponse("/api/devicerepo/standard/factory")}createNewTransaction(){return this.transport.getFormResponse("/api/device/transaction/factory")}createNewWatchdogexclusion(){return this.transport.getFormResponse("/api/deviceconfig/watchdogexclusion/factory")}deleteDeviceadminDeviceworkflowsById(t){return this.transport.delete(`/api/deviceadmin/deviceworkflows/${t}`)}deleteDeviceadminUnitsetByUnitsetid(t){return this.transport.delete(`/api/deviceadmin/unitset/${t}`)}deleteDeviceByDevicerepoidByDeviceidErrorByErrorcode(t,e,r){return this.transport.delete(`/api/device/${t}/${e}/error/${r}`)}deleteDeviceByDevicerepoidByDeviceidLocationByLocationidRemove(t,e,r){return this.transport.delete(`/api/device/${t}/${e}/location/${r}/remove`)}deleteDeviceByDevicerepoidById(t,e){return this.transport.delete(`/api/device/${t}/${e}`)}deleteDeviceByDevicerepoidByIdDiagram(t,e){return this.transport.deleteWithResponse(`/api/device/${t}/${e}/diagram`)}deleteDeviceByDevicerepoidByIdPin(t,e){return this.transport.deleteWithResponse(`/api/device/${t}/${e}/pin`)}deleteDeviceByDevicerepoidDeviceByDeviceidSensorBySensorid(t,e,r){return this.transport.deleteWithResponse(`/api/device/${t}/device/${e}/sensor/${r}`)}deleteDeviceconfigById(t){return this.transport.delete(`/api/deviceconfig/${t}`)}deleteDeviceCurrentContactById(t){return this.transport.deleteWithResponse(`/api/device/current/contact/${t}`)}deleteDevicemessagetypeById(t){return this.transport.delete(`/api/devicemessagetype/${t}`)}deleteDevicerepoById(t){return this.transport.delete(`/api/devicerepo/${t}`)}deleteDevicetypeById(t){return this.transport.delete(`/api/devicetype/${t}`)}deviceDevicerepoidIdIosbleaddressIosbleaddressSet(t,e,r){return this.transport.get(`/api/device/${t}/${e}/iosbleaddress/${r}/set`)}deviceDevicerepoidIdMacaddressMacaddressSet(t,e,r){return this.transport.get(`/api/device/${t}/${e}/macaddress/${r}/set`)}deviceDevicerepoidIdPinSetPin(t,e,r){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/pin/set/${r}`)}deviceErrorErroridClear(t){return this.transport.get(`/api/device/error/${t}/clear`)}deviceRemoteconfigOrgidRepoidIdPinAllSend(t,e,r,n){return this.transport.get(`/api/device/remoteconfig/${t}/${e}/${r}/${n}/all/send`)}deviceRemoteconfigOrgidRepoidIdPinIdxSend(t,e,r,n,i){return this.transport.get(`/api/device/remoteconfig/${t}/${e}/${r}/${n}/${i}/send`)}deviceRemoteconfigRepoidIdAllSend(t,e){return this.transport.get(`/api/device/remoteconfig/${t}/${e}/all/send`)}deviceRemoteconfigRepoidIdIdxSend(t,e,r){return this.transport.get(`/api/device/remoteconfig/${t}/${e}/${r}/send`)}getByDevicerepoidByDeviceidCustomstatusReset(t,e){return this.transport.get(`/api/devices/${t}/${e}/customstatus/reset`)}getByDevicerepoidByIdReset(t,e){return this.transport.get(`/api/devices/${t}/${e}/reset`)}getByDevicerepoidByParentidAttachchildByChildid(t,e,r){return this.transport.get(`/api/devices/${t}/${e}/attachchild/${r}`)}getByDevicerepoidByParentidRemovechildByChildid(t,e,r){return this.transport.get(`/api/devices/${t}/${e}/removechild/${r}`)}getByDevicerepoidCustomerByCustomeridReset(t,e){return this.transport.get(`/api/devices/${t}/customer/${e}/reset`)}getDeviceadminDeviceworkflowByDeviceWorkflowId(t){return this.transport.getFormResponse(`/api/deviceadmin/deviceworkflow/${t}`)}getDeviceadminDeviceworkflowsByIdInuse(t){return this.transport.request(`/api/deviceadmin/deviceworkflows/${t}/inuse`)}getDeviceadminDeviceworkflowsKeyinuseByKey(t){return this.transport.request(`/api/deviceadmin/deviceworkflows/keyinuse/${t}`)}getDeviceadminFactoryAction(){return this.transport.getFormResponse("/api/deviceadmin/factory/action")}getDeviceadminFactoryActionparameter(){return this.transport.getFormResponse("/api/deviceadmin/factory/actionparameter")}getDeviceadminFactoryAdminnote(){return this.transport.getFormResponse("/api/deviceadmin/factory/adminnote")}getDeviceadminFactoryAttribute(){return this.transport.getFormResponse("/api/deviceadmin/factory/attribute")}getDeviceadminFactoryCustomfield(){return this.transport.getFormResponse("/api/deviceadmin/factory/customfield")}getDeviceadminFactoryCustomfieldcollection(){return this.transport.getFormResponse("/api/deviceadmin/factory/customfieldcollection")}getDeviceadminFactoryDevicebusinessrule(){return this.transport.getFormResponse("/api/deviceadmin/factory/devicebusinessrule")}getDeviceadminFactoryDeviceworkflow(){return this.transport.getFormResponse("/api/deviceadmin/factory/deviceworkflow")}getDeviceadminFactoryInput(){return this.transport.getFormResponse("/api/deviceadmin/factory/input")}getDeviceadminFactoryInputcommand(){return this.transport.getFormResponse("/api/deviceadmin/factory/inputcommand")}getDeviceadminFactoryInputcommandParameter(){return this.transport.getFormResponse("/api/deviceadmin/factory/inputcommand/parameter")}getDeviceadminFactoryOutputcommand(){return this.transport.getFormResponse("/api/deviceadmin/factory/outputcommand")}getDeviceadminFactoryOutputcommandParameter(){return this.transport.getFormResponse("/api/deviceadmin/factory/outputcommand/parameter")}getDeviceadminFactoryPage(){return this.transport.getFormResponse("/api/deviceadmin/factory/page")}getDeviceadminFactoryParameter(){return this.transport.getFormResponse("/api/deviceadmin/factory/parameter")}getDeviceadminFactoryUnit(){return this.transport.getFormResponse("/api/deviceadmin/factory/unit")}getDeviceadminFactoryUnitset(){return this.transport.getFormResponse("/api/deviceadmin/factory/unitset")}getDeviceadminUnitsetByIdInuse(t){return this.transport.request(`/api/deviceadmin/unitset/${t}/inuse`)}getDeviceadminUnitsetByUnitsetid(t){return this.transport.getFormResponse(`/api/deviceadmin/unitset/${t}`)}getDeviceadminUnitsetKeyinuseByKey(t){return this.transport.request(`/api/deviceadmin/unitset/keyinuse/${t}`)}getDeviceAlarmsSilence(){return this.transport.get("/api/device/alarms/silence")}getDeviceByDevicerepoidByDeviceidByPemidPem(t,e,r){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/${r}/pem`)}getDeviceByDevicerepoidByDeviceidLocationByLocationidAdd(t,e,r){return this.transport.get(`/api/device/${t}/${e}/location/${r}/add`)}getDeviceByDevicerepoidByDevicetypeidCreate(t,e){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/create`)}getDeviceByDevicerepoidById(t,e){return this.transport.getFormResponse(`/api/device/${t}/${e}`)}getDeviceByDevicerepoidByIdAlarmsEnable(t,e){return this.transport.get(`/api/device/${t}/${e}/alarms/enable`)}getDeviceByDevicerepoidByIdAlarmsSilence(t,e){return this.transport.get(`/api/device/${t}/${e}/alarms/silence`)}getDeviceByDevicerepoidByIdBoundingbox(t,e){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/boundingbox`)}getDeviceByDevicerepoidByIdCustomstatusByStatus(t,e,r){return this.transport.get(`/api/device/${t}/${e}/customstatus/${r}`)}getDeviceByDevicerepoidByIdDebugmodeByDebugmode(t,e,r){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/debugmode/${r}`)}getDeviceByDevicerepoidByIdLabel(t,e){return this.transport.request(`/api/device/${t}/${e}/label`)}getDeviceByDevicerepoidByIdLinkShort(t,e){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/link/short`)}getDeviceByDevicerepoidByIdMetadata(t,e){return this.transport.getFormResponse(`/api/device/${t}/${e}/metadata`)}getDeviceByDevicerepoidByIdName(t,e,r){return this.transport.requestForInvokeResultEx(Tc(`/api/device/${t}/${e}/name`,{devicename:r}))}getDeviceByDevicerepoidByIdPin(t,e){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/pin`)}getDeviceByDevicerepoidByIdSetDeviceidByNewdeviceid(t,e,r){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/set/deviceid/${r}`)}getDeviceByDevicerepoidByIdStatusByStatus(t,e,r){return this.transport.get(`/api/device/${t}/${e}/status/${r}`)}getDeviceByDevicerepoidByIdTestmodeByTestmode(t,e,r){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/testmode/${r}`)}getDeviceByDevicerepoidConnectionsettingsReset(t){return this.transport.requestForInvokeResultEx(`/api/device/${t}/connectionsettings/reset`)}getDeviceByDevicerepoidDeviceByDeviceidImageByMediaid(t,e,r){return this.transport.request(`/api/device/${t}/device/${e}/image/${r}`)}getDeviceByDevicerepoidDeviceidByDeviceid(t,e){return this.transport.getFormResponse(`/api/device/${t}/deviceid/${e}`)}getDeviceByDevicerepoidDeviceidByDeviceidMetadata(t,e){return this.transport.getFormResponse(`/api/device/${t}/deviceid/${e}/metadata`)}getDeviceByDevicerepoidErrorsByDeviceidSilenceByErrorid(t,e,r){return this.transport.get(`/api/device/${t}/errors/${e}/silence/${r}`)}getDeviceByDevicerepoidInuseByDeviceid(t,e){return this.transport.request(`/api/device/${t}/inuse/${e}`)}getDeviceByDevicerepoidIosbleaddressByIosbleaddress(t,e){return this.transport.requestForInvokeResultEx(`/api/device/${t}/iosbleaddress/${e}`)}getDeviceByDevicerepoidKeyByDevicetypekeyCreate(t,e){return this.transport.requestForInvokeResultEx(`/api/device/${t}/key/${e}/create`)}getDeviceByDevicerepoidMacaddressByMacaddress(t,e){return this.transport.requestForInvokeResultEx(`/api/device/${t}/macaddress/${e}`)}getDeviceByDevicerepoidWatchdogByDeviceidNotificationsBySilenced(t,e,r){return this.transport.get(`/api/device/${t}/watchdog/${e}/notifications/${r}`)}getDeviceByOrgidByDevicerepoidByIdByPinSignin(t,e,r,n){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/${r}/${n}/signin`)}getDeviceByOrgidByDevicerepoidByIdByPinView(t,e,r,n){return this.transport.requestForInvokeResultEx(`/api/device/${t}/${e}/${r}/${n}/view`)}getDeviceByRepoidByIdErrorByErrorcodeRaise(t,e,r){return this.transport.get(`/api/device/${t}/${e}/error/${r}/raise`)}getDeviceconfigById(t){return this.transport.getFormResponse(`/api/deviceconfig/${t}`)}getDeviceconfigByIdCustompage(t){return this.transport.requestForInvokeResultEx(`/api/deviceconfig/${t}/custompage`)}getDeviceconfigByIdCustompageQuicklink(t){return this.transport.requestForInvokeResultEx(`/api/deviceconfig/${t}/custompage/quicklink`)}getDeviceconfigByIdInuse(t){return this.transport.request(`/api/deviceconfig/${t}/inuse`)}getDeviceconfigByIdProperties(t){return this.transport.request(`/api/deviceconfig/${t}/properties`)}getDeviceconfigByKeyKeyinuse(t){return this.transport.request(`/api/deviceconfig/${t}/keyinuse`)}getDeviceCurrent(){return this.transport.requestForInvokeResultEx("/api/device/current")}getDeviceErrorByErroridSilence(t){return this.transport.get(`/api/device/error/${t}/silence`)}getDevicegroupsKeyinuseByKey(t){return this.transport.request(`/api/devicegroups/keyinuse/${t}`)}getDevicemessagetypeById(t){return this.transport.getFormResponse(`/api/devicemessagetype/${t}`)}getDevicemessagetypeByIdInuse(t){return this.transport.request(`/api/devicemessagetype/${t}/inuse`)}getDevicemessagetypeByKeyKeyinuse(t){return this.transport.request(`/api/devicemessagetype/${t}/keyinuse`)}getDevicemessagetypeClone(t){return this.transport.get("/api/devicemessagetype/clone")}getDeviceNotificationRaisedByRepoidByRaisedidSummary(t,e){return this.transport.requestForInvokeResultEx(`/api/device/notification/raised/${t}/${e}/summary`)}getDeviceownerAccountByPhoneNumberByCodeCreate(t,e){return this.transport.requestForInvokeResultEx(`/api/deviceowner/account/${t}/${e}/create`)}getDeviceownerAccountByPhoneNumberByCodeLogin(t,e){return this.transport.requestForInvokeResultEx(`/api/deviceowner/account/${t}/${e}/login`)}getDeviceownerPhoneByPhoneNumberSendcode(t){return this.transport.get(`/api/deviceowner/phone/${t}/sendcode`)}getDeviceownerSearchPhoneByPhoneNumber(t){return this.transport.get(`/api/deviceowner/search/phone/${t}`)}getDeviceProductAssociate(t){return this.transport.get(Tc("/api/device/product/associate",{confirm:t}))}getDeviceRemoteconfigByRepoidByDeviceidFirmwareByFirmwareidRevisionByRevisionid(t,e,r,n,i){return this.transport.requestForInvokeResultEx(Tc(`/api/device/remoteconfig/${t}/${e}/firmware/${r}/revision/${n}`,{triggeredRemotely:i}))}getDeviceRemoteconfigByRepoidByIdQuery(t,e){return this.transport.get(`/api/device/remoteconfig/${t}/${e}/query`)}getDeviceRemoteconfigByRepoidByIdRestart(t,e){return this.transport.get(`/api/device/remoteconfig/${t}/${e}/restart`)}getDevicerepoById(t){return this.transport.getFormResponse(`/api/devicerepo/${t}`)}getDevicerepoByIdInuse(t){return this.transport.request(`/api/devicerepo/${t}/inuse`)}getDeviceRepoByIdWifiprofiles(t){return this.transport.request(`/api/device/repo/${t}/wifiprofiles`)}getDevicerepoByOrgidByIdLogoDark(t,e){return this.transport.request(`/api/devicerepo/${t}/${e}/logo/dark`)}getDevicerepoByOrgidByIdLogoLight(t,e){return this.transport.request(`/api/devicerepo/${t}/${e}/logo/light`)}getDevicerepoByOrgidByIdTheme(t,e){return this.transport.requestForInvokeResultEx(`/api/devicerepo/${t}/${e}/theme`)}getDeviceRepoByRepoidDefaultlistener(t){return this.transport.requestForInvokeResultEx(`/api/device/repo/${t}/defaultlistener`)}getDeviceResetByNewpin(t){return this.transport.requestForInvokeResultEx(`/api/device/reset/${t}`)}getDevicetypeByDevicetypeidQaCompleted(t){return this.transport.requestForInvokeResultEx(`/api/devicetype/${t}/qa/completed`)}getDevicetypeById(t){return this.transport.getFormResponse(`/api/devicetype/${t}`)}getDevicetypeByIdInuse(t){return this.transport.request(`/api/devicetype/${t}/inuse`)}getDevicetypeByKeyKeyinuse(t){return this.transport.request(`/api/devicetype/${t}/keyinuse`)}listByDevicerepoid(t){return this.transport.getListResponse(`/api/devices/${t}`)}listByDevicerepoidByParentidChildren(t,e){return this.transport.getListResponse(`/api/devices/${t}/${e}/children`)}listByDevicerepoidByUserid(t,e){return this.transport.getListResponse(`/api/devices/${t}/${e}`)}listByDevicerepoidCustomerByCustomerid(t,e){return this.transport.getListResponse(`/api/devices/${t}/customer/${e}`)}listByDevicerepoidCustomerByCustomeridLocationByCustomerlocationid(t,e,r){return this.transport.getListResponse(`/api/devices/${t}/customer/${e}/location/${r}`)}listByDevicerepoidCustomstatusByCustomstatus(t,e){return this.transport.getListResponse(`/api/devices/${t}/customstatus/${e}`)}listByDevicerepoidDeviceByDeviceidOwners(t,e){return this.transport.getListResponse(`/api/devices/${t}/device/${e}/owners`)}listByDevicerepoidDeviceconfigByConfigid(t,e){return this.transport.getListResponse(`/api/devices/${t}/deviceconfig/${e}`)}listByDevicerepoidDeviceconfigByConfigidFull(t,e){return this.transport.getListResponse(`/api/devices/${t}/deviceconfig/${e}/full`)}listByDevicerepoidDevicetypeByDevicetypeid(t,e){return this.transport.getListResponse(`/api/devices/${t}/devicetype/${e}`)}listByDevicerepoidDevicetypeKeyByDevicetypeid(t,e){return this.transport.getListResponse(`/api/devices/${t}/devicetype/key/${e}`)}listByDevicerepoidSearchBySearch(t,e){return this.transport.getListResponse(`/api/devices/${t}/search/${e}`)}listByDevicerepoidStatus(t){return this.transport.getListResponse(`/api/devices/${t}/status`)}listByDevicerepoidStatusByStatus(t,e){return this.transport.getListResponse(`/api/devices/${t}/status/${e}`)}listDeviceadminDeviceworkflows(){return this.transport.getListResponse("/api/deviceadmin/deviceworkflows")}listDeviceadminUnitsets(){return this.transport.getListResponse("/api/deviceadmin/unitsets")}listDeviceByDevicerepoidArchivesByDeviceid(t,e){return this.transport.getListResponse(`/api/device/${t}/archives/${e}`)}listDeviceByDevicerepoidArchivesSensorByDeviceid(t,e){return this.transport.getListResponse(`/api/device/${t}/archives/sensor/${e}`)}listDeviceByDevicerepoidByDeviceidConnectionlog(t,e){return this.transport.getListResponse(`/api/device/${t}/${e}/connectionlog`)}listDeviceByDevicerepoidByIdAlarmsSilenced(t,e){return this.transport.getListResponse(`/api/device/${t}/${e}/alarms/silenced`)}listDeviceByDevicerepoidErrorsByDeviceid(t,e){return this.transport.getListResponse(`/api/device/${t}/errors/${e}`)}listDeviceByDevicerepoidPemsByDeviceid(t,e){return this.transport.getListResponse(`/api/device/${t}/pems/${e}`)}listDeviceByDevicerepoidPemsErrorsByErrorreason(t,e){return this.transport.getListResponse(`/api/device/${t}/pems/errors/${e}`)}listDeviceByDevicerepoidStatusByDeviceidHistory(t,e){return this.transport.getListResponse(`/api/device/${t}/status/${e}/history`)}listDeviceByRepoidByDeviceidRecords(t,e){return this.transport.getListResponse(`/api/device/${t}/${e}/records`)}listDeviceByRepoidByDeviceidTypeByKeyRecords(t,e,r){return this.transport.getListResponse(`/api/device/${t}/${e}/type/${r}/records`)}listDeviceByRepoidLocationByLocationidRecords(t,e){return this.transport.getListResponse(`/api/device/${t}/location/${e}/records`)}listDeviceByRepoidLocationByLocationidTypeByKeyRecords(t,e,r){return this.transport.getListResponse(`/api/device/${t}/location/${e}/type/${r}/records`)}listDeviceByRepoidRecords(t){return this.transport.getListResponse(`/api/device/${t}/records`)}listDeviceByRepoidTypeByKeyRecords(t,e){return this.transport.getListResponse(`/api/device/${t}/type/${e}/records`)}listDeviceconfigByDeviceconfigidDevicetypes(t){return this.transport.getListResponse(`/api/deviceconfig/${t}/devicetypes`)}listDeviceconfigByIdSimulators(t){return this.transport.getListResponse(`/api/deviceconfig/${t}/simulators`)}listDeviceconfigs(){return this.transport.getListResponse("/api/deviceconfigs")}listDevicemessagetypes(){return this.transport.getListResponse("/api/devicemessagetypes")}listDevicemessagetypesIncoming(){return this.transport.getListResponse("/api/devicemessagetypes/incoming")}listDevicemessagetypesOutgoing(){return this.transport.getListResponse("/api/devicemessagetypes/outgoing")}listDevicemessagetypesPublic(){return this.transport.getListResponse("/api/devicemessagetypes/public")}listDevicemessagetypesSevenseg(){return this.transport.getListResponse("/api/devicemessagetypes/sevenseg")}listDeviceNotificationByDeviceidHistory(t){return this.transport.getListResponse(`/api/device/notification/${t}/history`)}listDeviceNotificationRaisedByDeviceidHistory(t){return this.transport.getListResponse(`/api/device/notification/raised/${t}/history`)}listDeviceNotificationRaisedRepoByRepoidHistory(t){return this.transport.getListResponse(`/api/device/notification/raised/repo/${t}/history`)}listDeviceNotificationRepoByRepoidHistory(t){return this.transport.getListResponse(`/api/device/notification/repo/${t}/history`)}listDevicerepos(){return this.transport.getListResponse("/api/devicerepos")}listDevicereposAvailable(){return this.transport.getListResponse("/api/devicerepos/available")}listDevicetypeByDevicetypeidQaResults(t){return this.transport.getListResponse(`/api/devicetype/${t}/qa/results`)}listDevicetypeByIdSimulators(t){return this.transport.getListResponse(`/api/devicetype/${t}/simulators`)}listDevicetypes(){return this.transport.getListResponse("/api/devicetypes")}updateDeviceadminDeviceworkflow(t){return this.transport.update("/api/deviceadmin/deviceworkflow",t)}updateDeviceadminUnitset(t){return this.transport.update("/api/deviceadmin/unitset",t)}updateDeviceByDevicerepoid(t,e){return this.transport.updateWithResponse(`/api/device/${t}`,e)}updateDeviceByDevicerepoidByDeviceidProperty(t,e,r){return this.transport.update(`/api/device/${t}/${e}/property`,r)}updateDeviceByDevicerepoidStatus(t,e){return this.transport.update(`/api/device/${t}/status`,e)}updateDeviceconfig(t){return this.transport.update("/api/deviceconfig",t)}updateDeviceCurrentContact(t){return this.transport.updateWithResponse("/api/device/current/contact",t)}updateDevicemessagetype(t){return this.transport.update("/api/devicemessagetype",t)}updateDevicemessagetypeFieldparserValidate(t){return this.transport.request("/api/devicemessagetype/fieldparser/validate")}updateDevicemessagetypeFieldValidate(t){return this.transport.request("/api/devicemessagetype/field/validate")}updateDeviceProperties(t){return this.transport.updateWithResponse("/api/device/properties",t)}updateDevicerepo(t){return this.transport.update("/api/devicerepo",t)}updateDevicetype(t){return this.transport.update("/api/devicetype",t)}}function Jm(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class bre{constructor(t){this.transport=t}businessSigneddocumentIdSigneeSigneeidPinEmailSend(t,e){return this.transport.requestForInvokeResultEx(`/api/business/signeddocument/${t}/signee/${e}/pin/email/send`)}businessSigneddocumentIdSigneeSigneeidPinPhoneSend(t,e){return this.transport.requestForInvokeResultEx(`/api/business/signeddocument/${t}/signee/${e}/pin/phone/send`)}createNewLineitem(){return this.transport.getFormResponse("/api/business/proposal/lineitem/factory")}createNewLineitemGet(t,e){return this.transport.getFormResponse(`/api/business/proposal/${t}/lineitem/${e}/factory`)}createNewProposal(){return this.transport.getFormResponse("/api/business/proposal/factory")}createNewProposalGet(t){return this.transport.getFormResponse(`/api/business/proposal/${t}/factory`)}createNewSigneddocument(){return this.transport.getFormResponse("/api/business/signeddocument/factory")}createNewSignee(){return this.transport.getFormResponse("/api/business/signeddocument/signee/factory")}createProposal(t){return this.transport.insert("/api/business/proposal",t)}createProposalTemplatePreview(t){return this.transport.postWithResponse("/api/business/proposal/template/preview",t)}createSigneddocument(t){return this.transport.insert("/api/business/signeddocument",t)}createSigneddocumentByIdSignee(t,e){return this.transport.postWithResponse(`/api/business/signeddocument/${t}/signee`,e)}createSigneddocumentUpload(){return this.transport.postWithResponse("/api/business/signeddocument/upload",{})}deleteProposalById(t){return this.transport.delete(`/api/business/proposal/${t}`)}deleteSigneddocumentById(t){return this.transport.delete(`/api/business/signeddocument/${t}`)}getProposalById(t){return this.transport.getFormResponse(`/api/business/proposal/${t}`)}getProposalByIdAgreement(t){return this.transport.getFormResponse(`/api/business/proposal/${t}/agreement`)}getProposalByIdPdf(t){return this.transport.request(`/api/business/proposal/${t}/pdf`)}getProposalByIdPreview(t){return this.transport.requestForInvokeResultEx(`/api/business/proposal/${t}/preview`)}getProposalTags(){return this.transport.requestForInvokeResultEx("/api/business/proposal/tags")}getReportsIncomestatment(t,e){return this.transport.request(Jm("/api/business/reports/incomestatment",{month:t,year:e}))}getSigneddocumentByDocidDownload(t){return this.transport.request(`/api/business/signeddocument/${t}/download`)}getSigneddocumentByDocidSigneeBySigneeeidPhoneByPhone(t,e,r){return this.transport.requestForInvokeResultEx(`/api/business/signeddocument/${t}/signee/${e}/phone/${r}`)}getSigneddocumentByDocidSigneeBySigneeidSign(t,e){return this.transport.requestForInvokeResultEx(`/api/business/signeddocument/${t}/signee/${e}/sign`)}getSigneddocumentByDocidSigneesRequest(t,e){return this.transport.get(Jm(`/api/business/signeddocument/${t}/signees/request`,{signeeid:e}))}getSigneddocumentById(t){return this.transport.getFormResponse(`/api/business/signeddocument/${t}`)}listProposals(){return this.transport.getListResponse("/api/business/proposals")}listProposalsByCustomerId(t){return this.transport.getListResponse(`/api/business/proposals/${t}`)}listProposalsStatusByStatus(t){return this.transport.getListResponse(`/api/business/proposals/status/${t}`)}listSigneddocuments(t){return this.transport.getListResponse(Jm("/api/business/signeddocuments",{type:t}))}listSigneddocumentsAppuserById(t,e){return this.transport.getListResponse(Jm(`/api/business/signeddocuments/appuser/${t}`,{type:e}))}listSigneddocumentsCustomerById(t,e){return this.transport.getListResponse(Jm(`/api/business/signeddocuments/customer/${t}`,{type:e}))}updateProposal(t){return this.transport.update("/api/business/proposal",t)}updateSigneddocumentByIdSignee(t,e){return this.transport.updateWithResponse(`/api/business/signeddocument/${t}/signee`,e)}updateSigneddocumentByIdSigneeComplete(t,e){return this.transport.updateWithResponse(`/api/business/signeddocument/${t}/signee/complete`,e)}}class wre{constructor(t){this.transport=t}createNewExpectedoutput(t){return this.transport.getFormResponse(function Cre(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}("/api/verifier/expectedoutput/factory",{type:t}))}createNewMessageattributeparser(){return this.transport.getFormResponse("/api/messageattributeparser/factory")}createVerifier(t){return this.transport.insert("/api/verifier",t)}createVerifierruntimeMessageattributeparserExecute(t){return this.transport.request("/api/verifierruntime/messageattributeparser/execute")}createVerifierruntimeMessageparserExecute(t){return this.transport.request("/api/verifierruntime/messageparser/execute")}deleteVerifierById(t){return this.transport.delete(`/api/verifier/${t}`)}getVerifierById(t){return this.transport.getFormResponse(`/api/verifier/${t}`)}getVerifierFactoryByType(t){return this.transport.getFormResponse(`/api/verifier/factory/${t}`)}getVerifiersKeyinuseByKey(t){return this.transport.request(`/api/verifiers/keyinuse/${t}`)}listDevicemessagetypes(){return this.transport.getListResponse("/api/devicemessagetypes")}listDevicemessagetypesIncoming(){return this.transport.getListResponse("/api/devicemessagetypes/incoming")}listDevicemessagetypesOutgoing(){return this.transport.getListResponse("/api/devicemessagetypes/outgoing")}listDevicemessagetypesPublic(){return this.transport.getListResponse("/api/devicemessagetypes/public")}listDevicemessagetypesSevenseg(){return this.transport.getListResponse("/api/devicemessagetypes/sevenseg")}listVerifiersComponentByComponentid(t){return this.transport.getListResponse(`/api/verifiers/component/${t}`)}listVerifiersOrgByOrgid(t){return this.transport.getListResponse(`/api/verifiers/org/${t}`)}updateVerifier(t){return this.transport.update("/api/verifier",t)}}class xre{constructor(t){this.transport=t}createAccount(t){return this.transport.postWithResponse("/api/account",t)}createAccountAccountlinkingregistrationCreateAccount(t){return this.transport.postWithResponse("/api/account/accountlinkingregistration/create/account",t)}createAccountAccountlinkingregistrationCreateCreditcard(t){return this.transport.postWithResponse("/api/account/accountlinkingregistration/create/creditcard",t)}createAccountAccountlinkingregistrationLinkAccount(t){return this.transport.postWithResponse("/api/account/accountlinkingregistration/link/account",t)}createAccountAccountlinkingregistrationLinkCreditcard(t){return this.transport.postWithResponse("/api/account/accountlinkingregistration/link/creditcard",t)}createAccountByIdTransaction(t,e){return this.transport.postWithResponse(`/api/account/${t}/transaction`,e)}createAccountCreditcard(t){return this.transport.request("/api/account/creditcard")}createAccountlinkingregistration(t){return this.transport.insert("/api/accountlinkingregistration",t)}createAccountPlaidLink(t){return this.transport.postWithResponse("/api/account/plaid/link",t)}createAccountsPlaidWebhook(t){return this.transport.request("/api/accounts/plaid/webhook")}createAccountTransactionCategory(t){return this.transport.postWithResponse("/api/account/transaction/category",t)}createNewAccountlinkingregistration(){return this.transport.getFormResponse("/api/accountlinkingregistration/factory")}createNewCategory(){return this.transport.getFormResponse("/api/account/transaction/category/factory")}createNewCreditcard(){return this.transport.getFormResponse("/api/account/creditcard/factory")}deleteAccountByIdTransactionByTxidVoid(t,e){return this.transport.deleteWithResponse(`/api/account/${t}/transaction/${e}/void`)}deleteAccountCreditcardById(t){return this.transport.request(`/api/account/creditcard/${t}`)}deleteAccountlinkingregistrationById(t){return this.transport.delete(`/api/accountlinkingregistration/${t}`)}deleteAccountPlaidItemById(t){return this.transport.delete(`/api/account/plaid/item/${t}`)}getAccountById(t){return this.transport.requestForInvokeResultEx(`/api/account/${t}`)}getAccountByIdTransactionByTransactionid(t,e){return this.transport.requestForInvokeResultEx(`/api/account/${t}/transaction/${e}`)}getAccountCreditcardById(t){return this.transport.getFormResponse(`/api/account/creditcard/${t}`)}getAccountlinkingregistrationById(t){return this.transport.getFormResponse(`/api/accountlinkingregistration/${t}`)}getAccountlinkingregistrationLinktargets(){return this.transport.requestForInvokeResultEx("/api/accountlinkingregistration/linktargets")}getAccountlinkingregistrationProviderByProviderExternalByExternalProviderId(t,e){return this.transport.getFormResponse(`/api/accountlinkingregistration/provider/${t}/external/${e}`)}getAccountPlaidByItemId(t){return this.transport.requestForInvokeResultEx(`/api/account/plaid/${t}`)}getAccountPlaidSyncByItemId(t){return this.transport.requestForInvokeResultEx(`/api/account/plaid/sync/${t}`)}getAccountPlaidToken(){return this.transport.requestForInvokeResultEx("/api/account/plaid/token")}getAccountTransactionCategoryById(t){return this.transport.getFormResponse(`/api/account/transaction/category/${t}`)}listAccountByIdTransactions(t){return this.transport.getListResponse(`/api/account/${t}/transactions`)}listAccountCreditcards(){return this.transport.getListResponse("/api/account/creditcards")}listAccountCreditcardsCardholderByCardHolderId(t){return this.transport.getListResponse(`/api/account/creditcards/cardholder/${t}`)}listAccountlinkingregistrations(){return this.transport.getListResponse("/api/accountlinkingregistrations")}listAccountlinkingregistrationsProviderByProvider(t){return this.transport.getListResponse(`/api/accountlinkingregistrations/provider/${t}`)}listAccountlinkingregistrationsProviderByProviderExternalByExternalProviderId(t,e){return this.transport.getListResponse(`/api/accountlinkingregistrations/provider/${t}/external/${e}`)}listAccounts(){return this.transport.getListResponse("/api/accounts")}listAccountsActive(){return this.transport.getListResponse("/api/accounts/active")}listAccountTransactionCategories(){return this.transport.getListResponse("/api/account/transaction/categories")}listAccountTransactionCategoriesActive(){return this.transport.getListResponse("/api/account/transaction/categories/active")}updateAccount(t){return this.transport.updateWithResponse("/api/account",t)}updateAccountByIdTransaction(t,e){return this.transport.updateWithResponse(`/api/account/${t}/transaction`,e)}updateAccountCreditcard(t){return this.transport.request("/api/account/creditcard")}updateAccountlinkingregistration(t){return this.transport.update("/api/accountlinkingregistration",t)}updateAccountTransactionCategory(t){return this.transport.updateWithResponse("/api/account/transaction/category",t)}}function Qm(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class Dre{constructor(t){this.transport=t}createDeploymentFsliteTicket(t){return this.transport.postWithResponse("/api/deployment/fslite/ticket",t)}createDeploymentHost(t){return this.transport.insert("/api/deployment/host",t)}createDeploymentInstance(t){return this.transport.insert("/api/deployment/instance",t)}createDeploymentInstanceByIdTestmodeByEnabled(t,e){return this.transport.insert(`/api/deployment/instance/${t}/testmode/${e}`,{})}createDeploymentInstanceByIdWifiprofile(t,e){return this.transport.postWithResponse(`/api/deployment/instance/${t}/wifiprofile`,e)}createDeploymentRemotedeployment(t){return this.transport.insert("/api/deployment/remotedeployment",t)}createDeploymentSolution(t){return this.transport.insert("/api/deployment/solution",t)}createDeploymentSolutionPublish(t){return this.transport.insert("/api/deployment/solution/publish",t)}createDeploymentUserMessage(t){return this.transport.insert("/api/deployment/user/message",t)}createNewCredentials(){return this.transport.getFormResponse("/api/deployment/instance/credentials/factory")}createNewHost(){return this.transport.getFormResponse("/api/deployment/host/factory")}createNewInstance(){return this.transport.getFormResponse("/api/deployment/instance/factory")}createNewRemotedeployment(){return this.transport.getFormResponse("/api/deployment/remotedeployment/factory")}createNewSolution(){return this.transport.getFormResponse("/api/deployment/solution/factory")}deleteDeploymentHostById(t){return this.transport.delete(`/api/deployment/host/${t}`)}deleteDeploymentHostByIdRemoveByInstanceid(t,e){return this.transport.delete(`/api/deployment/host/${t}/remove/${e}`)}deleteDeploymentInstanceAccounts(){return this.transport.request("/api/deployment/instance/accounts")}deleteDeploymentInstanceById(t){return this.transport.delete(`/api/deployment/instance/${t}`)}deleteDeploymentInstanceByInstanceIdAccountByInstanceAccountId(t,e){return this.transport.delete(`/api/deployment/instance/${t}/account/${e}`)}deleteDeploymentInstanceInstanceserviceById(t){return this.transport.delete(`/api/deployment/instance/instanceservice/${t}`)}deleteDeploymentRemotedeploymentById(t){return this.transport.delete(`/api/deployment/remotedeployment/${t}`)}deleteDeploymentSolutionById(t){return this.transport.delete(`/api/deployment/solution/${t}`)}getDeploymentFsliteTicketByTemplateidByRepoidByDeviceid(t,e,r){return this.transport.requestForInvokeResultEx(`/api/deployment/fslite/ticket/${t}/${e}/${r}`)}getDeploymentHost(){return this.transport.requestForInvokeResultEx("/api/deployment/host")}getDeploymentHostByHostidByStatusByVersion(t,e,r){return this.transport.get(`/api/deployment/host/${t}/${e}/${r}`)}getDeploymentHostById(t){return this.transport.getFormResponse(`/api/deployment/host/${t}`)}getDeploymentHostByIdAddByInstanceid(t,e){return this.transport.get(`/api/deployment/host/${t}/add/${e}`)}getDeploymentHostByIdDeploycontainer(t){return this.transport.get(`/api/deployment/host/${t}/deploycontainer`)}getDeploymentHostByIdDeployhost(t){return this.transport.get(`/api/deployment/host/${t}/deployhost`)}getDeploymentHostByIdDestroyhost(t){return this.transport.get(`/api/deployment/host/${t}/destroyhost`)}getDeploymentHostByIdGenerateByKey(t,e){return this.transport.requestForInvokeResultEx(`/api/deployment/host/${t}/generate/${e}`)}getDeploymentHostByIdInuse(t){return this.transport.request(`/api/deployment/host/${t}/inuse`)}getDeploymentHostByIdRestarthost(t){return this.transport.get(`/api/deployment/host/${t}/restarthost`)}getDeploymentHostByIdSecure(t){return this.transport.getFormResponse(`/api/deployment/host/${t}/secure`)}getDeploymentHostByIdUpdate(t){return this.transport.get(`/api/deployment/host/${t}/update`)}getDeploymentHostByKeyKeyinuse(t){return this.transport.request(`/api/deployment/host/${t}/keyinuse`)}getDeploymentHostEhcheckpointSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/host/ehcheckpoint/settings")}getDeploymentHostLoggingSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/host/logging/settings")}getDeploymentHostRpcSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/host/rpc/settings")}getDeploymentHostSharedInstances(){return this.transport.requestForInvokeResultEx("/api/deployment/host/shared/instances")}getDeploymentHostUsageSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/host/usage/settings")}getDeploymentHostWsnotifyAzureeventhubSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/host/wsnotify/azureeventhub/settings")}getDeploymentHostWsnotifyRabbitmqSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/host/wsnotify/rabbitmq/settings")}getDeploymentInstanceById(t){return this.transport.getFormResponse(`/api/deployment/instance/${t}`)}getDeploymentInstanceByIdDebugmode(t){return this.transport.requestForInvokeResultEx(`/api/deployment/instance/${t}/debugmode`)}getDeploymentInstanceByIdDeployhost(t){return this.transport.get(`/api/deployment/instance/${t}/deployhost`)}getDeploymentInstanceByIdDestroyhost(t){return this.transport.get(`/api/deployment/instance/${t}/destroyhost`)}getDeploymentInstanceByIdInuse(t){return this.transport.request(`/api/deployment/instance/${t}/inuse`)}getDeploymentInstanceByIdPause(t){return this.transport.get(`/api/deployment/instance/${t}/pause`)}getDeploymentInstanceByIdReloadsolution(t){return this.transport.get(`/api/deployment/instance/${t}/reloadsolution`)}getDeploymentInstanceByIdReset(t){return this.transport.get(`/api/deployment/instance/${t}/reset`)}getDeploymentInstanceByIdResetartcontainer(t){return this.transport.get(`/api/deployment/instance/${t}/resetartcontainer`)}getDeploymentInstanceByIdRestarthost(t){return this.transport.get(`/api/deployment/instance/${t}/restarthost`)}getDeploymentInstanceByIdRuntime(t){return this.transport.requestForInvokeResultEx(`/api/deployment/instance/${t}/runtime`)}getDeploymentInstanceByIdStart(t){return this.transport.get(`/api/deployment/instance/${t}/start`)}getDeploymentInstanceByIdStop(t){return this.transport.get(`/api/deployment/instance/${t}/stop`)}getDeploymentInstanceByIdTestmode(t){return this.transport.requestForInvokeResultEx(`/api/deployment/instance/${t}/testmode`)}getDeploymentInstanceByIdTestmodeByTestmode(t,e){return this.transport.get(`/api/deployment/instance/${t}/testmode/${e}`)}getDeploymentInstanceByIdUpdateruntime(t){return this.transport.get(`/api/deployment/instance/${t}/updateruntime`)}getDeploymentInstanceByIdWifiprofileByWifiid(t,e){return this.transport.requestForInvokeResultEx(`/api/deployment/instance/${t}/wifiprofile/${e}`)}getDeploymentInstanceByInstanceIdAccountByUsername(t,e){return this.transport.requestForInvokeResultEx(`/api/deployment/instance/${t}/account/${e}`)}getDeploymentInstanceByInstanceidAccountByUsernameKeyRegenerateByKeyname(t,e,r){return this.transport.requestForInvokeResultEx(`/api/deployment/instance/${t}/account/${e}/key/regenerate/${r}`)}getDeploymentInstanceByInstanceidDefaultlistener(t){return this.transport.requestForInvokeResultEx(`/api/deployment/instance/${t}/defaultlistener`)}getDeploymentInstanceByInstanceidDeviceByIdNotificationsEnable(t,e){return this.transport.get(`/api/deployment/instance/${t}/device/${e}/notifications/enable`)}getDeploymentInstanceByInstanceidDeviceByIdNotificationsSilence(t,e){return this.transport.get(`/api/deployment/instance/${t}/device/${e}/notifications/silence`)}getDeploymentInstanceByInstanceidGenerateByKey(t,e){return this.transport.requestForInvokeResultEx(`/api/deployment/instance/${t}/generate/${e}`)}getDeploymentInstanceByInstanceidImageByRepoidByTagid(t,e,r){return this.transport.get(`/api/deployment/instance/${t}/image/${e}/${r}`)}getDeploymentInstanceByInstanceidSettings(t){return this.transport.requestForInvokeResultEx(`/api/deployment/instance/${t}/settings`)}getDeploymentInstanceByKeyKeyinuse(t){return this.transport.request(`/api/deployment/instance/${t}/keyinuse`)}getDeploymentInstanceCacheSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/cache/settings")}getDeploymentInstanceDeviceconnectioneventSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/deviceconnectionevent/settings")}getDeploymentInstanceDevicedataSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/devicedata/settings")}getDeploymentInstanceDevicestorageSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/devicestorage/settings")}getDeploymentInstanceDeviceTransactionstorage(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/device/transactionstorage")}getDeploymentInstanceDevicewatchdogSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/devicewatchdog/settings")}getDeploymentInstanceEhcheckpointSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/ehcheckpoint/settings")}getDeploymentInstanceFull(){return this.transport.request("/api/deployment/instance/full")}getDeploymentInstanceInstanceserviceAllocateByType(t,e){return this.transport.requestForInvokeResultEx(Qm(`/api/deployment/instance/instanceservice/allocate/${t}`,{replaceExisting:e}))}getDeploymentInstanceKeyByKeyid(t){return this.transport.requestForInvokeResultEx(`/api/deployment/instance/key/${t}`)}getDeploymentInstanceLoggingSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/logging/settings")}getDeploymentInstanceMediaaByIdDownload(t){return this.transport.request(`/api/deployment/instance/mediaa/${t}/download`)}getDeploymentInstancePemSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/pem/settings")}getDeploymentInstanceRpcSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/rpc/settings")}getDeploymentInstanceSensorarchivedataSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/sensorarchivedata/settings")}getDeploymentInstanceSolutionversion(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/solutionversion")}getDeploymentInstanceStatusByStatusByIsdeployedByVersion(t,e,r){return this.transport.get(`/api/deployment/instance/status/${t}/${e}/${r}`)}getDeploymentInstanceUsageSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/usage/settings")}getDeploymentInstanceWsnotifyAzureeventhubSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/wsnotify/azureeventhub/settings")}getDeploymentInstanceWsnotifyRabbitmqSettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/wsnotify/rabbitmq/settings")}getDeploymentInstanceWsnotifySettings(){return this.transport.requestForInvokeResultEx("/api/deployment/instance/wsnotify/settings")}getDeploymentMlModelByModelid(t){return this.transport.request(`/api/deployment/ml/model/${t}`)}getDeploymentMlModelByModelidByRevisionid(t,e){return this.transport.request(`/api/deployment/ml/model/${t}/${e}`)}getDeploymentRemotedeploymentById(t){return this.transport.getFormResponse(`/api/deployment/remotedeployment/${t}`)}getDeploymentRemotedeploymentByIdInuse(t){return this.transport.request(`/api/deployment/remotedeployment/${t}/inuse`)}getDeploymentRemotedeploymentByIdRegenerateaccesskeys(t){return this.transport.get(`/api/deployment/remotedeployment/${t}/regenerateaccesskeys`)}getDeploymentSolutionById(t){return this.transport.getFormResponse(`/api/deployment/solution/${t}`)}getDeploymentSolutionByIdValidate(t){return this.transport.request(`/api/deployment/solution/${t}/validate`)}getDeploymentSolutionByKeyInUse(t){return this.transport.request(`/api/deployment/solution/${t}/InUse`)}getDeploymentSolutionByKeyKeyinuse(t,e){return this.transport.request(Qm(`/api/deployment/solution/${t}/keyinuse`,{id:e}))}getDeploymentUsernotifinfoById(t){return this.transport.requestForInvokeResultEx(`/api/deployment/usernotifinfo/${t}`)}listDeploymentactivityActiveByIdByTake(t,e,r){return this.transport.getListResponse(Qm(`/api/deploymentactivity/active/${t}/${e}`,{before:r}))}listDeploymentactivityCompletedByIdByTake(t,e,r){return this.transport.getListResponse(Qm(`/api/deploymentactivity/completed/${t}/${e}`,{before:r}))}listDeploymentactivityFailedByIdByTake(t,e,r){return this.transport.getListResponse(Qm(`/api/deploymentactivity/failed/${t}/${e}`,{before:r}))}listDeploymentHostByIdDeployedinstances(t){return this.transport.getListResponse(`/api/deployment/host/${t}/deployedinstances`)}listDeploymentHostByIdStatushistory(t){return this.transport.getListResponse(`/api/deployment/host/${t}/statushistory`)}listDeploymentHosts(){return this.transport.getListResponse("/api/deployment/hosts")}listDeploymentInstanceByIdConnectedMonitored(t){return this.transport.getListResponse(`/api/deployment/instance/${t}/connected/monitored`)}listDeploymentInstanceByIdConnectedTimedout(t){return this.transport.getListResponse(`/api/deployment/instance/${t}/connected/timedout`)}listDeploymentInstanceByIdDevicetypes(t){return this.transport.getListResponse(`/api/deployment/instance/${t}/devicetypes`)}listDeploymentInstanceByIdMessageWatchdogMonitored(t){return this.transport.getListResponse(`/api/deployment/instance/${t}/message/watchdog/monitored`)}listDeploymentInstanceByIdMessageWatchdogTimedout(t){return this.transport.getListResponse(`/api/deployment/instance/${t}/message/watchdog/timedout`)}listDeploymentInstanceByIdSimulators(t){return this.transport.getListResponse(`/api/deployment/instance/${t}/simulators`)}listDeploymentInstanceByIdStatushistory(t){return this.transport.getListResponse(`/api/deployment/instance/${t}/statushistory`)}listDeploymentInstanceByInstanceIdAccounts(t){return this.transport.getListResponse(`/api/deployment/instance/${t}/accounts`)}listDeploymentInstances(){return this.transport.getListResponse("/api/deployment/instances")}listDeploymentInstancesByStr(t){return this.transport.getListResponse(`/api/deployment/instances/${t}`)}listDeploymentRemotedeployments(){return this.transport.getListResponse("/api/deployment/remotedeployments")}listDeploymentSolutionByIdVersions(t){return this.transport.getListResponse(`/api/deployment/solution/${t}/versions`)}listDeploymentSolutions(){return this.transport.getListResponse("/api/deployment/solutions")}updateDeploymentHost(t){return this.transport.update("/api/deployment/host",t)}updateDeploymentHostStatus(t){return this.transport.update("/api/deployment/host/status",t)}updateDeploymentInstance(t){return this.transport.update("/api/deployment/instance",t)}updateDeploymentInstanceByIdWifiprofile(t,e){return this.transport.updateWithResponse(`/api/deployment/instance/${t}/wifiprofile`,e)}updateDeploymentInstanceStatus(t){return this.transport.update("/api/deployment/instance/status",t)}updateDeploymentRemotedeployment(t){return this.transport.update("/api/deployment/remotedeployment",t)}updateDeploymentSolution(t){return this.transport.update("/api/deployment/solution",t)}}function rR(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class Mre{constructor(t){this.transport=t}createNewItem(){return this.transport.getFormResponse("/api/fslite/ticketstatusdefinition/item/factory")}createNewNote(){return this.transport.formPost("/api/fslite/ticket/note/factory",{})}createNewPartskit(){return this.transport.getFormResponse("/api/fslite/partskit/factory")}createNewServiceboard(t){return this.transport.getFormResponse(rR("/api/fslite/serviceboard/factory",{id:t}))}createNewTemplatecategory(){return this.transport.getFormResponse("/api/fslite/templatecategory/factory")}createNewTicket(){return this.transport.getFormResponse("/api/fslite/ticket/factory")}createNewTicketstatusdefinition(){return this.transport.getFormResponse("/api/fslite/ticketstatusdefinition/factory")}createNewTicketsTemplate(t){return this.transport.getFormResponse(rR("/api/fslite/tickets/template/factory",{id:t}))}createPartskit(t){return this.transport.insert("/api/fslite/partskit",t)}createServiceboard(t){return this.transport.insert("/api/fslite/serviceboard",t)}createTemplatecategory(t){return this.transport.insert("/api/fslite/templatecategory",t)}createTicket(t){return this.transport.postWithResponse("/api/fslite/ticket",t)}createTicketByIdAssignedto(t,e){return this.transport.postWithResponse(`/api/fslite/ticket/${t}/assignedto`,e)}createTicketByIdNote(t,e){return this.transport.postWithResponse(`/api/fslite/ticket/${t}/note`,e)}createTicketByIdStatus(t,e){return this.transport.postWithResponse(`/api/fslite/ticket/${t}/status`,e)}createTicketCreate(t){return this.transport.postWithResponse("/api/fslite/ticket/create",t)}createTickets(t){return this.transport.postForListResponse("/api/fslite/tickets",t)}createTicketstatusdefinition(t){return this.transport.insert("/api/fslite/ticketstatusdefinition",t)}createTicketsTemplate(t){return this.transport.insert("/api/fslite/tickets/template",t)}deletePartskitById(t){return this.transport.delete(`/api/fslite/partskit/${t}`)}deleteServiceboardById(t){return this.transport.delete(`/api/fslite/serviceboard/${t}`)}deleteTemplatecategoryById(t){return this.transport.delete(`/api/fslite/templatecategory/${t}`)}deleteTicketById(t){return this.transport.delete(`/api/fslite/ticket/${t}`)}deleteTicketstatusdefinitionById(t){return this.transport.delete(`/api/fslite/ticketstatusdefinition/${t}`)}deleteTicketsTemplateById(t){return this.transport.delete(`/api/fslite/tickets/template/${t}`)}getPartskitById(t){return this.transport.getFormResponse(`/api/fslite/partskit/${t}`)}getPartskitByIdDetail(t){return this.transport.request(`/api/fslite/partskit/${t}/detail`)}getPartskitByKeyKeyinuse(t){return this.transport.request(`/api/fslite/partskit/${t}/keyinuse`)}getServiceboardById(t){return this.transport.getFormResponse(`/api/fslite/serviceboard/${t}`)}getServiceboardsByKeyKeyinuse(t){return this.transport.request(`/api/fslite/serviceboards/${t}/keyinuse`)}getTemplatecategoryById(t){return this.transport.getFormResponse(`/api/fslite/templatecategory/${t}`)}getTemplatecategoryByKeyKeyinuse(t){return this.transport.request(`/api/fslite/templatecategory/${t}/keyinuse`)}getTicketById(t){return this.transport.getFormResponse(`/api/fslite/ticket/${t}`)}getTicketByIdClosedByClosed(t,e){return this.transport.requestForInvokeResultEx(`/api/fslite/ticket/${t}/closed/${e}`)}getTicketByIdViewedByViewed(t,e){return this.transport.requestForInvokeResultEx(`/api/fslite/ticket/${t}/viewed/${e}`)}getTicketsCloseById(t){return this.transport.get(`/api/fslite/tickets/close/${t}`)}getTicketstatusdefinitionById(t){return this.transport.getFormResponse(`/api/fslite/ticketstatusdefinition/${t}`)}getTicketstatusdefinitionByIdDetail(t){return this.transport.request(`/api/fslite/ticketstatusdefinition/${t}/detail`)}getTicketstatusdefinitionByKeyKeyinuse(t){return this.transport.request(`/api/fslite/ticketstatusdefinition/${t}/keyinuse`)}getTicketsTemplateById(t){return this.transport.getFormResponse(`/api/fslite/tickets/template/${t}`)}getTicketsTemplateByIdDetail(t){return this.transport.request(`/api/fslite/tickets/template/${t}/detail`)}getTicketsTemplatesByKeyKeyinuse(t){return this.transport.request(`/api/fslite/tickets/templates/${t}/keyinuse`)}listByBoardidTickets(t){return this.transport.getListResponse(`/api/fslite/${t}/tickets`)}listPartskits(){return this.transport.getListResponse("/api/fslite/partskits")}listServiceboards(){return this.transport.getListResponse("/api/fslite/serviceboards")}listTemplatecategories(){return this.transport.getListResponse("/api/fslite/templatecategories")}listTicketClosed(){return this.transport.getListResponse("/api/fslite/ticket/closed")}listTicketDeviceById(t){return this.transport.getListResponse(`/api/fslite/ticket/device/${t}`)}listTicketOpen(){return this.transport.getListResponse("/api/fslite/ticket/open")}listTickets(){return this.transport.getListResponse("/api/fslite/tickets")}listTicketsStatusByStatus(t){return this.transport.getListResponse(`/api/fslite/tickets/status/${t}`)}listTicketstatusdefinition(){return this.transport.getListResponse("/api/fslite/ticketstatusdefinition")}listTicketsTemplates(){return this.transport.getListResponse("/api/fslite/tickets/templates")}updatePartskit(t){return this.transport.update("/api/fslite/partskit",t)}updateServiceboard(t){return this.transport.update("/api/fslite/serviceboard",t)}updateTemplatecategory(t){return this.transport.update("/api/fslite/templatecategory",t)}updateTicket(t){return this.transport.update("/api/fslite/ticket",t)}updateTicketstatusdefinition(t){return this.transport.update("/api/fslite/ticketstatusdefinition",t)}updateTicketsTemplate(t){return this.transport.update("/api/fslite/tickets/template",t)}}function Fc(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class kre{constructor(t){this.transport=t}createAssemblyInstruction(t){return this.transport.insert("/api/mfg/assembly/instruction",t)}createAutofeeder(t){return this.transport.insert("/api/mfg/autofeeder",t)}createAutofeederTemplate(t){return this.transport.insert("/api/mfg/autofeeder/template",t)}createComponent(t){return this.transport.insert("/api/mfg/component",t)}createComponentByIdPurchase(t,e){return this.transport.insert(`/api/mfg/component/${t}/purchase`,e)}createComponentLabelsByRowByCol(t,e,r){return this.transport.request(`/api/mfg/component/labels/${t}/${e}`)}createComponentPackage(t){return this.transport.insert("/api/mfg/component/package",t)}createComponentPackageByIdLayout(t,e){return this.transport.insert(`/api/mfg/component/package/${t}/layout`,e)}createDigikeyPartlookup(t){return this.transport.postWithResponse("/api/mfg/digikey/partlookup",t)}createGcodeGenerate(t){return this.transport.postWithResponse("/api/mfg/gcode/generate",t)}createGcodemapping(t){return this.transport.insert("/api/mfg/gcodemapping",t)}createGcodeProject(t){return this.transport.insert("/api/mfg/gcode/project",t)}createInventoryLocation(t){return this.transport.insert("/api/mfg/inventory/location",t)}createMachine(t){return this.transport.insert("/api/mfg/machine",t)}createMachineByMachineidRevisionTestfit(t,e){return this.transport.postWithResponse(`/api/mfg/machine/${t}/revision/testfit`,e)}createNewAttribute(){return this.transport.getFormResponse("/api/mfg/component/attribute/factory")}createNewAutofeeder(){return this.transport.getFormResponse("/api/mfg/autofeeder/factory")}createNewAutofeederTemplate(t){return this.transport.getFormResponse(`/api/mfg/autofeeder/template/${t}/factory`)}createNewAutofeederTemplateGet(){return this.transport.getFormResponse("/api/mfg/autofeeder/template/factory")}createNewCamera(){return this.transport.getFormResponse("/api/mfg/machine/camera/factory")}createNewComponent(){return this.transport.getFormResponse("/api/mfg/component/factory")}createNewDrill(){return this.transport.getFormResponse("/api/mfg/gcode/drill/factory")}createNewFeederrail(){return this.transport.getFormResponse("/api/mfg/machine/feederrail/factory")}createNewGcodemapping(){return this.transport.getFormResponse("/api/mfg/gcodemapping/factory")}createNewHole(){return this.transport.getFormResponse("/api/mfg/gcode/hole/factory")}createNewInstruction(){return this.transport.getFormResponse("/api/mfg/assembly/instruction/factory")}createNewLayer(){return this.transport.getFormResponse("/api/mfg/gcode/layer/factory")}createNewLocation(){return this.transport.getFormResponse("/api/mfg/inventory/location/factory")}createNewMachine(){return this.transport.getFormResponse("/api/mfg/machine/factory")}createNewMilling(){return this.transport.getFormResponse("/api/mfg/pcb/milling/factory")}createNewNozzletip(){return this.transport.getFormResponse("/api/mfg/machine/nozzletip/factory")}createNewNozzletipGet(){return this.transport.getFormResponse("/api/mfg/pnp/nozzletip/factory")}createNewOrder(){return this.transport.getFormResponse("/api/mfg/order/factory")}createNewPackage(){return this.transport.getFormResponse("/api/mfg/component/package/factory")}createNewPartPack(){return this.transport.getFormResponse("/api/mfg/PartPack/factory")}createNewPcb(){return this.transport.getFormResponse("/api/mfg/pcb/factory")}createNewPlane(){return this.transport.getFormResponse("/api/mfg/gcode/plane/factory")}createNewPnpjob(){return this.transport.getFormResponse("/api/mfg/pnpjob/factory")}createNewPolygon(){return this.transport.getFormResponse("/api/mfg/gcode/polygon/factory")}createNewProject(){return this.transport.getFormResponse("/api/mfg/gcode/project/factory")}createNewPurchase(){return this.transport.getFormResponse("/api/mfg/component/purchase/factory")}createNewRect(){return this.transport.getFormResponse("/api/mfg/gcode/rect/factory")}createNewRevision(){return this.transport.getFormResponse("/api/mfg/pcb/revision/factory")}createNewRow(){return this.transport.getFormResponse("/api/mfg/stripfeeder/row/factory")}createNewRun(t){return this.transport.getFormResponse(`/api/mfg/pnpjob/${t}/run/factory`)}createNewStagingplate(){return this.transport.getFormResponse("/api/mfg/machine/stagingplate/factory")}createNewStep(){return this.transport.getFormResponse("/api/mfg/assembly/instructions/step/factory")}createNewStripfeeder(){return this.transport.getFormResponse("/api/mfg/stripfeeder/factory")}createNewStripfeederTemplate(t){return this.transport.getFormResponse(`/api/mfg/stripfeeder/template/${t}/factory`)}createNewStripfeederTemplateGet(){return this.transport.getFormResponse("/api/mfg/stripfeeder/template/factory")}createNewTool(){return this.transport.getFormResponse("/api/mfg/gcode/tool/factory")}createNewToolhead(){return this.transport.getFormResponse("/api/mfg/machine/toolhead/factory")}createNewVariant(){return this.transport.getFormResponse("/api/mfg/pcb/variant/factory")}createOrder(t){return this.transport.insert("/api/mfg/order",t)}createPartPack(t){return this.transport.insert("/api/mfg/PartPack",t)}createPcb(t){return this.transport.insert("/api/mfg/pcb",t)}createPcbMilling(t){return this.transport.insert("/api/mfg/pcb/milling",t)}createPnpjob(t){return this.transport.insert("/api/mfg/pnpjob",t)}createPnpjobRun(t){return this.transport.insert("/api/mfg/pnpjob/run",t)}createPnpNozzletip(t){return this.transport.insert("/api/mfg/pnp/nozzletip",t)}createStripfeeder(t){return this.transport.insert("/api/mfg/stripfeeder",t)}createStripfeederTemplate(t){return this.transport.insert("/api/mfg/stripfeeder/template",t)}deleteAssemblyInstructionById(t){return this.transport.delete(`/api/mfg/assembly/instruction/${t}`)}deleteAutofeederById(t){return this.transport.delete(`/api/mfg/autofeeder/${t}`)}deleteAutofeederTemplateById(t){return this.transport.delete(`/api/mfg/autofeeder/template/${t}`)}deleteComponentById(t){return this.transport.delete(`/api/mfg/component/${t}`)}deleteComponentPackageById(t){return this.transport.delete(`/api/mfg/component/package/${t}`)}deleteGcodemappingById(t){return this.transport.delete(`/api/mfg/gcodemapping/${t}`)}deleteGcodeProjectById(t){return this.transport.delete(`/api/mfg/gcode/project/${t}`)}deleteInventoryLocationById(t){return this.transport.delete(`/api/mfg/inventory/location/${t}`)}deleteMachineById(t){return this.transport.delete(`/api/mfg/machine/${t}`)}deleteOrderById(t){return this.transport.delete(`/api/mfg/order/${t}`)}deletePartPackById(t){return this.transport.delete(`/api/mfg/PartPack/${t}`)}deletePcbById(t){return this.transport.delete(`/api/mfg/pcb/${t}`)}deletePcbMillingById(t){return this.transport.delete(`/api/mfg/pcb/milling/${t}`)}deletePnpjobById(t){return this.transport.delete(`/api/mfg/pnpjob/${t}`)}deletePnpNozzletipById(t){return this.transport.delete(`/api/mfg/pnp/nozzletip/${t}`)}deleteStripfeederById(t){return this.transport.delete(`/api/mfg/stripfeeder/${t}`)}deleteStripfeederTemplateById(t){return this.transport.delete(`/api/mfg/stripfeeder/template/${t}`)}getAssemblyInstructionById(t){return this.transport.getFormResponse(`/api/mfg/assembly/instruction/${t}`)}getAutofeederById(t,e){return this.transport.getFormResponse(Fc(`/api/mfg/autofeeder/${t}`,{loadcomponent:e}))}getAutofeederFeederidById(t,e){return this.transport.getFormResponse(Fc(`/api/mfg/autofeeder/feederid/${t}`,{loadcomponent:e}))}getAutofeederTemplateById(t){return this.transport.getFormResponse(`/api/mfg/autofeeder/template/${t}`)}getComponentById(t,e){return this.transport.getFormResponse(Fc(`/api/mfg/component/${t}`,{loadcomponent:e}))}getComponentByIdLabelByRowByCol(t,e,r){return this.transport.request(`/api/mfg/component/${t}/label/${e}/${r}`)}getComponentPackageById(t){return this.transport.getFormResponse(`/api/mfg/component/package/${t}`)}getGcodemappingById(t){return this.transport.getFormResponse(`/api/mfg/gcodemapping/${t}`)}getGcodeProjectById(t){return this.transport.getFormResponse(`/api/mfg/gcode/project/${t}`)}getInventoryLocationById(t){return this.transport.getFormResponse(`/api/mfg/inventory/location/${t}`)}getMachineById(t){return this.transport.getFormResponse(`/api/mfg/machine/${t}`)}getMachineByMachineidStagingplateByPlateidByRowByColStripfeederByFeederidAttach(t,e,r,n,i){return this.transport.get(`/api/mfg/machine/${t}/stagingplate/${e}/${r}/${n}/stripfeeder/${i}/attach`)}getOrderById(t){return this.transport.getFormResponse(`/api/mfg/order/${t}`)}getOrderByIdLabels(t){return this.transport.request(`/api/mfg/order/${t}/labels`)}getOrderLineitem(){return this.transport.getFormResponse("/api/mfg/order/lineitem")}getPartPackById(t){return this.transport.getFormResponse(`/api/mfg/PartPack/${t}`)}getPcbById(t){return this.transport.getFormResponse(`/api/mfg/pcb/${t}`)}getPcbByIdRevisionByRevidJob(t,e,r){return this.transport.requestForInvokeResultEx(Fc(`/api/mfg/pcb/${t}/revision/${e}/job`,{name:r}))}getPcbMillingById(t){return this.transport.getFormResponse(`/api/mfg/pcb/milling/${t}`)}getPnpjobById(t){return this.transport.getFormResponse(`/api/mfg/pnpjob/${t}`)}getPnpjobRunById(t){return this.transport.getFormResponse(`/api/mfg/pnpjob/run/${t}`)}getPnpNozzletipById(t){return this.transport.getFormResponse(`/api/mfg/pnp/nozzletip/${t}`)}getStripfeederById(t,e){return this.transport.getFormResponse(Fc(`/api/mfg/stripfeeder/${t}`,{loadcomponent:e}))}getStripfeederTemplateById(t){return this.transport.getFormResponse(`/api/mfg/stripfeeder/template/${t}`)}listAssemblyInstructions(){return this.transport.getListResponse("/api/mfg/assembly/instructions")}listAutofeeders(){return this.transport.getListResponse("/api/mfg/autofeeders")}listAutofeederTemplates(){return this.transport.getListResponse("/api/mfg/autofeeder/templates")}listComponentPackages(){return this.transport.getListResponse("/api/mfg/component/packages")}listComponents(t){return this.transport.getListResponse(Fc("/api/mfg/components",{componentType:t}))}listGcodemappings(){return this.transport.getListResponse("/api/mfg/gcodemappings")}listGcodeProjects(){return this.transport.getListResponse("/api/mfg/gcode/projects")}listInventoryLocations(){return this.transport.getListResponse("/api/mfg/inventory/locations")}listMachineByIdStagingplates(t){return this.transport.getListResponse(`/api/mfg/machine/${t}/stagingplates`)}listMachineByMachineidAutofeeders(t,e){return this.transport.getListResponse(Fc(`/api/mfg/machine/${t}/autofeeders`,{loadcomponents:e}))}listMachineByMachineidStripfeeders(t,e){return this.transport.getListResponse(Fc(`/api/mfg/machine/${t}/stripfeeders`,{loadcomponents:e}))}listMachines(){return this.transport.getListResponse("/api/mfg/machines")}listOrders(){return this.transport.getListResponse("/api/mfg/orders")}listPartPacks(){return this.transport.getListResponse("/api/mfg/PartPacks")}listPcbMillings(){return this.transport.getListResponse("/api/mfg/pcb/millings")}listPcbs(){return this.transport.getListResponse("/api/mfg/pcbs")}listPnpjobRuns(){return this.transport.getListResponse("/api/mfg/pnpjob/runs")}listPnpjobs(){return this.transport.getListResponse("/api/mfg/pnpjobs")}listPnpNozzletips(){return this.transport.getListResponse("/api/mfg/pnp/nozzletips")}listStripfeeders(){return this.transport.getListResponse("/api/mfg/stripfeeders")}listStripfeederTemplates(){return this.transport.getListResponse("/api/mfg/stripfeeder/templates")}updateAssemblyInstruction(t){return this.transport.update("/api/mfg/assembly/instruction",t)}updateAutofeeder(t){return this.transport.update("/api/mfg/autofeeder",t)}updateAutofeederByIdPartcountByPartcount(t,e){return this.transport.update(`/api/mfg/autofeeder/${t}/partcount/${e}`,{})}updateAutofeederTemplate(t){return this.transport.update("/api/mfg/autofeeder/template",t)}updateComponent(t){return this.transport.update("/api/mfg/component",t)}updateComponentByIdPurchaseByOrderidReceiveByQty(t,e,r){return this.transport.update(`/api/mfg/component/${t}/purchase/${e}/receive/${r}`,{})}updateComponentByIdVisionprofileByType(t,e,r){return this.transport.update(`/api/mfg/component/${t}/visionprofile/${e}`,r)}updateComponentPackage(t){return this.transport.update("/api/mfg/component/package",t)}updateComponentPackageByIdVisionprofileByType(t,e,r){return this.transport.update(`/api/mfg/component/package/${t}/visionprofile/${e}`,r)}updateGcodemapping(t){return this.transport.update("/api/mfg/gcodemapping",t)}updateGcodeProject(t){return this.transport.update("/api/mfg/gcode/project",t)}updateInventoryLocation(t){return this.transport.update("/api/mfg/inventory/location",t)}updateMachine(t){return this.transport.update("/api/mfg/machine",t)}updateOrder(t){return this.transport.update("/api/mfg/order",t)}updatePartPack(t){return this.transport.update("/api/mfg/PartPack",t)}updatePcb(t){return this.transport.update("/api/mfg/pcb",t)}updatePcbMilling(t){return this.transport.update("/api/mfg/pcb/milling",t)}updatePmpjobRunByIdPlacement(t,e){return this.transport.update(`/api/mfg/pmpjob/run/${t}/placement`,e)}updatePnpjob(t){return this.transport.update("/api/mfg/pnpjob",t)}updatePnpjobRun(t){return this.transport.update("/api/mfg/pnpjob/run",t)}updatePnpNozzletip(t){return this.transport.update("/api/mfg/pnp/nozzletip",t)}updateStripfeeder(t){return this.transport.update("/api/mfg/stripfeeder",t)}updateStripfeederByIdRowByRowidxPartindexByIdx(t,e,r){return this.transport.update(`/api/mfg/stripfeeder/${t}/row/${e}/partindex/${r}`,{})}updateStripfeederTemplate(t){return this.transport.update("/api/mfg/stripfeeder/template",t)}}function ID(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}class Ere{constructor(t){this.transport=t}createNewCot(){return this.transport.getFormResponse("/api/notification/cot/factory")}createNewCustomer(t){return this.transport.getFormResponse(`/api/notification/customer/${t}/factory`)}createNewHeader(){return this.transport.getFormResponse("/api/notification/rest/header/factory")}createNewMqtt(){return this.transport.getFormResponse("/api/notification/mqtt/factory")}createNewNotification(){return this.transport.getFormResponse("/api/notification/factory")}createNewRecipient(){return this.transport.request("/api/notification/device/recipient/factory")}createNewRest(){return this.transport.getFormResponse("/api/notification/rest/factory")}createNotification(t){return this.transport.insert("/api/notification",t)}createNotificationDeviceRecipient(t){return this.transport.insert("/api/notification/device/recipient",t)}deleteNotificationById(t){return this.transport.delete(`/api/notification/${t}`)}deleteNotificationDeviceByRepoidRecipientById(t,e){return this.transport.delete(`/api/notification/device/${t}/recipient/${e}`)}getNotificationById(t){return this.transport.getFormResponse(`/api/notification/${t}`)}getNotificationDeviceByRepoidByIdOfflineTest(t,e,r){return this.transport.get(ID(`/api/notification/device/${t}/${e}/offline/test`,{lastcontact:r}))}getNotificationDeviceByRepoidByIdOnlineTest(t,e,r){return this.transport.get(ID(`/api/notification/device/${t}/${e}/online/test`,{lastcontact:r}))}getNotificationsByRepoidByDeviceuniqueidByNotificationkey(t,e,r,n,i){return this.transport.requestForInvokeResultEx(ID(`/api/notifications/${t}/${e}/${r}`,{testing:n,dryrun:i}))}listNotificationByRepoidByDeviceidDeviceRecipients(t,e){return this.transport.getListResponse(`/api/notification/${t}/${e}/device/recipients`)}listNotifications(){return this.transport.getListResponse("/api/notifications")}listNotificationsCustomerByCustomerid(t){return this.transport.getListResponse(`/api/notifications/customer/${t}`)}listNotificationsTemplates(){return this.transport.getListResponse("/api/notifications/templates")}updateNotification(t){return this.transport.update("/api/notification",t)}}class Tre{constructor(t){this.transport=t}createNewEntry(){return this.transport.getFormResponse("/api/jobs/schedule/entry/factory")}createNewSchedule(){return this.transport.getFormResponse("/api/jobs/schedule/factory")}createSchedule(t){return this.transport.insert("/api/jobs/schedule",t)}createScheduleByScheduleManifestIdReconcile(t){return this.transport.postWithResponse(`/api/jobs/schedule/${t}/reconcile`,{})}deleteScheduleByScheduleManifestId(t){return this.transport.delete(`/api/jobs/schedule/${t}`)}getScheduleByScheduleManifestId(t){return this.transport.getFormResponse(`/api/jobs/schedule/${t}`)}listSchedules(){return this.transport.getListResponse("/api/jobs/schedules")}updateSchedule(t){return this.transport.update("/api/jobs/schedule",t)}}class Fre{constructor(t){this.transport=t}createLabel(t){return this.transport.postWithResponse("/api/label",t)}getLabelset(){return this.transport.requestForInvokeResultEx("/api/labelset")}listLabelEntitiesById(t){return this.transport.getListResponse(`/api/label/entities/${t}`)}listLabelEntitiesByIdTypeByEntityType(t,e){return this.transport.getListResponse(`/api/label/entities/${t}/type/${e}`)}updateLabel(t){return this.transport.updateWithResponse("/api/label",t)}}class Pre{constructor(t){this.transport=t}createSyncEntityPatch(t){return this.transport.insert("/api/admin/sync/entity/patch",t)}createSyncEntityUpsert(t){return this.transport.postWithResponse("/api/admin/sync/entity/upsert",t)}getSyncEntityByEntitytypeByKey(t,e){return this.transport.requestForInvokeResultEx(`/api/admin/sync/entity/${t}/${e}`)}getSyncEntityById(t){return this.transport.requestForInvokeResultEx(`/api/admin/sync/entity/${t}`)}getSyncEntityByIdEntityheader(t){return this.transport.requestForInvokeResultEx(`/api/admin/sync/entity/${t}/entityheader`)}listSyncSummaries(t,e,r){return this.transport.getListResponse(function Sre(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}("/api/admin/sync/summaries",{entityType:t,search:e,take:r}))}}class Are{constructor(t){this.transport=t}deleteByEntityidRating(t){return this.transport.deleteWithResponse(`/api/entity/${t}/rating`)}entityIdPublicSet(t){return this.transport.get(`/api/entity/${t}/public/set`)}getByEntityidCalchash(t){return this.transport.get(`/api/entity/${t}/calchash`)}getByEntityidIndex(t){return this.transport.get(`/api/entity/${t}/index`)}getByIdForm(t){return this.transport.request(`/api/entity/${t}/form`)}getByIdGraph(t){return this.transport.requestForInvokeResultEx(`/api/entity/${t}/graph`)}getByIdResolveEntityheaders(t){return this.transport.requestForInvokeResultEx(`/api/entity/${t}/resolve/entityheaders`)}getEntitiesByEntitytype(t){return this.transport.requestForInvokeResultEx(`/api/entities/${t}`)}getEntitytypeByEntitytypeResolveEntityheaders(t,e){return this.transport.requestForInvokeResultEx(function Ire(o,t){const e=[];for(const r of Object.keys(t)){const n=t[r];if(null!=n){if(Array.isArray(n)){for(const i of n)null!=i&&e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(i))}`);continue}e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}}return 0===e.length?o:o.indexOf("?")>=0?`${o}&${e.join("&")}`:`${o}?${e.join("&")}`}(`/api/entitytype/${t}/resolve/entityheaders`,{continuationToken:e}))}updateByEntityidCategory(t,e){return this.transport.update(`/api/entity/${t}/category`,e)}updateByEntityidRateByRating(t,e){return this.transport.updateWithResponse(`/api/entity/${t}/rate/${e}`,{})}}const oR=new me("NUVOS_TRANSPORT"),AD=new me("NUVOS_SITE_URI"),nR=new me("NUVOS_CACHE_ENABLED"),iR=new me("NUVOS_CREDENTIALS"),aR=new me("NUVOS_LOGIN_REDIRECT_PATH");class sR{constructor(t,e){this.services=t,this.clients=e}getUsers(){return this.clients.user.listUsers(!1)}}class lR{constructor(t,e){this.services=t,this.clients=e,this.orgWebSocket=null,this._isLoggedIn$=new pt(0),this._org$=new pt(null),this._user$=new pt(null),this._users$=new pt(null),this.key="auth.signinSeeds.v1"}registerLocalUser(t){var e=this;return E(function*(){yield e.setOrg(t.currentOrganization),yield e.setUser(t),yield e.setIsLoggedIn(!0),yield e.getUserFavorites(),yield e.getMRU(),t.currentOrganization&&(yield e.refreshUserOrganization()),yield e.services.storage.removeItemAsync("active_user_summary_basic"),yield e.services.storage.getItemAsync("app_user")})()}refreshUserOrganization(){var t=this;return E(function*(){yield t.services.storage.removeItemAsync("app_user_org");let e=yield t.clients.org.getCurrentSummary();e.successful&&(yield t.services.storage.setItemAsync("app_user_org",JSON.stringify(e.result)))})()}setUser(t){var e=this;return E(function*(){return t?(yield e.services.storage.setItemAsync("app_user",JSON.stringify(t)),e._user$.next(t)):(yield e.services.storage.removeItemAsync("app_user"),yield e.setOrg(null),e._user$.next(null)),!0})()}hasAnyLoginSeeds(){var t=this;return E(function*(){return(yield t.listLoginSeeds()).length>0})()}listLoginSeeds(){var t=this;return E(function*(){try{const e=yield t.services.storage.getItemAsync(t.key);if(!e)return[];const r=JSON.parse(e);return Array.isArray(r)?r.filter(n=>!!n?.email):[]}catch{return[]}})()}getPrimaryLoginSeed(){var t=this;return E(function*(){const e=yield t.listLoginSeeds();return e.length?e.slice().sort((r,n)=>(n.lastUsedUtc||"").localeCompare(r.lastUsedUtc||""))[0]:null})()}upsertLoginSeedEmail(t){var e=this;return E(function*(){const r=(t||"").trim().toLowerCase();if(!r)return;const n=(new Date).toISOString(),i=(yield e.listLoginSeeds()).filter(a=>a.email.toLowerCase()!==r);i.unshift({email:r,lastUsedUtc:n}),yield e.services.storage.setItemAsync(e.key,JSON.stringify(i.slice(0,5)))})()}clearAllLoginSeeds(){var t=this;return E(function*(){yield t.services.storage.removeItemAsync(t.key)})()}setOrg(t){var e=this;return E(function*(){return e.orgWebSocket&&e.orgWebSocket.socket.close(),t?(yield e,e.services.storage.setItemAsync("app_user_org",JSON.stringify(t)),e.orgWebSocket=yield e.services.notifications.openSLSocket("OrgService","entity",t.id),e._org$.next({id:t.id,key:t.namespace,text:t.text})):(e._org$.next(null),yield e,e.services.storage.removeItemAsync("app_user_org")),!0})()}loadCurrentUser(){var t=this;return E(function*(){const e=yield t.clients.user.get();if(e.successful)return console.log(`response - ${e.successful} - ${e.model.currentOrganization}`),yield t.registerLocalUser(e.model),e.model;window.location.href=t.services.environment.production?"/Account/Login":"/login"})()}setLoginResponse(t){var e=this;return E(function*(){yield e.setUser(t.user),t.user.currentOrganization&&(yield e.services.storage.setItemAsync(`user_mru_${t.user.currentOrganization.id}`,JSON.stringify(t.mostRecentlyUsed)),yield e.services.storage.setItemAsync(`user_favorites_${t.user.currentOrganization.id}`,JSON.stringify(t.favorites)),yield e.services.storage.setItemAsync("app_user_org",JSON.stringify(t.user.currentOrganization)),yield e.refreshRoles()),yield e.setIsLoggedIn(!0)})()}login(t,e,r,n,i){var a=this;return E(function*(){let s={endUserAppOrgId:n,email:t,password:e,inviteId:i,rememberMe:r,module:a.services.environment.moduleRouteHome},l=yield a.clients.auth.createV1Login(s);return l.successful&&(yield a.setLoginResponse(l.result)),l})()}refreshRoles(){var t=this;return E(function*(){let r=(yield t.clients.user.getRoles()).map(n=>n.role.key);yield t.services.storage.setItemAsync("app_user_roles",JSON.stringify(r))})()}getIsLoggedIn(){var t=this;return E(function*(){return"true"==t.services.cookies.get("authenticated")?(yield t,t.services.storage.setItemAsync("is_logged_in","login_true"),!0):"login_true"==(yield t.services.storage.getItemAsync("is_logged_in"))})()}setIsLoggedIn(t){var e=this;return E(function*(){e._isLoggedIn$.next(t),yield e,e.services.storage.setItemAsync("is_logged_in",t?"login_true":"login_false")})()}getCurrentOrg(){var t=this;return E(function*(){let e=yield t.services.storage.getItemAsync("app_user_org");return JSON.parse(e)})()}getMruForOrg(t){var e=this;return E(function*(){let r=yield e.services.storage.getItemAsync(`user_mru_${t}`);if(r)return JSON.parse(r);let n=yield e.clients.user.getMru();if(n.successful)return yield e.services.storage.setItemAsync(`user_mru_${t}`,JSON.stringify(n.result)),n.result;throw"could not load mru"})()}getMRU(){var t=this;return E(function*(){let e=yield t.getCurrentOrg();return new Promise(function(){var n=E(function*(i,a){if(e){let s=window.setInterval(E(function*(){let l=yield t.getMruForOrg(e.id);l&&(i(l),window.clearInterval(s))}),50)}else i({all:[],modules:[]})});return function(i,a){return n.apply(this,arguments)}}())})()}loadUserFromStorage(){var t=this;return E(function*(){let e=yield t.services.storage.getItemAsync("app_user");if(e)return JSON.parse(e);if(yield t.getIsLoggedIn())return yield t.loadCurrentUser();throw"not logged in, should not attempt to load user."})()}getUser(){var t=this;return E(function*(){if(yield t.getIsLoggedIn())return new Promise(function(){var r=E(function*(n,i){let a=window.setInterval(E(function*(){let s=yield t.loadUserFromStorage();try{s&&(n(s),window.clearInterval(a))}catch{window.clearInterval(a),t.services.navigation.gotoLogin(window.location.pathname)}}),50)});return function(n,i){return r.apply(this,arguments)}}());t.services.navigation.gotoLogin(window.location.pathname)})()}getUserFavorites(){var t=this;return E(function*(){let e=yield t.getCurrentOrg();return new Promise(function(){var n=E(function*(i,a){if(e){let s=window.setInterval(E(function*(){let l=yield t.getUserFavoritesForOrg(e.id);l&&(i(l),window.clearInterval(s))}),50)}else i({favorites:[],modules:[]})});return function(i,a){return n.apply(this,arguments)}}())})()}getUserFavoritesForOrg(t){var e=this;return E(function*(){let r=yield e.services.storage.getItemAsync(`user_favorites_${t}`);if(r)return JSON.parse(r);let n=yield e.clients.user.getFavorites();return yield e.services.storage.setItemAsync(`user_favorites_${t}`,JSON.stringify(n.result)),n.result})()}onLoggedIn(){return this._isLoggedIn$.asObservable()}onUsers(){return this._users$.asObservable()}onUser(){return this._user$.asObservable()}onOrg(){return this._org$.asObservable()}}let cR=(()=>{class o{setItemAsync(e,r){return E(function*(){window.localStorage.setItem(e,r)})()}getItemAsync(e){return E(function*(){return window.localStorage.getItem(e)})()}removeItemAsync(e){return E(function*(){window.localStorage.removeItem(e)})()}clearAsync(){return E(function*(){const e=window.localStorage.getItem("loginRedirect"),r=window.localStorage.getItem("app_user_org");window.localStorage.clear(),r&&window.localStorage.setItem("previous_app_user_org",r),e&&window.localStorage.setItem("loginRedirect",e)})()}setItemAsyncWithResult(e,r){var n=this;return E(function*(){return yield n.setItemAsync(e,r),!0})()}clearAsyncWithResult(){var e=this;return E(function*(){return yield e.clearAsync(),!0})()}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const Qd={production:!0,siteUri:"",appId:"B037C8481A994A6CB6540147F614160E",projectId:"DE16F03660B245E9B4811B9F232E39CA",moduleId:"1C3344CA9EFF454FA471106D53477E34",moduleRouteHome:"auth",moduleName:"Authorization",logo:"https://www.nuviot.com/images/nuviot-blue.png",supportOAuth:!0,landingPage:"home",showFullPortal:!0,showToDo:!0,showQuickLinks:!0};let dR=(()=>{class o{constructor(e,r){this.router=e,this.location=r}gotoLogin(e){this.router.navigate(["auth"])}goto(e){!e||0===e.length||this.router.navigate(e)}gotoPath(e){let r=(e=e.startsWith("/")?e.substring(1):e).split("/");r[0]==Qd.moduleRouteHome?this.goto(r):window.location.href=e}setLocation(e){this.location.go(e)}gotoAreaHome(e){this._areaHome=e,this.router.navigate([Qd.moduleRouteHome,"areas",e])}gotoModuleHome(){this.router.navigate([Qd.moduleRouteHome])}}return o.\u0275fac=function(e){return new(e||o)(Z(qr),Z(hl))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),a1=(()=>{class o{constructor(){this._activeCallCount=0,this._loadingMessages=[],this._activeCalls$=new Jr(this._loadingMessages),this._endCalls$=new Jr(this._loadingMessages)}onCallBegin(){return this._activeCalls$.asObservable()}onCallEnd(){return this._endCalls$.asObservable()}beginCall(e="?"){this._activeCallCount++,this._loadingMessages.push("loading"),this._activeCalls$.next(this._loadingMessages)}endCall(){this._activeCallCount--,this._loadingMessages.pop(),this._activeCallCount<0&&(this._activeCallCount=0),0===this._activeCallCount&&this._endCalls$.next(this._loadingMessages)}get activeCallCount(){return this._activeCallCount}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),uR=(()=>{class o{constructor(){this._errors$=new Jr([])}addErrors(e){const r=(e??[]).filter(n=>!!n);0!==r.length&&this._errors$.next(r)}addMessage(e){!e||this._errors$.next([{message:e}])}onErrMsgs(){return this._errors$.asObservable()}clear(){this._errors$.next([])}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),pR=(()=>{class o{constructor(){}get(e){let a,r=document.cookie.split(";"),n=r.length,i=`${e}=`;for(let s=0;s{class o{log(e,...r){throw new Error("Method not implemented.")}warn(e,...r){throw new Error("Method not implemented.")}error(e,...r){throw new Error("Method not implemented.")}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const gR=new me("PLATFORM_LOGGER"),mR=new me("PLATFORM_NOTIFICATIONS"),fR=new me("PLATFORM_STORAGE"),_R=new me("PLATFORM_NAVIGATION"),vR=new me("PLATFORM_NETWORK_CALL_STATUS"),yR=new me("PLATFORM_ERROR_REPORTER"),bR=new me("PLATFORM_COOKIE_SERVICE"),CR=new me("PLATFORM_COOKIE_ENVIRONMENT");let Bre=(()=>{class o{constructor(e,r,n,i,a,s,l,c){this.storage=e,this.navigation=r,this.network=n,this.errors=i,this.cookies=a,this.logger=s,this.notifications=l,this.environment=c}}return o.\u0275fac=function(e){return new(e||o)(Z(fR),Z(_R),Z(vR),Z(yR),Z(bR),Z(gR),Z(mR),Z(CR))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function wR(o){var t,e,r,n=2;for(typeof Symbol<"u"&&(e=Symbol.asyncIterator,r=Symbol.iterator);n--;){if(e&&null!=(t=o[e]))return t.call(o);if(r&&null!=(t=o[r]))return new s1(t.call(o));e="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function s1(o){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var r=e.done;return Promise.resolve(e.value).then(function(n){return{value:n,done:r}})}return(s1=function(r){this.s=r,this.n=r.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):t(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):t(n.apply(this.s,arguments))}},new s1(o)}function xR(o){this.wrapped=o}function OD(o){return new xR(o)}function ef(o){var t,e;function n(a,s){try{var l=o[a](s),c=l.value,h=c instanceof xR;Promise.resolve(h?c.wrapped:c).then(function(_){h?n("return"===a?"return":"next",_):i(l.done?"return":"normal",_)},function(_){n("throw",_)})}catch(_){i("throw",_)}}function i(a,s){switch(a){case"return":t.resolve({value:s,done:!0});break;case"throw":t.reject(s);break;default:t.resolve({value:s,done:!1})}(t=t.next)?n(t.key,t.arg):e=null}this._invoke=function r(a,s){return new Promise(function(l,c){var h={key:a,arg:s,resolve:l,reject:c,next:null};e?e=e.next=h:(t=e=h,n(a,s))})},"function"!=typeof o.return&&(this.return=void 0)}function DR(o){return function(){return new ef(o.apply(this,arguments))}}function MR(o){const t={};for(const e of o.keys()){const r=o.getAll(e);t[e.toLowerCase()]=r?r.join(", "):o.get(e)??""}return t}function Vre(o){if(void 0!==o)return null===o?null:"string"==typeof o?o:JSON.stringify(o)}function RD(){return(RD=DR(function*(o){const t=o.body;if(!t)return;const e=t.getReader?.();if(!e)return;const r=new TextDecoder;let n="";for(;;){const{done:i,value:a}=yield OD(e.read());if(i)break;let s;for(n+=r.decode(a,{stream:!0});(s=n.indexOf("\n"))>=0;){const l=n.slice(0,s);n=n.slice(s+1),yield l}}n.length>0&&(yield n)})).apply(this,arguments)}ef.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},ef.prototype.next=function(o){return this._invoke("next",o)},ef.prototype.throw=function(o){return this._invoke("throw",o)},ef.prototype.return=function(o){return this._invoke("return",o)};let l1=(()=>{class o{constructor(e){this.http=e}request(e,r,n){var i=this;return E(function*(){if(n?.expectNdjson)return yield i.requestFetchNdjson(e,r,n);const a=new Va(n?.headers??{});try{const s=yield function Nre(o,t){const e="object"==typeof t;return new Promise((r,n)=>{const i=new Ve({next:a=>{r(a),i.unsubscribe()},error:n,complete:()=>{e?r(t.defaultValue):n(new bm)}});o.subscribe(i)})}(i.http.request(e,r,{body:n?.body,headers:a,observe:"response",responseType:"text",withCredentials:"include"===n?.credentials})),l=s.body??"",c=MR(s.headers);return{status:s.status,ok:s.status>=200&&s.status<300,statusText:s.statusText??"",headers:c,text:()=>E(function*(){return l})(),json:()=>E(function*(){if(l)return JSON.parse(l)})()}}catch(s){if(s instanceof rx){const l=function $re(o){const t=o?.error;if("string"==typeof t)return t;if(null==t)return"";try{return JSON.stringify(t)}catch{return String(t)}}(s),c=s.headers?MR(s.headers):{};return{status:s.status??0,ok:!1,statusText:s.statusText??"HttpErrorResponse",headers:c,text:()=>E(function*(){return l||s.message||s.statusText||""})(),json:()=>E(function*(){if(l)return JSON.parse(l)})()}}throw s}})()}requestFetchNdjson(e,r,n){return E(function*(){const i=function Hre(o){const t={};if(o?.headers)for(const e of Object.keys(o.headers))t[e]=o.headers[e];return null!=o?.body&&(Object.keys(t).some(r=>"content-type"===r.toLowerCase())||(t["Content-Type"]="application/json")),t}(n),a=yield fetch(r,{method:e,headers:i,body:"GET"===e||"DELETE"===e?void 0:Vre(n?.body),signal:n?.signal,credentials:n?.credentials??"include"}),s={};return a.headers.forEach((l,c)=>{s[c.toLowerCase()]=l}),{status:a.status,ok:a.ok,statusText:a.statusText,headers:s,text:()=>E(function*(){return yield a.text()})(),json:()=>E(function*(){return yield a.json()})(),ndjsonLines:(l=DR(function*(){var _,c=!1,h=!1;try{for(var k,C=wR(function zre(o){return RD.apply(this,arguments)}(a));c=!(k=yield OD(C.next())).done;c=!1)yield k.value}catch(A){h=!0,_=A}finally{try{c&&null!=C.return&&(yield OD(C.return()))}finally{if(h)throw _}}}),function(){return l.apply(this,arguments)})};var l})()}}return o.\u0275fac=function(e){return new(e||o)(Z(Es))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class Yre{constructor(t,e){this.deps=t,this._siteUri=e.siteUri,this._cacheEnabled=e.cacheEnabled??!0,this._credentials=e.credentials??"include",this._loginRedirectPath=e.loginRedirectPath}setForOhOneHandler(t){this._401Handler=t}getFullUrl(t){t.startsWith("/")&&(t=t.substring(1));const r=t.toLowerCase().startsWith("http")?t:`${this._siteUri}/${t}`;return this._cacheEnabled?r:this.appendCacheAbort(r)}appendCacheAbort(t){if(t.toLowerCase().includes("cache-abort=true"))return t;const e=t.includes("?")?"&":"?";return`${t}${e}cache-abort=true`}createGuidAsync(){var t=this;return E(function*(){const e=yield t.deps.http.request("GET",t.getFullUrl("/api/utils/guid/new"),{credentials:t._credentials});if(!e.ok)throw new Error(yield e.text().catch(()=>e.statusText));return yield e.json()})()}createNuvIoTIdAsync(){var t=this;return E(function*(){const e=yield t.deps.http.request("GET",t.getFullUrl("/api/utils/nuviot/id/new"),{credentials:t._credentials});if(!e.ok)throw new Error(yield e.text().catch(()=>e.statusText));return yield e.text()})()}beginCall(t,e=!0){if(e)try{this.deps.network?.beginCall(t)}catch{}}endCall(t=!0){if(t)try{this.deps.network?.endCall()}catch{}}handle401Async(){var t=this;return E(function*(){t._401Handler?t._401Handler.handle():t._loginRedirectPath&&t.deps.navigation&&t.deps.navigation.gotoPath(t._loginRedirectPath)})()}toFailedInvokeResult(t){return{successful:!1,warnings:[],errors:[{message:t}]}}parseInvokeResult(t,e,r){var n=this;return E(function*(){try{if(401===t.status)return yield n.handle401Async(),n.toFailedInvokeResult("Not authorized. Please log in again.");if(!t.ok){const s=(yield t.text().catch(()=>""))||t.statusText||`Request failed: HTTP ${t.status}`;return r&&n.deps.errors?.addMessage(s),n.toFailedInvokeResult(s)}const i=yield t.json().catch(E(function*(){return yield t.text().catch(()=>"")}));if(i&&"object"==typeof i&&"successful"in i){const a=i;return a.redirectURL&&n.deps.navigation?(n.deps.navigation.gotoPath(a.redirectURL),i):(!1===a.successful&&n.deps.errors?.addErrors(a.errors),i)}return i}finally{n.endCall(e)}})()}getListResponse(t,e=null,r=!0){var n=this;return E(function*(){n.beginCall(t,r);const i={};e&&(e.start&&(i["x-filter-startdate"]=e.start),e.end&&(i["x-filter-enddate"]=e.end),e.groupBy&&(i["x-group-by"]=e.groupBy),void 0!==e.showDrafts&&(i["x-show-drafts"]=String(e.showDrafts)),void 0!==e.showDeleted&&(i["x-show-deleted"]=String(e.showDeleted)),void 0!==e.groupBySize&&(i["x-group-by-size"]=String(e.groupBySize)),e.nextPartitionKey&&(i["x-nextpartitionkey"]=e.nextPartitionKey),e.nextRowKey&&(i["x-nextrowkey"]=e.nextRowKey),void 0!==e.pageSize&&(i["x-pagesize"]=String(e.pageSize)),void 0!==e.pageIndex&&(i["x-pageindex"]=String(e.pageIndex)),e.categoryKey&&(i["x-categorykey"]=e.categoryKey));const a=yield n.deps.http.request("GET",n.getFullUrl(t),{headers:i,credentials:n._credentials}),s=yield n.parseInvokeResult(a,r,!0);return s&&s.successful&&(s.setFilteredItems=l=>{s.filteredItems=l,s.refresh&&s.refresh()},s.clearFilteredItems=()=>{s.filteredItems=void 0,s.refresh&&s.refresh()}),s})()}requestForInvokeResultEx(t,e=!0){var r=this;return E(function*(){r.beginCall(t,e);const n=yield r.deps.http.request("GET",r.getFullUrl(t),{credentials:r._credentials});return yield r.parseInvokeResult(n,e,!0)})()}request(t,e=!0,r=!0){var n=this;return E(function*(){n.beginCall(t,e);const i=yield n.deps.http.request("GET",n.getFullUrl(t),{credentials:n._credentials});return yield n.parseInvokeResult(i,e,r)})()}get(t){var e=this;return E(function*(){e.beginCall(t,!0);const r=yield e.deps.http.request("GET",e.getFullUrl(t),{credentials:e._credentials});return yield e.parseInvokeResult(r,!0,!0)})()}getFormResponse(t,e=!0){var r=this;return E(function*(){r.beginCall(t,e);const n=yield r.deps.http.request("GET",r.getFullUrl(t),{credentials:r._credentials});return yield r.parseInvokeResult(n,e,!0)})()}formPost(t,e){var r=this;return E(function*(){r.beginCall(t,!0);const n=yield r.deps.http.request("POST",r.getFullUrl(t),{credentials:r._credentials,headers:{"Content-Type":"application/json"},body:e});return yield r.parseInvokeResult(n,!0,!0)})()}post(t,e){var r=this;return E(function*(){return r.postWithResponse(t,e,!0)})()}insert(t,e,r=!0){var n=this;return E(function*(){n.beginCall(t,r);const i=yield n.deps.http.request("POST",n.getFullUrl(t),{credentials:n._credentials,headers:{"Content-Type":"application/json"},body:e});return yield n.parseInvokeResult(i,r,!0)})()}postWithResponse(t,e,r=!0){var n=this;return E(function*(){n.beginCall(t,r);const i=yield n.deps.http.request("POST",n.getFullUrl(t),{credentials:n._credentials,headers:{"Content-Type":"application/json"},body:e});return yield n.parseInvokeResult(i,r,!0)})()}postRaw(t,e,r=!0){var n=this;return E(function*(){n.beginCall(t,r);const i=yield n.deps.http.request("POST",n.getFullUrl(t),{credentials:n._credentials,headers:{"Content-Type":"application/json"},body:e});return yield n.parseInvokeResult(i,r,!0)})()}postForListResponse(t,e){var r=this;return E(function*(){r.beginCall(t,!0);const n=yield r.deps.http.request("POST",r.getFullUrl(t),{credentials:r._credentials,headers:{"Content-Type":"application/json"},body:e});return yield r.parseInvokeResult(n,!0,!0)})()}updateWithResponse(t,e,r=!0){var n=this;return E(function*(){n.beginCall(t,r);const i=yield n.deps.http.request("PUT",n.getFullUrl(t),{credentials:n._credentials,headers:{"Content-Type":"application/json"},body:e});return yield n.parseInvokeResult(i,r,!0)})()}updateWithFormResponse(t,e,r=!0){var n=this;return E(function*(){n.beginCall(t,r);const i=yield n.deps.http.request("PUT",n.getFullUrl(t),{credentials:n._credentials,headers:{"Content-Type":"application/json"},body:e});return yield n.parseInvokeResult(i,r,!0)})()}update(t,e,r=!0,n=!0){var i=this;return E(function*(){i.beginCall(t,r);const a=yield i.deps.http.request("PUT",i.getFullUrl(t),{credentials:i._credentials,headers:{"Content-Type":"application/json"},body:e});return yield i.parseInvokeResult(a,r,n)})()}delete(t){var e=this;return E(function*(){e.beginCall(t,!0);const r=yield e.deps.http.request("DELETE",e.getFullUrl(t),{credentials:e._credentials});return yield e.parseInvokeResult(r,!0,!0)})()}deleteWithResponse(t,e=!0){var r=this;return E(function*(){r.beginCall(t,e);const n=yield r.deps.http.request("DELETE",r.getFullUrl(t),{credentials:r._credentials});return yield r.parseInvokeResult(n,e,!0)})()}postWithStreamNdjson(t,e,r,n=!0,i){var a=this;return E(function*(){a.beginCall(t,n);let s=null;try{const k=yield a.deps.http.request("POST",a.getFullUrl(t),{credentials:a._credentials,headers:{"Content-Type":"application/json"},body:e,signal:i,expectNdjson:!0});if(401===k.status)return yield a.handle401Async(),r({kind:"error",errorMessage:"Not authorized. Please log in again."}),a.toFailedInvokeResult("Not authorized. Please log in again.");if(!k.ok){const B=(yield k.text().catch(()=>""))||k.statusText||`Request failed: HTTP ${k.status}`;return r({kind:"error",errorMessage:B}),a.toFailedInvokeResult(B)}if(!k.ndjsonLines){const A="Streaming is not supported by the configured HttpAdapter.";return r({kind:"error",errorMessage:A}),a.toFailedInvokeResult(A)}var h,l=!1,c=!1;try{for(var C,_=wR(k.ndjsonLines());l=!(C=yield _.next()).done;l=!1){const B=C.value.trim();if(B)try{const z=JSON.parse(B);r(z),"final"===z.kind&&z.final&&(s=z.final)}catch{}}}catch(A){c=!0,h=A}finally{try{l&&null!=_.return&&(yield _.return())}finally{if(c)throw h}}}catch(k){if("AbortError"===k?.name)return a.toFailedInvokeResult("Request aborted.");const A=k?.message??"Unexpected error while streaming response.";return r({kind:"error",errorMessage:A}),a.toFailedInvokeResult(A)}finally{a.endCall(n)}if(!s){const k="No final event received from server.";return r({kind:"error",errorMessage:k}),a.toFailedInvokeResult(k)}return s})()}}const Ure=[{provide:l1,useClass:l1},{provide:"HTTP_ADAPTER",useExisting:l1},{provide:oR,deps:[Bre,l1,AD,nR,iR,aR],useFactory:(o,t,e,r,n,i)=>function jre(o,t){return new Yre(o,t)}({http:t,storage:o.storage,navigation:o.navigation,network:o.network,errors:o.errors,logger:o.logger,notifications:o.notifications,environment:o.environment,cookies:o.cookies},{siteUri:e,cacheEnabled:r,credentials:n,loginRedirectPath:i})}];let kR=(()=>{class o{constructor(e,r){this.siteUri=r,this._ownerList=[],this._channelToken="--channel--",this._idToken="--id--",this._wsUrlFormat=`api/wsuri/${this._channelToken}/${this._idToken}/normal`,this.debug=!1,this.http=new Es(e)}static newGuid(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){const r=16*Math.random()|0;return("x"===e?r:3&r|8).toString(16).toUpperCase()})}buildUrl(e,r){const n=this._wsUrlFormat.replace(this._channelToken,encodeURIComponent(e)).replace(this._idToken,encodeURIComponent(r));return`${this.siteUri.replace(/\/$/,"")}/${n.replace(/^\//,"")}`}buildUrlFromRelative(e){return/^https?:\/\//i.test(e)?e:`${this.siteUri.replace(/\/$/,"")}/${e.replace(/^\//,"")}`}destroy(e){this.debug&&console.log("current collection count: ",this._ownerList.length),this.debug&&console.log("removing SLWebSocket from collection: ",e.url),e.socket.close(),this._ownerList=this._ownerList.filter(r=>r.slWebSocketId!==e.slWebSocketId),this.debug&&console.log("updated collection count: ",this._ownerList.length),this.debug&&console.log("remaining sockets:"),this._ownerList.forEach(r=>{this.debug&&console.log("--\x3e owner | url:",`${r.owner} | ${r.url}`)}),this.debug&&console.log("************"),this.debug&&console.log("")}formatUri(e,r){return this._wsUrlFormat.replace(this._channelToken,e).replace(this._idToken,r)}openSLSocket(e,r,n){var i=this;return E(function*(){const a=i.formatUri(r,n);try{const s={slWebSocketId:o.newGuid(),owner:e,socket:yield i.openWebSocket(a),url:a};return i.debug&&console.log("current collection count: ",i._ownerList.length),i.debug&&console.log("adding new SLWebSocket to collection: ",s.url),i._ownerList.push(s),i.debug&&console.log("updated collection count: ",i._ownerList.length),s}catch{return}})()}openSLSocketWithUri(e,r){var n=this;return E(function*(){try{const i={slWebSocketId:o.newGuid(),owner:e,socket:yield n.openWebSocket(r),url:r};return n.debug&&console.log("current collection count: ",n._ownerList.length),n.debug&&console.log("adding new SLWebSocket to collection: ",i.url),n._ownerList.push(i),n.debug&&console.log("updated collection count: ",n._ownerList.length),i}catch{return}})()}openWebSocket(e){var r=this;return E(function*(){const n=r.buildUrlFromRelative(e);return new Promise(function(){var i=E(function*(a,s){try{const l=yield r.http.get(n,{withCredentials:!0}).toPromise();if(!l)return r.debug&&console.log("no response when getting socket url."),void s("Failed to open channel");if(!l.successful)return r.debug&&console.log("fail to get socket url."),void s("Failed to open channel");const c=l.result;r.debug&&console.log("Open Channel:",c);const h=new WebSocket(c);h.onopen=()=>{r.debug&&console.log("ws opened"),a(h)},h.onerror=_=>{r.debug&&console.log("ERROR OPEN SOCKET"),r.debug&&console.log(_),s("Failed to open channel")}}catch(l){r.debug&&console.log("exception getting socket url:",l),s("Failed to open channel")}});return function(a,s){return i.apply(this,arguments)}}())})()}}return o.\u0275fac=function(e){return new(e||o)(Z(Qw),Z(AD))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),LD=(()=>{class o{constructor(e,r,n,i,a,s,l){this._services=function Lre(o,t,e,r,n,i,a,s){return{storage:o,navigation:t,network:e,errors:r,cookies:n,logger:i,notifications:a,environment:s}}(e,r,n,i,a,s,l,He)}get services(){return this._services}}return o.\u0275fac=function(e){return new(e||o)(Z(cR),Z(dR),Z(a1),Z(uR),Z(pR),Z(hR),Z(kR))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),ER=(()=>{class o{constructor(e){this._clients=function Ore(o){return{transport:o,media:new lre(o),auth:new cre(o),user:new dre(o),org:new pre(o),sys:new gre(o),ai:new mre(o),marketing:new _re(o),email:new vre(o),devices:new yre(o),business:new bre(o),deviceMessaging:new wre(o),accounting:new xre(o),fieldServiceLite:new Mre(o),iotDeployment:new Dre(o),mfg:new kre(o),notifications:new Ere(o),jobs:new Tre(o),labels:new Fre(o),admin:new Pre(o),entities:new Are(o)}}(e)}get clients(){return this._clients}}return o.\u0275fac=function(e){return new(e||o)(Z(oR))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Wre=(()=>{class o{constructor(e,r){this._managers=function Rre(o,t){return{userManager:new lR(t,o),orgManager:new sR(t,o)}}(e.clients,r.services)}get managers(){return this._managers}}return o.\u0275fac=function(e){return new(e||o)(Z(ER),Z(LD))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Gre=(()=>{class o{constructor(e,r){this.rootRoute=e,this.router=r,console.log("AppRoutingService initialized with root route: ",e,r),this.activeLeafRoute$=this.router.events.pipe(Gr(n=>n instanceof bl),Yo(null),Je(()=>{let n=this.rootRoute;for(;n.firstChild;)n=n.firstChild;return n})),this.paramMap$=this.activeLeafRoute$.pipe(bn(n=>n.paramMap))}}return o.\u0275fac=function(e){return new(e||o)(Z(_o),Z(qr))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),_r=(()=>{class o{constructor(e,r,n,i){this._coreServices=e.services,this._generatedClients=r.clients,this._nuvOsManagers=n.managers,this._appRouting=i}get services(){return this._coreServices}get clients(){return this._generatedClients}get appRouting(){return this._appRouting}get mgrs(){return this._nuvOsManagers}}return o.\u0275fac=function(e){return new(e||o)(Z(LD),Z(ER),Z(Wre),Z(Gre))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function qre(o,t){if(1&o&&(d(0,"li"),v(1),u()),2&o){const e=t.$implicit;p(1),Eo("",e.provider.text," - ",e.userName,"")}}function Kre(o,t){if(1&o&&(d(0,"div")(1,"h4"),v(2,"User Information"),u(),d(3,"div"),v(4),u(),d(5,"div"),v(6),u(),d(7,"div"),v(8),u(),d(9,"div"),v(10),u(),d(11,"div"),v(12),u(),d(13,"div"),v(14,"Connected Logins "),d(15,"ol"),b(16,qre,2,2,"li",3),u()()()),2&o){const e=m();p(4),Eo("",e.user.firstName," ",e.user.lastName,""),p(2),ae(e.user.email),p(2),ae(e.user.userName),p(2),ae(e.user.loginType),p(2),ce("Has Generated Password: ",e.user.hasGeneratedPassword,""),p(4),g("ngForOf",e.user.externalLogins)}}let Zre=(()=>{class o{constructor(e){this.svc=e}ngOnInit(){var e=this;return E(function*(){console.log("get init"),e.user=yield e.svc.mgrs.userManager.getUser(),e.seed=yield e.svc.mgrs.userManager.getPrimaryLoginSeed()})()}changePassword(){this.svc.services.navigation.goto(["auth","change-password"])}userProfile(){}totpEnroll(){this.svc.services.navigation.goto(["auth","mfa","totp","enroll"])}passKeyEnroll(){this.svc.services.navigation.goto(["auth","passkey","enroll","start"])}logout(){this.svc.services.navigation.goto(["auth","logout"])}passKeyStepup(){this.svc.services.navigation.goto(["auth","continue","passkey"])}passKeyManage(){this.svc.services.navigation.goto(["auth","passkey","manage"])}externalLogins(){this.svc.services.navigation.goto(["auth","oauth","logins"])}inviteOtherUser(){}deleteCurrentUser(){}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-home-placeholder"]],decls:44,vars:4,consts:[["data-testid","auth-screen","data-screen-id","home",1,"router-container",2,"margin","10px","background-color","white"],[4,"ngIf"],[1,"action",3,"click"],[4,"ngFor","ngForOf"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"h4"),v(2,"Home Page Placeholder"),u(),d(3,"p"),v(4,"When the application is deployed the reverse proxy will route /home to primary home page."),u(),d(5,"p"),v(6,"This page is used as a place holder to help test the authentication work flow."),u(),b(7,Kre,17,7,"div",1),v(8),xr(9,"json"),d(10,"ul")(11,"li")(12,"span",2),T("click",function(){return r.userProfile()}),v(13,"User Profile"),u()(),d(14,"li")(15,"span",2),T("click",function(){return r.passKeyEnroll()}),v(16,"Enroll PassKey"),u()(),d(17,"li")(18,"span",2),T("click",function(){return r.externalLogins()}),v(19,"External Logins"),u()(),d(20,"li")(21,"span",2),T("click",function(){return r.passKeyStepup()}),v(22,"Passkey Step-Up"),u()(),d(23,"li")(24,"span",2),T("click",function(){return r.passKeyManage()}),v(25,"Manage PassKey"),u()(),d(26,"li")(27,"span",2),T("click",function(){return r.passKeyStepup()}),v(28,"Step-up PassKey"),u()(),d(29,"li")(30,"span",2),T("click",function(){return r.totpEnroll()}),v(31,"Enroll TOTP"),u()(),d(32,"li")(33,"span",2),T("click",function(){return r.changePassword()}),v(34,"Change Password"),u()(),d(35,"li")(36,"span",2),T("click",function(){return r.inviteOtherUser()}),v(37,"Invite Other User"),u()(),d(38,"li")(39,"span",2),T("click",function(){return r.logout()}),v(40,"Logout"),u()(),d(41,"li")(42,"span",2),T("click",function(){return r.deleteCurrentUser()}),v(43,"Delete Current User"),u()()()()),2&e&&(p(7),g("ngIf",r.user),p(1),ce(" ",Dr(9,2,r.seed)," "))},dependencies:[gt,ve,$w],styles:[".action[_ngcontent-%COMP%]{color:#d2691e;cursor:pointer}"]}),o})();const Xre=[{provide:fR,useClass:cR},{provide:_R,useClass:dR},{provide:a1,useClass:a1},{provide:vR,useExisting:a1},{provide:yR,useClass:uR},{provide:bR,useClass:pR},{provide:CR,useValue:Qd},{provide:gR,useClass:hR},{provide:mR,useClass:kR},...Ure];let Jre=(()=>{class o{static forRoot(e){return{ngModule:o,providers:[...Xre,{provide:AD,useValue:e.siteUri},{provide:nR,useValue:e.cacheEnabled??!0},{provide:iR,useValue:e.credentials??"include"},{provide:aR,useValue:e.loginRedirectPath??"/auth/login"}]}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[RI]}),o})(),TR=(()=>{class o{constructor(){this.year=(new Date).getFullYear()}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-footer"]],decls:10,vars:1,consts:[[1,"footer-bar"],[2,"color","white","margin-left","10px"],[2,"float","right"],["href","https://app.termly.io/document/cookie-policy/336875cf-0e08-4eb8-ba28-83bc9c0806c1","target","_blank",2,"margin-right","10px","color","white"],["href","https://app.termly.io/document/terms-of-use-for-saas/90eaf71a-610a-435e-95b1-c94b808f8aca","target","_blank",2,"margin-right","10px","color","white"],["href","https://app.termly.io/document/privacy-policy/fb547f70-fe4e-43d6-9a28-15d403e4c720","target","_blank",2,"margin-right","10px","color","white"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"span",1),v(2),u(),d(3,"div",2)(4,"a",3),v(5,"Cookie"),u(),d(6,"a",4),v(7,"T&C"),u(),d(8,"a",5),v(9,"Privacy"),u()()()),2&e&&(p(2),ce("\xa9 ",r.year," Software Logistics"))},styles:[".footer-bar[_ngcontent-%COMP%]{position:fixed;bottom:0;width:100%;height:36px;background-color:#00000080;padding:5px;z-index:1000}@media (max-width: 480px){.footer-bar[_ngcontent-%COMP%]{display:none}}.footer-bar-no-scroll[_ngcontent-%COMP%]{width:100%;height:36px;background-color:#00000080;padding:5px}"]}),o})();function Qre(o,t){1&o&&P(0,"div",7)}function eoe(o,t){1&o&&(d(0,"div",8),P(1,"img",9)(2,"br"),d(3,"div"),v(4,"Please Wait"),u()())}let FR=(()=>{class o{constructor(e,r){this.isBusy=!1,this.logo=He.logo??"https://www.nuviot.com/images/nuviot-blue.png",this._onBeginCall=e.onCallBegin().subscribe(n=>{window.setTimeout(()=>{this.isBusy=!0},50)}),this._onEndCall=e.onCallEnd().subscribe(n=>{window.setTimeout(()=>{this.isBusy=!1},50)}),this._onBeginCall_NextGen=r.services.network.onCallBegin().subscribe(n=>{window.setTimeout(()=>{this.isBusy=!0},50)}),this._onEndCall_NextGen=r.services.network.onCallEnd().subscribe(n=>{window.setTimeout(()=>{this.isBusy=!1},50)})}ngOnDestroy(){this._onBeginCall.unsubscribe(),this._onEndCall.unsubscribe(),this._onBeginCall_NextGen.unsubscribe(),this._onEndCall_NextGen.unsubscribe()}}return o.\u0275fac=function(e){return new(e||o)(O(Lm),O(LD))},o.\u0275cmp=ne({type:o,selectors:[["app-auth-container"]],decls:9,vars:3,consts:[[1,"auth-page"],["data-testid","auth-host",1,"auth-card"],[1,"auth-header"],[1,"logo-img",3,"src"],[1,"auth-body","auth-screen"],["class","busyMask",4,"ngIf"],["class","busyMsg","aria-live","polite",4,"ngIf"],[1,"busyMask"],["aria-live","polite",1,"busyMsg"],["src","https://nuviot.blob.core.windows.net/cdn/ajax-loader.gif"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"header",2),P(3,"img",3),u(),d(4,"main",4),P(5,"router-outlet"),u()(),b(6,Qre,1,0,"div",5),b(7,eoe,5,0,"div",6),u(),P(8,"app-footer")),2&e&&(p(3),g("src",r.logo,Zo),p(3),g("ngIf",r.isBusy),p(1),g("ngIf",r.isBusy))},dependencies:[ve,Fy,TR],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();let eu=(()=>{class o{constructor(e,r){this.nuviotClient=e,this.cookieService=r}addModule(e){return this.nuviotClient.post("/api/module",e)}updateModule(e){return this.nuviotClient.update("/api/module",e)}getAllModules(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/modules")})()}getFullAppTreeForUserAsync(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/modules/tree")})()}getModules(e=!0){var r=this;return E(function*(){return yield r.nuviotClient.request("/api/modules/my",e)})()}getModulesForUser(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/modules/user/${e}`,!1)})()}getUserModule(e,r=!0){var n=this;return E(function*(){return yield n.nuviotClient.request(`/api/module/${e}/my`,r)})()}getModuleForUser(e,r){var n=this;return E(function*(){return yield n.nuviotClient.request(`/api/module/${e}/user/${r}`)})()}getModule(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/module/${e}`)})()}removeModule(e){var r=this;return E(function*(){return yield r.nuviotClient.delete(`/api/module/${e}`)})()}createModule(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/module/factory")})()}createArea(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/module/area/factory")})()}createCategory(e){return this.nuviotClient.request(`/api/category/${e}/factory`)}getCategory(e){return this.nuviotClient.request(`/api/category/${e}`)}getCategories(e){return this.nuviotClient.getListResponse(`/api/categories/${e}`)}addCategory(e){return this.nuviotClient.post("/api/category",e)}updateCategory(e){return this.nuviotClient.update("/api/category",e)}moveUp(e,r){var n=this;return E(function*(){return yield n.nuviotClient.get(`/api/module/moveup/${e}/${r}`)})()}moveDown(e,r){var n=this;return E(function*(){return yield n.nuviotClient.get(`/api/module/movedown/${e}/${r}`)})()}getLogs(e){var r=this;return E(function*(){return yield r.nuviotClient.getListResponse(e)})()}getArea(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/module/area/factory");return n.model=e,n.isEditing=!0,n})()}createPage(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/module/page/factory")})()}getPage(e){var r=this;return E(function*(){var n=yield r.nuviotClient.getFormResponse("/api/module/page/factory");return n.model=e,n.isEditing=!0,n})()}createFeature(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/module/feature/factory")})()}getFeature(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/module/feature/factory");return n.model=e,n.isEditing=!0,n})()}getModuleAreasByKey(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/module/${e}/areas`)})()}getPagesByKey(e,r){var n=this;return E(function*(){return yield n.nuviotClient.request(`/api/module/${e}/area/${r}/pages`)})()}getSysAllModulesForOrg(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/sys/api/modules/${e}/all`)})()}getSysAllModules(){var e=this;return E(function*(){return yield e.nuviotClient.request("/sys/api/modules/all")})()}getRoles(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/sys/roles")})()}getAssignableRoles(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/sys/roles/assignable")})()}addRole(e){var r=this;return E(function*(){return yield r.nuviotClient.post("/api/sys/role",e)})()}updateRole(e){var r=this;return E(function*(){return yield r.nuviotClient.update("/api/sys/role",e)})()}getRole(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/sys/role/${e}`)})()}newRole(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/sys/role/factory")})()}getRoleAccess(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/sys/role/${e}/access`)})()}newRoleAccess(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/sys/role/${e}/access/factory`)})()}addRoleAccess(e){var r=this;return E(function*(){return yield r.nuviotClient.post("/api/sys/role/access",e)})()}removeRoleAccess(e){var r=this;return E(function*(){return yield r.nuviotClient.delete(`/api/sys/role/access/${e}`)})()}getRoleAccessForModule(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/sys/role/access/module/${e}`)})()}getRoleAccessForArea(e,r){var n=this;return E(function*(){return yield n.nuviotClient.request(`/api/sys/role/access/module/${e}/area/${r}`)})()}getRoleAccessForPage(e,r,n){var i=this;return E(function*(){return yield i.nuviotClient.request(`/api/sys/role/access/module/${e}/area/${r}/page/${n}`)})()}getRoleAccessForModuleFeature(e,r){var n=this;return E(function*(){return yield n.nuviotClient.request(`/api/sys/role/access/module/${e}/feature/${r}`)})()}getRoleAccessForAreaFeature(e,r,n){var i=this;return E(function*(){return yield i.nuviotClient.request(`/api/sys/role/access/module/${e}/area/${r}/feature/${n}`)})()}getRoleAccessForPageFeature(e,r,n,i){var a=this;return E(function*(){return yield a.nuviotClient.request(`/api/sys/role/access/module/${e}/area/${r}/page/${n}/feature/${i}`)})()}getProductLines(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/productlines")})()}getProductLine(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/productline/${e}`)})()}createProductLine(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/productline/factory")})()}createToDoTemplate(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/productline/todotemplate/factory")})()}createProductLineObject(){var e=this;return E(function*(){return yield e.nuviotClient.request("/api/productline/object/factory")})()}addProductLine(e){var r=this;return E(function*(){return r.nuviotClient.post("/api/productline",e)})()}updateProductLine(e){var r=this;return E(function*(){return r.nuviotClient.update("/api/productline",e)})()}deleteProductLine(e){var r=this;return E(function*(){return yield r.nuviotClient.delete(`/api/productline/${e}`)})()}addFunctionMap(e){return this.nuviotClient.post("/api/function/map",e)}updateFunctionMap(e){return this.nuviotClient.update("/api/function/map",e)}getFunctionMap(e){return this.nuviotClient.getFormResponse(`/api/function/map/${e}`)}getFunctionMapByKey(e){return this.nuviotClient.getFormResponse(`/api/function/map/key/${e}`)}getTopLevelFunctionMap(){return this.nuviotClient.getFormResponse("/api/function/map/root")}deleteFunctionMap(e){return this.nuviotClient.delete(`/api/function/map/${e}`)}createFunctionMap(){return this.nuviotClient.getFormResponse("/api/function/map/factory")}createFunctionMapFunction(){return this.nuviotClient.getFormResponse("/api/function/map/function/factory")}editFunctionMapFunction(e){var r=this;return E(function*(){let n=yield r.createFunctionMapFunction();return n.model=e,n.isEditing=!0,n})()}getBackgroundTaskStatus(){return this.nuviotClient.request("/api/diagnostics/hostedservices/local")}getClusterTaskStatus(){return this.nuviotClient.request("/api/diagnostics/hostedservices/cluster")}saveFunctionMap(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateFunctionMap(e.model);{let n=r.addFunctionMap(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}getFunctionMaps(){return this.nuviotClient.getListResponse("/api/function/maps")}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft),Z(iD))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),tf=(()=>{class o{transform(e){if(e){const r=new Date(e);return`${r.toLocaleDateString()} ${r.toLocaleTimeString()}`}return"-"}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=ur({name:"dateTimePrinter",type:o,pure:!0}),o})();function toe(o,t){if(1&o&&(d(0,"li"),v(1),u()),2&o){const e=t.$implicit;p(1),ae(e)}}function roe(o,t){if(1&o&&(d(0,"li")(1,"div")(2,"span",5),v(3,"Area Feature: "),u(),v(4),u(),d(5,"div"),v(6),u()()),2&o){const e=t.$implicit,r=m(2).$implicit,n=m(3);p(4),cl(" ",n.module.key,"/",r.key,"/",e.key,""),p(2),YC("(",e.key,") (",1==e.userAccess.create?"Create":"","",1==e.userAccess.read?", Read":"","",1==e.userAccess.update?", Update":"","",1==e.userAccess.delete?", Delete":"",")")}}function ooe(o,t){if(1&o&&(d(0,"div"),b(1,roe,7,8,"li",3),u()),2&o){const e=m().$implicit;p(1),g("ngForOf",e.features)}}function noe(o,t){if(1&o&&(d(0,"li")(1,"div")(2,"span",5),v(3,"Page Feature:"),u(),v(4),u(),d(5,"div"),v(6),u()()),2&o){const e=t.$implicit,r=m().$implicit,n=m(2).$implicit,i=m(3);p(4),Td(" ",i.module.key,"/",n.key,"/",r.key,"/",e.key,""),p(2),Td("(",1==e.userAccess.create?"Create":"","",1==e.userAccess.read?", Read":"","",1==e.userAccess.update?", Update":"","",1==e.userAccess.delete?", Delete":"",")")}}function ioe(o,t){if(1&o&&(d(0,"li")(1,"div")(2,"span",5),v(3,"Page:"),u(),v(4),u(),d(5,"span"),v(6),u(),d(7,"ol"),b(8,noe,7,8,"li",3),u()()),2&o){const e=t.$implicit,r=m(2).$implicit,n=m(3);p(4),cl(" ",n.module.key,"/",r.key,"/",e.key,""),p(2),Td("(",1==e.userAccess.create?"Create":"","",1==e.userAccess.read?", Read":"","",1==e.userAccess.update?", Update":"","",1==e.userAccess.delete?", Delete":"",")"),p(2),g("ngForOf",e.features)}}function aoe(o,t){if(1&o&&(d(0,"div"),b(1,ioe,9,8,"li",3),u()),2&o){const e=m().$implicit;p(1),g("ngForOf",e.pages)}}function soe(o,t){if(1&o&&(d(0,"li",7)(1,"div")(2,"span",5),v(3,"Area: "),u(),v(4),u(),d(5,"span"),v(6),u(),d(7,"ol",7),b(8,ooe,2,1,"div",4),b(9,aoe,2,1,"div",4),u()()),2&o){const e=t.$implicit,r=m(3);p(4),Eo("",r.module.key,"/",e.key,""),p(2),Td("(",1==e.userAccess.create?"Create":"","",1==e.userAccess.read?", Read":"","",1==e.userAccess.update?", Update":"","",1==e.userAccess.delete?", Delete":"",")"),p(2),g("ngIf",e.features.length>0),p(1),g("ngIf",e.pages.length>0)}}function loe(o,t){if(1&o&&(d(0,"ol")(1,"div")(2,"span",5),v(3,"Module:"),u(),v(4),u(),d(5,"span"),v(6),u(),d(7,"div"),b(8,soe,10,8,"li",6),u()()),2&o){const e=m(2);p(4),ce(" ",e.module.key,""),p(2),Td("(",1==e.module.userAccess.create?"Create":"","",1==e.module.userAccess.read?", Read":"","",1==e.module.userAccess.update?", Update":"","",1==e.module.userAccess.delete?", Delete":"",")"),p(2),g("ngForOf",e.module.areas)}}function coe(o,t){if(1&o&&(d(0,"li"),v(1),u()),2&o){const e=t.$implicit;p(1),ae(e)}}function doe(o,t){if(1&o&&(d(0,"table",2)(1,"tr")(2,"td"),v(3,"Version:"),u(),d(4,"td"),v(5),u()(),d(6,"tr")(7,"td"),v(8,"Build Date:"),u(),d(9,"td"),v(10),xr(11,"dateTimePrinter"),u()(),d(12,"tr")(13,"td"),v(14,"User:"),u(),d(15,"td"),v(16),u()(),d(17,"tr")(18,"td"),v(19,"Email:"),u(),d(20,"td"),v(21),u()(),d(22,"tr")(23,"td"),v(24,"Roles:"),u(),d(25,"td")(26,"ul"),b(27,toe,2,1,"li",3),u()()(),d(28,"tr")(29,"td"),v(30,"Module Access"),u(),d(31,"td"),b(32,loe,9,6,"ol",4),u()(),d(33,"tr")(34,"td"),v(35,"Claims:"),u(),d(36,"td")(37,"ul"),b(38,coe,2,1,"li",3),u()()()()),2&o){const e=m();p(5),ae(e.versionNumber),p(5),ae(Dr(11,8,e.buildDate)),p(6),Eo("",e.user.firstName," ",e.user.lastName,""),p(5),ae(e.user.email),p(6),g("ngForOf",e.roles),p(5),g("ngIf",e.module),p(6),g("ngForOf",e.claims)}}let uoe=(()=>{class o{constructor(e,r){this.adminService=e,this.userService=r}ngOnInit(){var e=this;return E(function*(){e.versionNumber="4.0.3312.0656",e.buildDate="2026-06-11T10:56:51Z",yield e.userService.getCurrentOrg(),e.user=yield e.userService.getUser(),e.module=yield e.adminService.getUserModule(He.moduleRouteHome),e.claims=yield e.userService.getClaims(),e.roles=yield e.userService.getRoles()})()}}return o.\u0275fac=function(e){return new(e||o)(O(eu),O(uo))},o.\u0275cmp=ne({type:o,selectors:[["app-about"]],decls:4,vars:1,consts:[[1,"container"],["class","info",4,"ngIf"],[1,"info"],[4,"ngFor","ngForOf"],[4,"ngIf"],[2,"font-weight","bold"],["style","margin-left:20px",4,"ngFor","ngForOf"],[2,"margin-left","20px"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"h4"),v(2,"About"),u(),b(3,doe,39,10,"table",1),u()),2&e&&(p(3),g("ngIf",r.user))},dependencies:[gt,ve,tf],styles:["table[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-weight:700}table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-weight:700;width:200px;vertical-align:top}li[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;line-height:1.5}"]}),o})(),poe=(()=>{class o{constructor(e){this.http=e,this.snapshotSubject=new Jr(null),this.lastFetchMs=0,this.ttlMs=6e4}get snapshot$(){return this.snapshotSubject.asObservable()}getSnapshotCached(){return this.snapshotSubject.value}setSnapshot(e){this.snapshotSubject.next(e),this.lastFetchMs=Date.now()}invalidate(){this.snapshotSubject.next(null),this.lastFetchMs=0}ensureFreshSnapshot(){const e=this.snapshotSubject.value;return e&&Date.now()-this.lastFetchMsthis.setSnapshot(i)))}}return o.\u0275fac=function(e){return new(e||o)(Z(Es))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),goe=(()=>{class o{constructor(e,r,n){this.auth=e,this.router=r,this.svcContext=n}canActivate(e,r){const n=r.url;return"/auth"===n||"/auth/"===n?this.auth.ensureFreshSnapshot().pipe(bn(a=>Co(this.svcContext.mgrs.userManager.getPrimaryLoginSeed()).pipe(Je(s=>{console.log("AuthEntryGuard snapshot",a,"seed",s);const l=function hoe(o){return o.a?o.emailVerificationPending?"/auth/email/sendlink":o.a&&o.e&&!o.o?"/auth/org/createdefault":o.profileComplete?null:"/auth/register":null}(a);return this.router.parseUrl(l||(s?.email?"/auth/welcome/back":"/auth/welcome"))}))),Fs(a=>(console.warn("AuthEntryGuard error",a),Xe(this.router.parseUrl("/auth/welcome"))))):Xe(!0)}}return o.\u0275fac=function(e){return new(e||o)(Z(poe),Z(qr),Z(_r))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),moe=(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-auth-entry"]],decls:2,vars:0,template:function(e,r){1&e&&(d(0,"p"),v(1," auth-entry works!\n"),u())}}),o})();function foe(o,t){if(1&o){const e=j();d(0,"button",13),T("click",function(){return F(e),S(m().continuePasskey())}),P(1,"i",14),d(2,"span",9),v(3,"Continue with Passkey"),u()()}}let _oe=(()=>{class o{constructor(e,r){this.navService=e,this.userService=r,this.passkeysAvailable=!!window.PublicKeyCredential,this.logo=He.logo??"https://www.nuviot.com/images/nuviot-blue.png"}ngOnInit(){var e=this;return E(function*(){yield e.userService.logout(!1)})()}continueEmail(){this.navService.goto(["auth","continue","email"])}continueProvider(){this.navService.goto(["auth","continue","provider"])}continuePasskey(){this.navService.goto(["auth","continue","passkey"])}}return o.\u0275fac=function(e){return new(e||o)(O(Yd),O(uo))},o.\u0275cmp=ne({type:o,selectors:[["app-auth-welcome"]],decls:18,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.welcome"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-shield-halved"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["data-testid","action:continue-email","type","button",1,"auth-btn","auth-btn--primary",3,"click"],[1,"auth-btn__icon","fa-solid","fa-envelope"],[1,"auth-btn__label"],["data-testid","action:continue-provider","type","button",1,"auth-btn",3,"click"],[1,"auth-btn__icon","fa-solid","fa-right-left"],["class","auth-btn","data-testid","action:continue-passkey","type","button",3,"click",4,"ngIf"],["data-testid","action:continue-passkey","type","button",1,"auth-btn",3,"click"],[1,"auth-btn__icon","fa-solid","fa-key"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Welcome"),u(),d(6,"p",5),v(7,"Choose how you\u2019d like to continue."),u()(),d(8,"div",6)(9,"button",7),T("click",function(){return r.continueEmail()}),P(10,"i",8),d(11,"span",9),v(12,"Continue with Email"),u()(),d(13,"button",10),T("click",function(){return r.continueProvider()}),P(14,"i",11),d(15,"span",9),v(16,"Continue with a provider"),u()(),b(17,foe,4,0,"button",12),u()()),2&e&&(p(17),g("ngIf",r.passkeysAvailable))},dependencies:[ve],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}.blade[_ngcontent-%COMP%]{border:1px solid var(--color-border-panel);overflow:hidden;width:500px}.blade-content[_ngcontent-%COMP%]{border:1px solid var(--color-border-panel);overflow-y:auto;width:500px;height:calc(100vh - 180px)}.blade-diagram[_ngcontent-%COMP%]{border:1px solid var(--color-border-panel);overflow:hidden;height:calc(100vh - 84px)}.blade-header[_ngcontent-%COMP%]{border-bottom:1px solid var(--color-panel-border);background-color:var(--color-bg-panel-header);padding:6px 6px 6px 16px}.blade-header[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700;color:var(--color-fg-panel-header)}.blade-actions[_ngcontent-%COMP%]{text-align:right;right:0;float:right;flex-grow:1}.blade-actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:4pt;color:var(--color-fg-panel-header)}.blade-actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{cursor:pointer}.blade-actions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:8pt;border-radius:4pt;margin:4pt;color:var(--color-fg-panel-header);cursor:pointer}.blade-actions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{color:var(--color-fg-panel-header-active)}html[_ngcontent-%COMP%]{height:100%;height:100vh}body[_ngcontent-%COMP%]{font:100% Helvetica,sans-serif;color:var(--color-fg);margin:0;height:100%;width:100%}.main-icon[_ngcontent-%COMP%]{width:400px;height:122px;margin-top:100px}.action-inline[_ngcontent-%COMP%]{color:var(--color-nav-link)!important;cursor:pointer!important;text-decoration:none}.action-inline[_ngcontent-%COMP%]:hover{color:var(--color-nav-link-active)!important}.action[_ngcontent-%COMP%], .action-large[_ngcontent-%COMP%]{color:var(--color-nav-link)!important;cursor:pointer!important;margin-right:5px;text-decoration:none;padding:5px 8px;border-radius:4px}.action-favorite[_ngcontent-%COMP%]{color:gold!important;cursor:pointer!important;text-decoration:none}.action[_ngcontent-%COMP%]:hover, .action-large[_ngcontent-%COMP%]:hover{color:var(--color-nav-link-active)!important}.action[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .action-large[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:4pt}.action-danger[_ngcontent-%COMP%]{color:var(--color-danger)!important;cursor:pointer!important;margin-right:5px;margin-left:10px;padding:5px;border-radius:4px}.action-large[_ngcontent-%COMP%]{font-size:18pt}.btn-full-size[_ngcontent-%COMP%]{width:160px;height:40px;font-size:16pt;padding:4px;font-weight:700;margin:4pt}.btn-brand[_ngcontent-%COMP%]{background-color:var(--color-primary-button);color:var(--color-filled-button-text)}@media screen and (min-width: 768px){.panel[_ngcontent-%COMP%]{overflow:hidden}}@media screen and (max-width: 480px){.panel[_ngcontent-%COMP%]{overflow:hidden}}.png[_ngcontent-%COMP%] servanel-header[_ngcontent-%COMP%]{height:40px;padding:6px 6px 6px 16px}.panel-header[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700;display:block!important}.panel-content[_ngcontent-%COMP%]{clear:both;padding:6px;color:var(--color-fg-panel)}.panel-actions[_ngcontent-%COMP%]{position:sticky;top:0;text-align:right;right:0;background-color:#000;flex-grow:1;padding:3px;cursor:pointer;color:var(--color-nav-link)!important;z-index:100}.panel-actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:4pt}.panel-actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{cursor:pointer;color:var(--color-nav-link-active)!important}.panel-actions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:8pt;border-radius:4pt;margin:4pt;cursor:pointer}.form-command-bar[_ngcontent-%COMP%]{position:sticky;top:0;z-index:100;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;min-height:2rem;padding:.2rem .5rem;background:var(--color-bg-panel);border-bottom:1px solid var(--color-border-panel);box-shadow:0 1px 3px var(--color-shadow-panel)}.form-command-bar__labels[_ngcontent-%COMP%]{min-width:0}.form-command-bar__actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.25rem}.form-command-bar__action[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--color-fg-panel-link);cursor:pointer;font:inherit;font-size:.875rem;line-height:1;padding:.3rem .55rem}.form-command-bar__action[_ngcontent-%COMP%]:hover{background:var(--color-bg-panel-active);border-color:var(--color-border-panel);color:var(--color-fg-panel-link-active)}.form-command-bar__action[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:.875rem}.form-command-bar__action--primary[_ngcontent-%COMP%]{background:var(--color-primary-button);border-color:var(--color-primary-button);color:var(--color-filled-button-text)}.form-command-bar__action--primary[_ngcontent-%COMP%]:hover{background:var(--color-primary-button-hover);border-color:var(--color-primary-button-hover);color:var(--color-filled-button-text)}.form-command-bar__dirty[_ngcontent-%COMP%]{font-weight:800;margin-left:.125rem}.panel-footer[_ngcontent-%COMP%]{padding:10px;align-content:right;border-top:1px solid var(--color-fg-panel)}.panel-title[_ngcontent-%COMP%]{font-size:16pt;font-weight:700;float:left}@media (max-width: 900px){.form-command-bar[_ngcontent-%COMP%]{grid-template-columns:1fr;align-items:stretch}.form-command-bar__actions[_ngcontent-%COMP%]{justify-content:flex-start}}.nv-hor-menu[_ngcontent-%COMP%]{margin-top:6px}.nv-hor-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-right:20px}.org-info[_ngcontent-%COMP%]{color:var(--color-nav-link-active)}.nv-app-header[_ngcontent-%COMP%]{color:var(--color-fg-menu);background-color:var(--color-bg-menu);height:60px;width:100%;border-bottom:2px solid var(--color-border-panel)}.nv-app-header[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{padding-right:.5rem}.nv-app-header[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style:none;padding:0}.nv-app-header[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline;margin-left:0;font-size:16pt}.nv-app-header[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--color-fg-menu-active)}.nv-app-header[_ngcontent-%COMP%] .nv-app-header-left[_ngcontent-%COMP%]{float:left;margin-left:10px}.nv-app-header[_ngcontent-%COMP%] .nv-app-header-right[_ngcontent-%COMP%]{float:right;margin-right:10px;height:32px}.task-search-bar[_ngcontent-%COMP%]{float:left;width:80%;height:32px;margin-bottom:10px}.search-button[_ngcontent-%COMP%]{float:right;padding:5px;margin-left:2px;height:32px;color:var(--color-main-icon);background-color:var(--color-primary-button);border-radius:4px}.dashboard-widget[_ngcontent-%COMP%]{margin-right:1em;clear:right;float:left;position:absolute;left:0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;width:100%;height:100%}.dashboard-widget.animate[_ngcontent-%COMP%]{transition:all .5s ease-out}.dashboard-widget.active[_ngcontent-%COMP%]{z-index:100000}.cdk-overlay-container[_ngcontent-%COMP%]{z-index:12000}.btn-container[_ngcontent-%COMP%]{margin:50% 0%}.demo[_ngcontent-%COMP%]{touch-action:none}.telem[_ngcontent-%COMP%] tr.telem-hdr[_ngcontent-%COMP%]{background-color:var(--color-bg-panel-header)}.telem[_ngcontent-%COMP%] tr.telem-hdr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:12px;border-color:var(--color-fg-panel-header);border-style:solid;border-width:1px;border-collapse:separate;color:var(--color-fg-panel-header);padding:2px}.telem[_ngcontent-%COMP%] tr.telem-row[_ngcontent-%COMP%]{font-family:Lucida Console,Monaco,monospace;font-size:12px;border-bottom-color:#c5cbd1}.telem[_ngcontent-%COMP%] tr.telem-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:2px;padding-left:2px;color:var(--color-fg)}.mat-tab-label-content[_ngcontent-%COMP%]{color:var(--color-fg)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:var(--color-primary)!important}.container[_ngcontent-%COMP%]{margin-left:0!important;margin-right:0!important}@media screen and (min-width: 1024px){.full-view-flex[_ngcontent-%COMP%]{display:flex!important;flex-wrap:wrap!important}.full-view[_ngcontent-%COMP%]{display:visible!important}.tablet-view-flex[_ngcontent-%COMP%], .tablet-view[_ngcontent-%COMP%], .phone-view[_ngcontent-%COMP%]{display:none!important}}@media screen and (min-width: 481px) and (max-width: 1023px){.tablet-view-flex[_ngcontent-%COMP%]{display:flex!important;flex-wrap:wrap!important}.full-view-flex[_ngcontent-%COMP%], .full-view[_ngcontent-%COMP%], .phone-view[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width: 480px){.phone-view[_ngcontent-%COMP%]{display:visible!important}.full-view-flex[_ngcontent-%COMP%], .full-view[_ngcontent-%COMP%], .tablet-view-flex[_ngcontent-%COMP%], .tablet-view[_ngcontent-%COMP%]{display:none!important}}@media screen and (min-width: 1024px){.router-container[_ngcontent-%COMP%]{max-width:1800px}}a.child-term[_ngcontent-%COMP%]{color:var(--color-nav-link)!important;text-decoration:none;font-weight:700}a.child-term[_ngcontent-%COMP%]:hover{color:var(--color-nav-link-active)!important;text-decoration:underline}.busyMsg[_ngcontent-%COMP%]{color:#fff;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1000;font-size:16pt}.busyMask[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5;z-index:999}.icon-image[_ngcontent-%COMP%]{border-radius:25%}.srcConnectorEp[_ngcontent-%COMP%]{position:absolute;bottom:46%;right:-5px;width:1em;height:1em;background-color:orange;cursor:pointer;box-shadow:0 0 2px #000;transition:box-shadow .25s ease-in}.diagram-container[_ngcontent-%COMP%]{background-color:var(--color-bg);position:relative;height:calc(100vh - 305px);width:calc(100vw - 70px);top:0;border:1px solid gray;overflow:auto}.diagram-node[_ngcontent-%COMP%]:hover{background-color:#5c96bc;color:#fff}.ep[_ngcontent-%COMP%]:hover{box-shadow:0 0 6px #000}.dragHover[_ngcontent-%COMP%]{border:2px solid orange}.node-name[_ngcontent-%COMP%]{color:var(--color-primary)}path[_ngcontent-%COMP%], .jtk-endpoint[_ngcontent-%COMP%]{cursor:pointer}div.mention-card[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex-grow:1}div.mention-card[_ngcontent-%COMP%], .tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%]{width:240px;display:flex;background:white;border:1px solid #ccc;border-radius:3px;box-shadow:0 4px 8px #222f3e1a;padding:8px;font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}div.mention-card[_ngcontent-%COMP%]:after, .tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%]:after{content:"";clear:both;display:table}div.mention-card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin:0 0 8px;padding:0;line-height:normal;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}div.mention-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%] img.avatar[_ngcontent-%COMP%], div.mention-card[_ngcontent-%COMP%] img.avatar[_ngcontent-%COMP%]{width:48px;height:48px;margin-right:8px;float:left}.save-bar[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:5px}.save-bar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child{margin-right:10px}.save-bar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child .btn[_ngcontent-%COMP%]{margin:0}.button-block[_ngcontent-%COMP%]{display:block;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center}@media screen and (max-width: 480px){.button-block[_ngcontent-%COMP%]{display:block;clear:both}}@media screen and (min-width: 481px) and (max-width: 1023px){.button-block[_ngcontent-%COMP%]{display:block;clear:both}}@media screen and (max-width: 480px){.desc-text[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 481px) and (max-width: 1023px){.desc-text[_ngcontent-%COMP%]{display:none}}.login-block[_ngcontent-%COMP%]{border:1px solid #ccc;border-radius:30px;padding:20px;height:200px;width:33%;margin:20px;text-align:center;background-color:#f0f0f0;font-weight:700;flex-direction:column;justify-content:flex-end}@media screen and (max-width: 480px){.login-block[_ngcontent-%COMP%]{display:flex;clear:both;height:170px;width:100%;margin:10px;align-items:center;justify-content:center;background-color:#f0f0f0;font-weight:700;padding:5px}}@media screen and (min-width: 481px) and (max-width: 1023px){.login-block[_ngcontent-%COMP%]{display:flex;clear:both;height:170px;width:100%;margin:10px;align-items:center;justify-content:center;background-color:#f0f0f0;font-weight:700}}.login-block[_ngcontent-%COMP%]:hover{background-color:#f9f9f9;cursor:pointer;color:#494949!important;border-radius:50px;border-color:#494949!important;transition:all .3s ease 0s}.bottom-container[_ngcontent-%COMP%] .action[_ngcontent-%COMP%]:hover, .bottom-container[_ngcontent-%COMP%] .action-large[_ngcontent-%COMP%]:hover{background-color:#f9f9f9;cursor:pointer;color:#494949!important;border-radius:50px;border-color:#494949!important;transition:all .3s ease 0s;text-decoration:underline}.login-block[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}a[_ngcontent-%COMP%]{margin-bottom:30px}','[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),voe=(()=>{class o{constructor(e){this.svcContext=e,this.isLoading=!0}ngOnInit(){this.load()}load(){var e=this;return E(function*(){try{e.primaryEmail=(yield e.svcContext.mgrs.userManager.getPrimaryLoginSeed())?.email??null}finally{e.isLoading=!1}})()}continue(){this.svcContext.services.navigation.goto(["auth","continue","email","password"])}useDifferentEmail(){this.svcContext.services.navigation.goto(["auth","continue","email"])}clearRemembered(){var e=this;return E(function*(){yield e.svcContext.mgrs.userManager.clearAllLoginSeeds(),e.svcContext.services.navigation.goto(["auth","welcome"])})()}startOver(){this.svcContext.services.navigation.goto(["auth","welcome"])}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-auth-welcome-back"]],decls:26,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.welcome.back"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-user-check"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["data-testid","action:continue","type","button",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-arrow-right"],["data-testid","action:use-different-email","type","button",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-user-pen"],["data-testid","action:clear-remembered","type","button",1,"auth-btn",3,"click"],[1,"fa-solid","fa-trash"],["data-testid","action:start-over","type","button",1,"auth-linkbtn",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Welcome back"),u(),d(6,"p",5),v(7," Continue as "),d(8,"strong"),v(9),u(),v(10,". "),u()(),d(11,"div",6)(12,"button",7),T("click",function(){return r.continue()}),P(13,"i",8),d(14,"span"),v(15,"Continue"),u()(),d(16,"button",9),T("click",function(){return r.useDifferentEmail()}),P(17,"i",10),d(18,"span"),v(19,"Use a different email"),u()(),d(20,"button",11),T("click",function(){return r.clearRemembered()}),P(21,"i",12),d(22,"span"),v(23,"Clear remembered sign-ins"),u()(),d(24,"button",13),T("click",function(){return r.startOver()}),v(25,"Start over"),u()()()),2&e&&(p(9),ae(r.primaryEmail||"a different user"))},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),yoe=(()=>{class o{constructor(e){this.navService=e,this.isBusy=!1,this._inviteId=null}ngOnInit(){const e=r=>{r.origin===new URL(He.siteUri).origin&&"oauth-complete"===r.data?.type&&(window.removeEventListener("message",e),this.isBusy=!1)};window.addEventListener("message",e)}openCenteredPopup(e,r,n=520,i=720){const a=window.screenLeft??window.screenX??0,s=window.screenTop??window.screenY??0,l=window.innerWidth||document.documentElement.clientWidth||screen.width,c=window.innerHeight||document.documentElement.clientHeight||screen.height,h=Math.max(0,(l-n)/2+a),_=Math.max(0,(c-i)/2+s),C=`scrollbars=yes,resizable=yes,width=${n},height=${i},top=${Math.floor(_)},left=${Math.floor(h)}`;return window.open(e,r,C)}choose(e){this.isBusy=!0,this.returnUrl?.toLowerCase().startsWith("/api")&&(this.returnUrl=`/${He.moduleRouteHome}`);let r=`${He.siteUri}/account/login/oauth/${e}`;const n=[];this._inviteId?n.push(`inviteId=${encodeURIComponent(this._inviteId)}`):this.returnUrl&&n.push(`returnUrl=${encodeURIComponent(this.returnUrl)}`),n.push("popup=1"),n.length>0&&(r+=`?${n.join("&")}`);const i=`${window.location.origin}/auth/oauth/popup-start?target=${encodeURIComponent(r)}`,a=this.openCenteredPopup(i,"oauth",520,720);if(!a){this.isBusy=!1;let c=`${He.siteUri}/account/login/oauth/${e}`;const h=[];return this._inviteId?h.push(`inviteId=${encodeURIComponent(this._inviteId)}`):this.returnUrl&&h.push(`returnUrl=${encodeURIComponent(this.returnUrl)}`),h.length>0&&(c+=`?${h.join("&")}`),void(window.location.href=c)}const s=window.location.origin,l=c=>{if(c.origin!==s||"oauth-complete"!==c.data?.type)return;console.log("got my message!",c.data),window.removeEventListener("message",l),this.isBusy=!1;const h="string"==typeof c.data?.code&&c.data.code.length>0?c.data.code:null;let _="string"==typeof c.data?.next&&c.data.next.startsWith("/")?c.data.next:this.returnUrl??`/${He.moduleRouteHome}`;if(h){const C=_.includes("?")?"&":"?";_=`${_}${C}err=${encodeURIComponent(h)}`}this.navService.gotoPath(_)};window.addEventListener("message",l),a.location.href=r}emailLogin(){this.navService.goto(["auth","continue","email"])}cancel(){this.navService.goto(["auth","welcome"])}back(){this.navService.goto(["auth","welcome"])}startOver(){this.navService.goto(["auth","welcome"])}}return o.\u0275fac=function(e){return new(e||o)(O(Yd))},o.\u0275cmp=ne({type:o,selectors:[["app-continue-provider"]],decls:60,vars:0,consts:[["data-testid","auth-screen","data-screen-id","auth.continue.provider"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-right-left"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["role","button","tabindex","0","data-testid","action:oauth-github","data-testid","action:oauth-github",1,"auth-choice",3,"click"],[1,"auth-choice__icon"],[1,"fa-brands","fa-github"],[1,"auth-choice__text"],[1,"auth-choice__title"],[1,"auth-choice__subtitle"],["role","button","tabindex","0","data-testid","action:oauth-microsoft","data-testid","action:oauth-microsoft",1,"auth-choice",3,"click"],[1,"fa-brands","fa-microsoft"],["role","button","tabindex","0","data-testid","action:oauth-google","data-testid","action:oauth-google",1,"auth-choice",3,"click"],[1,"fa-brands","fa-google"],["role","button","tabindex","0","data-testid","action:oauth-linkedin","data-testid","action:oauth-linkedin",1,"auth-choice",3,"click"],[1,"fa-brands","fa-linkedin"],["role","button","tabindex","0","data-testid","action:oauth-twitter","data-testid","action:oauth-twitter",1,"auth-choice",3,"click"],[1,"fa-brands","fa-twitter"],[1,"auth-divider"],[1,"auth-divider-text"],["data-testid","action:login-email","type","button",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-envelope"],["type","button","data-testid","action:cancel","data-testid","action:cancel",1,"auth-btn",3,"click"],[1,"fa-solid","fa-arrow-left"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Continue with a provider"),u(),d(6,"p",5),v(7,"Choose a provider to sign in."),u()(),d(8,"div",6)(9,"div",7),T("click",function(){return r.choose("GitHub")}),d(10,"div",8),P(11,"i",9),u(),d(12,"div",10)(13,"div",11),v(14,"GitHub"),u(),d(15,"div",12),v(16,"Continue with GitHub"),u()()(),d(17,"div",13),T("click",function(){return r.choose("Microsoft")}),d(18,"div",8),P(19,"i",14),u(),d(20,"div",10)(21,"div",11),v(22,"Microsoft"),u(),d(23,"div",12),v(24,"Continue with Microsoft"),u()()(),d(25,"div",15),T("click",function(){return r.choose("Google")}),d(26,"div",8),P(27,"i",16),u(),d(28,"div",10)(29,"div",11),v(30,"Google"),u(),d(31,"div",12),v(32,"Continue with Google"),u()()(),d(33,"div",17),T("click",function(){return r.choose("LinkedIn")}),d(34,"div",8),P(35,"i",18),u(),d(36,"div",10)(37,"div",11),v(38,"LinkedIn"),u(),d(39,"div",12),v(40,"Continue with LinkedIn"),u()()(),d(41,"div",19),T("click",function(){return r.choose("Twitter")}),d(42,"div",8),P(43,"i",20),u(),d(44,"div",10)(45,"div",11),v(46,"Twitter"),u(),d(47,"div",12),v(48,"Continue with Twitter"),u()()(),d(49,"div",21)(50,"span",22),v(51,"or"),u()(),d(52,"button",23),T("click",function(){return r.emailLogin()}),P(53,"i",24),d(54,"span"),v(55,"Sign in with Email"),u()(),d(56,"button",25),T("click",function(){return r.cancel()}),P(57,"i",26),d(58,"span"),v(59,"Cancel"),u()()()())},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function BD(o){const e=(o+"=".repeat((4-o.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),r=atob(e),n=new Uint8Array(r.length);for(let i=0;i({type:0===e.Type?"public-key":e.Type,alg:e.Alg})),timeout:t.Timeout??void 0,attestation:0===t.Attestation?"none":1===t.Attestation?"indirect":2===t.Attestation?"direct":3===t.Attestation?"enterprise":void 0,authenticatorSelection:t.AuthenticatorSelection?{authenticatorAttachment:t.AuthenticatorSelection.AuthenticatorAttachment??void 0,residentKey:0===t.AuthenticatorSelection.ResidentKey?"discouraged":1===t.AuthenticatorSelection.ResidentKey?"preferred":2===t.AuthenticatorSelection.ResidentKey?"required":void 0,requireResidentKey:!!t.AuthenticatorSelection.RequireResidentKey,userVerification:0===t.AuthenticatorSelection.UserVerification?"discouraged":1===t.AuthenticatorSelection.UserVerification?"preferred":2===t.AuthenticatorSelection.UserVerification?"required":void 0}:void 0,excludeCredentials:(t.ExcludeCredentials??[]).map(e=>({type:0===e.Type?"public-key":e.Type,id:BD(e.Id),transports:e.Transports??void 0})),extensions:void 0}}function AR(o){const t=o.response;return{id:o.id,rawId:Sc(o.rawId),type:o.type,clientExtensionResults:o.getClientExtensionResults?.()??{},response:{clientDataJSON:Sc(t.clientDataJSON),attestationObject:Sc(t.attestationObject)}}}let Coe=(()=>{class o{constructor(e){this.svcContext=e}ngOnInit(){return E(function*(){})()}start(){var e=this;return E(function*(){let r=yield e.svcContext.clients.auth.createPasskeyRegistrationBegin(`${He.siteUri}/auth/passkey/enroll/confirm`);if(r.successful){e.errorMessage=void 0;const n=yield window.navigator.credentials.create({publicKey:IR(r.result)}),i=yield e.svcContext.clients.auth.createPasskeyRegistrationComplete({challengeId:r.result.challengeId,attestation:AR(n)});if(!i.successful)return void(e.errorMessage=i.errors.map(a=>a.message).join(", "));e.svcContext.services.navigation.goto(["/auth/passkey/enroll/confirm"]),console.log(r.result)}else e.errorMessage=r.errors.map(n=>n.message).join(", ")})()}cancel(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-passkey-enroll-start"]],decls:18,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.mfa.passkey.enroll","data-min-state","aeo"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-fingerprint"],[1,"auth-title"],[1,"auth-subtitle"],["class","auth-error",4,"ngIf"],[1,"auth-actions"],["type","button","data-testid","action:start",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-arrow-right"],["type","button","data-testid","action:cancel",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Add a passkey"),u(),d(6,"p",5),v(7," You\u2019ll use your device (Face ID, Touch ID, Windows Hello, etc.) to create a passkey. "),u()(),b(8,boe,4,1,"div",6),d(9,"div",7)(10,"button",8),T("click",function(){return r.start()}),P(11,"i",9),d(12,"span"),v(13,"Start"),u()(),d(14,"button",10),T("click",function(){return r.cancel()}),P(15,"i",11),d(16,"span"),v(17,"Cancel"),u()()()()),2&e&&(p(8),g("ngIf",r.errorMessage))},dependencies:[ve],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function woe(o,t){if(1&o&&(d(0,"div",13)(1,"h4"),v(2,"Error"),u(),v(3),u()),2&o){const e=m();p(3),ce(" ",e.errorMessage," ")}}function ND(o){const t=o.options;return{challenge:PR(t.Challenge),timeout:t.Timeout??void 0,rpId:t.RpId??void 0,userVerification:0===t.UserVerification?"discouraged":1===t.UserVerification?"preferred":2===t.UserVerification?"required":void 0,allowCredentials:(t.AllowCredentials??[]).map(e=>({type:"public-key",id:PR(e.Id),transports:e.Transports??void 0}))}}function HD(o){const t=o.response;return{id:o.id,rawId:Sc(o.rawId),type:o.type,clientExtensionResults:o.getClientExtensionResults?.()??{},response:{clientDataJSON:Sc(t.clientDataJSON),authenticatorData:Sc(t.authenticatorData),signature:Sc(t.signature),userHandle:t.userHandle?Sc(t.userHandle):null}}}let xoe=(()=>{class o{constructor(e){this.svcContext=e}ngOnInit(){}tryGetPasskey(){var e=this;return E(function*(){const r=yield e.svcContext.clients.auth.createPasskeyPasswordlessAuthenticationBegin(`${Qd.siteUri}/auth/continue/passkey`);if(!r.successful)return e.errorMessage=r.errors.map(n=>n.message).join(", "),!1;try{const n=ND(r.result),i=yield navigator.credentials.get({publicKey:n});if(!i)return!1;let s={assertion:HD(i),challengeId:r.result.challengeId};const l=yield e.svcContext.clients.auth.createPasskeyPasswordlessAuthenticationComplete(s);return l.successful?(yield e.svcContext.mgrs.userManager.registerLocalUser(l.result.user),e.svcContext.services.navigation.gotoPath(l.result.redirectUrl),!0):(e.errorMessage=l.errors.map(c=>c.message).join(", "),!1)}catch(n){console.log("get passkey returned null");const i=n?.name;return"NotAllowedError"===i||"NotFoundError"===i||(e.errorMessage=n?.message??"Passkey authentication failed."),!1}})()}tryCreatePasskey(){var e=this;return E(function*(){const r=yield e.svcContext.clients.auth.createPasskeyPasswordlessRegistrationBegin(`${Qd.siteUri}/auth/continue/passkey`);if(!r.successful)return e.errorMessage=r.errors.map(n=>n.message).join(", "),!1;e.errorMessage=void 0;try{const n=yield navigator.credentials.create({publicKey:IR(r.result)});if(!n)return console.log("credential creation returned null"),!1;const i=yield e.svcContext.clients.auth.createPasskeyPasswordlessRegistrationComplete({challengeId:r.result.challengeId,attestation:AR(n)});return i.successful?(console.log("registering local user after passkey creation"),yield e.svcContext.mgrs.userManager.registerLocalUser(i.result.user),console.log("going to redirect url after passkey creation"+i.result.redirectUrl),e.svcContext.services.navigation.gotoPath(i.result.redirectUrl),!0):(e.errorMessage=i.errors.map(a=>a.message).join(", "),!1)}catch(n){return"NotAllowedError"===n?.name||(e.errorMessage=n?.message??"Passkey registration failed."),!1}})()}usePasskey(){var e=this;return E(function*(){(yield e.tryGetPasskey())||(yield e.tryCreatePasskey())||(e.errorMessage=e.errorMessage??"Passkey authentication and creation both failed or were cancelled.")})()}back(){this.svcContext.services.navigation.goto(["auth","welcome"])}startOver(){this.svcContext.services.navigation.goto(["auth","welcome"])}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-continue-passkey"]],decls:20,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.continue.passkey"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-key"],[1,"auth-title"],[1,"auth-subtitle"],["class","auth-error",4,"ngIf"],[1,"auth-actions"],["data-testid","action:use-passkey","type","button",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-fingerprint"],["data-testid","action:back","type","button",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["data-testid","action:start-over","type","button",1,"auth-linkbtn",3,"click"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Continue with Passkey"),u(),d(6,"p",5),v(7,"Use your device passkey to sign in."),u()(),b(8,woe,4,1,"div",6),d(9,"div",7)(10,"button",8),T("click",function(){return r.usePasskey()}),P(11,"i",9),d(12,"span"),v(13,"Use Passkey"),u()(),d(14,"button",10),T("click",function(){return r.back()}),P(15,"i",11),d(16,"span"),v(17,"Back"),u()(),d(18,"button",12),T("click",function(){return r.startOver()}),v(19,"Start over"),u()()()),2&e&&(p(8),g("ngIf",r.errorMessage))},dependencies:[ve],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function Doe(o,t){1&o&&(d(0,"div"),v(1,"Email is required."),u())}function Moe(o,t){1&o&&(d(0,"div"),v(1,"Enter a valid email address."),u())}function koe(o,t){if(1&o&&(d(0,"div",16),b(1,Doe,2,0,"div",17),b(2,Moe,2,0,"div",17),u()),2&o){const e=m();p(1),g("ngIf",null==e.email.errors?null:e.email.errors.required),p(1),g("ngIf",null==e.email.errors?null:e.email.errors.email)}}let Eoe=(()=>{class o{constructor(e){this.svcContext=e,this.form=new Bd({email:new Cc("",{nonNullable:!0,validators:[gr.required,gr.email]})})}ngOnInit(){}get email(){return this.form.controls.email}next(){if(this.form.markAllAsTouched(),this.form.invalid)return;const e=this.email.value.trim();this.svcContext.mgrs.userManager.upsertLoginSeedEmail(e),this.svcContext.services.navigation.goto(["auth","continue","email","password"])}back(){this.svcContext.services.navigation.goto(["auth","welcome"])}startOver(){this.svcContext.services.navigation.goto(["auth","welcome"])}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-continue-email"]],decls:24,vars:2,consts:[["data-testid","auth-screen","data-screen-id","auth.continue.email"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-envelope"],[1,"auth-title"],[1,"auth-subtitle"],[3,"formGroup","ngSubmit"],["for","email",1,"auth-label"],["id","email","type","email","formControlName","email","placeholder","name@company.com","autocomplete","email",1,"auth-input"],["class","auth-error",4,"ngIf"],[1,"auth-actions"],["data-testid","action:next","type","submit",1,"auth-btn","auth-btn--primary"],[1,"fa-solid","fa-arrow-right"],["data-testid","action:back","type","button",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["data-testid","action:start-over","type","button",1,"auth-linkbtn",3,"click"],[1,"auth-error"],[4,"ngIf"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Continue with Email"),u(),d(6,"p",5),v(7,"Enter your email to continue."),u()(),d(8,"form",6),T("ngSubmit",function(){return r.next()}),d(9,"label",7),v(10,"Email"),u(),P(11,"input",8),b(12,koe,3,2,"div",9),d(13,"div",10)(14,"button",11),P(15,"i",12),d(16,"span"),v(17,"Next"),u()(),d(18,"button",13),T("click",function(){return r.back()}),P(19,"i",14),d(20,"span"),v(21,"Back"),u()(),d(22,"button",15),T("click",function(){return r.startOver()}),v(23,"Start over"),u()()()()),2&e&&(p(8),g("formGroup",r.form),p(4),g("ngIf",r.email.touched&&r.email.invalid))},dependencies:[ve,za,Ht,mt,$a,Ni,Ya],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function Toe(o,t){1&o&&(d(0,"div"),v(1,"Password is required."),u())}function Foe(o,t){if(1&o&&(d(0,"div",21),b(1,Toe,2,0,"div",22),u()),2&o){const e=m();p(1),g("ngIf",null==e.password.errors?null:e.password.errors.required)}}let Soe=(()=>{class o{constructor(e){this.svcContext=e,this.form=new Bd({email:new Cc("",{nonNullable:!0,validators:[gr.required,gr.email]}),password:new Cc("",{nonNullable:!0,validators:[gr.required,gr.email]})})}get password(){return this.form.controls.password}ngOnInit(){var e=this;return E(function*(){let r=yield e.svcContext.mgrs.userManager.getPrimaryLoginSeed();e.form.controls.email.setValue(r?.email??"")})()}next(){var e=this;return E(function*(){let r=yield e.svcContext.mgrs.userManager.login(e.form.controls.email.value,e.form.controls.password.value,!0);r.successful?e.svcContext.services.navigation.gotoPath(r.result.redirectPage):e.svcContext.services.navigation.goto(["auth","continue","email","unable"])})()}sendMagicLink(){var e=this;return E(function*(){(yield e.svcContext.clients.auth.createSecurelinkRequest({email:e.form.controls.email.value,channel:"portal"})).successful&&e.svcContext.services.navigation.goto(["auth","magiclink","sent"])})()}forgotPassword(){this.svcContext.services.navigation.goto(["auth","forgot"])}startOver(){this.svcContext.services.navigation.goto(["auth","welcome"])}cancel(){}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-email-login-password"]],decls:33,vars:2,consts:[["data-testid","auth-screen","data-screen-id","auth.continue.email.password","data-min-state","!a"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-lock"],[1,"auth-title"],[1,"auth-subtitle"],[3,"formGroup","ngSubmit"],["for","email","data-testid","label:email",1,"auth-label"],["id","email","type","email","data-testid","field:email","formControlName","email","autocomplete","email",1,"auth-input"],["for","password","data-testid","label:password",1,"auth-label"],["id","password","type","password","formControlName","password","autocomplete","current-password","placeholder","Password","data-testid","field:password",1,"auth-input"],["class","auth-error","data-testid","label:error-message",4,"ngIf"],[1,"auth-actions"],["type","submit","data-testid","action:next",1,"auth-btn","auth-btn--primary"],[1,"fa-solid","fa-arrow-right"],["type","button","data-testid","action:send-magic-link",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-magic"],["type","button","data-testid","action:cancel",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["type","button","data-testid","action:forgot-password",1,"auth-linkbtn",3,"click"],["type","button","data-testid","action:start-over",1,"auth-linkbtn",3,"click"],["data-testid","label:error-message",1,"auth-error"],[4,"ngIf"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Enter your password"),u(),d(6,"p",5),v(7,"Sign in with your email and password."),u()(),d(8,"form",6),T("ngSubmit",function(){return r.next()}),d(9,"label",7),v(10,"Email"),u(),P(11,"input",8),d(12,"label",9),v(13,"Password"),u(),P(14,"input",10),b(15,Foe,2,1,"div",11),d(16,"div",12)(17,"button",13),P(18,"i",14),d(19,"span"),v(20,"Next"),u()(),d(21,"button",15),T("click",function(){return r.sendMagicLink()}),P(22,"i",16),d(23,"span"),v(24,"Send Magic Link"),u()(),d(25,"button",17),T("click",function(){return r.cancel()}),P(26,"i",18),d(27,"span"),v(28,"Cancel"),u()(),d(29,"button",19),T("click",function(){return r.forgotPassword()}),v(30," Forgot password? "),u(),d(31,"button",20),T("click",function(){return r.startOver()}),v(32," Start over "),u()()()()),2&e&&(p(8),g("formGroup",r.form),p(7),g("ngIf",r.password.touched&&r.password.invalid))},dependencies:[ve,za,Ht,mt,$a,Ni,Ya],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function Poe(o,t){1&o&&(d(0,"div"),v(1,"Code is required."),u())}function Ioe(o,t){1&o&&(d(0,"div"),v(1,"Enter a 6-digit code."),u())}function Aoe(o,t){if(1&o&&(d(0,"div",19),b(1,Poe,2,0,"div",20),b(2,Ioe,2,0,"div",20),u()),2&o){const e=m();p(1),g("ngIf",null==e.totp.errors?null:e.totp.errors.required),p(1),g("ngIf",null==e.totp.errors?null:e.totp.errors.pattern)}}let Ooe=(()=>{class o{constructor(e,r){this.fb=e,this.svcContext=r,this.form=this.fb.group({email:[{value:"",disabled:!0},[gr.required,gr.email]],totp:["",[gr.required,gr.pattern(/^\d{6}$/)]]}),this.form.patchValue({email:"user@example.com"})}get email(){return this.form.controls.email}get totp(){return this.form.controls.totp}verify(){var e=this;return E(function*(){e.form.invalid?e.form.markAllAsTouched():alert("TODO: verify TOTP")})()}cancel(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}usePassword(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/continue/email/password"])})()}startOver(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(Hd),O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-continue-totp"]],decls:29,vars:2,consts:[["data-testid","auth-screen","data-screen-id","auth.continue.totp","data-min-state","!a"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-shield-halved"],[1,"auth-title"],[1,"auth-subtitle"],[3,"formGroup","ngSubmit"],["for","email","data-testid","label:email",1,"auth-label"],["id","email","type","email","formControlName","email","autocomplete","email","readonly","","data-testid","field:email",1,"auth-input"],["for","totp","data-testid","label:totp",1,"auth-label"],["id","totp","type","text","inputmode","numeric","autocomplete","one-time-code","formControlName","totp","placeholder","123456","data-testid","field:totp",1,"auth-input"],["class","auth-error","data-testid","label:error-message",4,"ngIf"],[1,"auth-actions"],["type","submit","data-testid","action:verify",1,"auth-btn","auth-btn--primary"],[1,"fa-solid","fa-arrow-right"],["type","button","data-testid","action:cancel",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["type","button","data-testid","action:use-password",1,"auth-linkbtn",3,"click"],["type","button","data-testid","action:start-over",1,"auth-linkbtn",3,"click"],["data-testid","label:error-message",1,"auth-error"],[4,"ngIf"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Enter your code"),u(),d(6,"p",5),v(7,"Enter the 6-digit code from your authenticator app."),u()(),d(8,"form",6),T("ngSubmit",function(){return r.verify()}),d(9,"label",7),v(10,"Email"),u(),P(11,"input",8),d(12,"label",9),v(13,"Code"),u(),P(14,"input",10),b(15,Aoe,3,2,"div",11),d(16,"div",12)(17,"button",13),P(18,"i",14),d(19,"span"),v(20,"Verify"),u()(),d(21,"button",15),T("click",function(){return r.cancel()}),P(22,"i",16),d(23,"span"),v(24,"Cancel"),u()(),d(25,"button",17),T("click",function(){return r.usePassword()}),v(26," Use password instead "),u(),d(27,"button",18),T("click",function(){return r.startOver()}),v(28," Start over "),u()()()()),2&e&&(p(8),g("formGroup",r.form),p(7),g("ngIf",r.totp.touched&&r.totp.invalid))},dependencies:[ve,za,Ht,mt,$a,Ni,Ya],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();var VD=V(5876);const Roe=["qrcElement"];let OR=(()=>{class o{constructor(e,r){this.renderer=e,this.sanitizer=r,this.allowEmptyString=!1,this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.qrdata="",this.scale=4,this.width=10,this.qrCodeURL=new ee,this.context=null}ngOnChanges(){var e=this;return E(function*(){yield e.createQRCode()})()}isValidQrCodeText(e){return!1===this.allowEmptyString?!(typeof e>"u"||""===e||"null"===e||null===e):!(typeof e>"u")}toDataURL(e){return new Promise((r,n)=>{VD.hz(this.qrdata,e,(i,a)=>{i?n(i):r(a)})})}toCanvas(e,r){return new Promise((n,i)=>{VD.rT(e,this.qrdata,r,a=>{a?i(a):n("success")})})}toSVG(e){return new Promise((r,n)=>{VD.toString(this.qrdata,e,(i,a)=>{i?n(i):r(a)})})}renderElement(e){for(const r of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,r);this.renderer.appendChild(this.qrcElement.nativeElement,e)}createQRCode(){var e=this;return E(function*(){e.version&&e.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),e.version=40):e.version&&e.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),e.version=1):void 0!==e.version&&isNaN(e.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),e.version=void 0);try{if(!e.isValidQrCodeText(e.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");e.isValidQrCodeText(e.qrdata)&&""===e.qrdata&&(e.qrdata=" ");const r={color:{dark:e.colorDark,light:e.colorLight},errorCorrectionLevel:e.errorCorrectionLevel,margin:e.margin,scale:e.scale,type:e.elementType,version:e.version,width:e.width},n=e.imageSrc,i=e.imageHeight||40,a=e.imageWidth||40;switch(e.elementType){case"canvas":const s=e.renderer.createElement("canvas");e.context=s.getContext("2d"),e.toCanvas(s,r).then(()=>{if(e.ariaLabel&&e.renderer.setAttribute(s,"aria-label",`${e.ariaLabel}`),e.title&&e.renderer.setAttribute(s,"title",`${e.title}`),n&&e.context){e.centerImage=new Image(a,i),n!==e.centerImage.src&&(e.centerImage.src=n),i!==e.centerImage.height&&(e.centerImage.height=i),a!==e.centerImage.width&&(e.centerImage.width=a);const h=e.centerImage;h&&(h.onload=()=>{e.context?.drawImage(h,s.width/2-a/2,s.height/2-i/2,a,i)})}e.renderElement(s),e.emitQRCodeURL(s)}).catch(h=>{console.error("[angularx-qrcode] canvas error:",h)});break;case"svg":const l=e.renderer.createElement("div");e.toSVG(r).then(h=>{e.renderer.setProperty(l,"innerHTML",h);const _=l.firstChild;e.renderer.setAttribute(_,"height",`${e.width}`),e.renderer.setAttribute(_,"width",`${e.width}`),e.renderElement(_),e.emitQRCodeURL(_)}).catch(h=>{console.error("[angularx-qrcode] svg error:",h)});break;default:const c=e.renderer.createElement("img");e.toDataURL(r).then(h=>{e.alt&&c.setAttribute("alt",e.alt),e.ariaLabel&&c.setAttribute("aria-label",e.ariaLabel),c.setAttribute("src",h),e.title&&c.setAttribute("title",e.title),e.renderElement(c),e.emitQRCodeURL(c)}).catch(h=>{console.error("[angularx-qrcode] img/url error:",h)})}}catch(r){console.error("[angularx-qrcode] Error generating QR Code:",r.message)}})()}emitQRCodeURL(e){const r=e.constructor.name;if(r===SVGSVGElement.name){const a=new Blob([e.outerHTML],{type:"image/svg+xml"}),s=URL.createObjectURL(a),l=this.sanitizer.bypassSecurityTrustUrl(s);return void this.qrCodeURL.emit(l)}let n="";r===HTMLCanvasElement.name&&(n=e.toDataURL("image/png")),r===HTMLImageElement.name&&(n=e.src),fetch(n).then(i=>i.blob()).then(i=>URL.createObjectURL(i)).then(i=>this.sanitizer.bypassSecurityTrustUrl(i)).then(i=>{this.qrCodeURL.emit(i)}).catch(i=>{console.error("[angularx-qrcode] Error when fetching image/png URL: "+i)})}}return o.\u0275fac=function(e){return new(e||o)(O(Li),O(fc))},o.\u0275cmp=ne({type:o,selectors:[["qrcode"]],viewQuery:function(e,r){if(1&e&&Yt(Roe,7),2&e){let n;ze(n=Ye())&&(r.qrcElement=n.first)}},inputs:{allowEmptyString:"allowEmptyString",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",imageSrc:"imageSrc",imageHeight:"imageHeight",imageWidth:"imageWidth",margin:"margin",qrdata:"qrdata",scale:"scale",version:"version",width:"width",alt:"alt",ariaLabel:"ariaLabel",title:"title"},outputs:{qrCodeURL:"qrCodeURL"},features:[Lr],decls:2,vars:2,consts:[["qrcElement",""]],template:function(e,r){1&e&&P(0,"div",null,0),2&e&&Wn(r.cssClass)},encapsulation:2,changeDetection:0}),o})(),$D=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[]}),o})();function Loe(o,t){if(1&o&&(d(0,"div",22)(1,"h4"),v(2,"Error"),u(),v(3),u()),2&o){const e=m();p(3),ce(" ",e.errorMessage," ")}}let Boe=(()=>{class o{constructor(e){this.svcContext=e,this.issuer="Software Logistics",this.accountLabel="user@example.com"}ngOnInit(){var e=this;return E(function*(){let r=yield e.svcContext.clients.auth.createMfatotpEnrollmentBegin();e.totpUrl=r.result.otpAuthUri,e.secret=r.result.secret,e.user=yield e.svcContext.mgrs.userManager.getUser(),e.accountLabel=e.user.userName})()}next(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/mfa/totp/confirm"])})()}cancel(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-totp-enroll-start"]],decls:38,vars:7,consts:[["data-testid","auth-screen","data-screen-id","auth.mfa.totp.enroll","data-min-state","aeo"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-shield-halved"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-section"],[1,"auth-muted",2,"margin-bottom","10px"],["data-testid","field:qr",2,"width","220px","height","220px","margin","0 auto","border-radius","16px","border","1px dashed rgba(0,0,0,.25)","display","grid","place-items","center"],[1,"auth-muted",2,"text-align","center"],[3,"qrdata","width","errorCorrectionLevel"],[1,"auth-divider"],[1,"auth-divider-text"],[1,"auth-muted"],["data-testid","label:secret"],["data-testid","field:secret",2,"font-weight","700","letter-spacing",".08em"],["class","auth-error",4,"ngIf"],[1,"auth-actions"],["type","button","data-testid","action:next",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-arrow-right"],["type","button","data-testid","action:cancel",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Enroll TOTP"),u(),d(6,"p",5),v(7," Scan the QR code with your authenticator app, then continue to confirm. "),u()(),d(8,"div",6)(9,"div",7)(10,"strong"),v(11,"Issuer:"),u(),v(12),P(13,"br"),d(14,"strong"),v(15,"Account:"),u(),v(16),u(),d(17,"div",8)(18,"div",9),P(19,"qrcode",10),u()(),d(20,"div",11)(21,"div",12),v(22,"Or enter code manually"),u()(),d(23,"div",13)(24,"div",14),v(25,"Secret"),u(),d(26,"div",15),v(27),u()(),b(28,Loe,4,1,"div",16),d(29,"div",17)(30,"button",18),T("click",function(){return r.next()}),P(31,"i",19),d(32,"span"),v(33,"Next"),u()(),d(34,"button",20),T("click",function(){return r.cancel()}),P(35,"i",21),d(36,"span"),v(37,"Cancel"),u()()()()()),2&e&&(p(12),ce(" ",r.issuer,""),p(4),ce(" ",r.accountLabel," "),p(3),g("qrdata",r.totpUrl)("width",200)("errorCorrectionLevel","M"),p(8),ce(" ",r.secret," "),p(1),g("ngIf",r.errorMessage))},dependencies:[ve,OR],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function Noe(o,t){1&o&&(d(0,"div"),v(1,"Code is required."),u())}function Hoe(o,t){1&o&&(d(0,"div"),v(1,"Enter a 6-digit code."),u())}function Voe(o,t){if(1&o&&(d(0,"div",17),b(1,Noe,2,0,"div",18),b(2,Hoe,2,0,"div",18),u()),2&o){const e=m();p(1),g("ngIf",null==e.code.errors?null:e.code.errors.required),p(1),g("ngIf",null==e.code.errors?null:e.code.errors.pattern)}}function $oe(o,t){if(1&o&&(d(0,"div",19)(1,"h4"),v(2,"Error"),u(),v(3),u()),2&o){const e=m();p(3),ce(" ",e.errorMessage," ")}}let zoe=(()=>{class o{constructor(e,r){this.fb=e,this.svcContext=r,this.form=this.fb.group({code:["",[gr.required,gr.pattern(/^\d{6}$/)]]})}get code(){return this.form.controls.code}ngOnInit(){var e=this;return E(function*(){let r=yield e.svcContext.clients.auth.createMfatotpEnrollmentBegin();console.log("enroll begin",r)})()}confirm(){var e=this;return E(function*(){if(e.form.invalid)return void e.form.markAllAsTouched();let r=yield e.svcContext.clients.auth.createMfatotpEnrollmentConfirm({totp:e.form.value.code});r.successful||(e.errorMessage=r.errors[0].message)})()}back(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/mfa/totp/enroll"])})()}cancel(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(Hd),O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-totp-enroll-confirm"]],decls:25,vars:3,consts:[["data-testid","auth-screen","data-screen-id","auth.mfa.totp.confirm","data-min-state","aeo"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-circle-check"],[1,"auth-title"],[1,"auth-subtitle"],[3,"formGroup","ngSubmit"],["for","code","data-testid","label:totp",1,"auth-label"],["id","code","type","text","inputmode","numeric","autocomplete","one-time-code","formControlName","code","placeholder","123456","data-testid","field:totp",1,"auth-input"],["class","auth-error","data-testid","label:error-message",4,"ngIf"],["class","auth-error",4,"ngIf"],[1,"auth-actions"],["type","submit","data-testid","action:confirm",1,"auth-btn","auth-btn--primary"],[1,"fa-solid","fa-arrow-right"],["type","button","data-testid","action:back",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["type","button","data-testid","action:cancel",1,"auth-linkbtn",3,"click"],["data-testid","label:error-message",1,"auth-error"],[4,"ngIf"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Confirm TOTP"),u(),d(6,"p",5),v(7," Enter the 6-digit code from your authenticator app to finish setup. "),u()(),d(8,"form",6),T("ngSubmit",function(){return r.confirm()}),d(9,"label",7),v(10,"Code"),u(),P(11,"input",8),b(12,Voe,3,2,"div",9),b(13,$oe,4,1,"div",10),d(14,"div",11)(15,"button",12),P(16,"i",13),d(17,"span"),v(18,"Enable TOTP"),u()(),d(19,"button",14),T("click",function(){return r.back()}),P(20,"i",15),d(21,"span"),v(22,"Back"),u()(),d(23,"button",16),T("click",function(){return r.cancel()}),v(24," Cancel "),u()()()()),2&e&&(p(8),g("formGroup",r.form),p(4),g("ngIf",r.code.touched&&r.code.invalid),p(1),g("ngIf",r.errorMessage))},dependencies:[ve,za,Ht,mt,$a,Ni,Ya],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function Yoe(o,t){1&o&&(d(0,"div"),v(1,"Email is required."),u())}function joe(o,t){1&o&&(d(0,"div"),v(1,"Enter a valid email address."),u())}function Uoe(o,t){if(1&o&&(d(0,"div",16),b(1,Yoe,2,0,"div",17),b(2,joe,2,0,"div",17),u()),2&o){const e=m();p(1),g("ngIf",null==e.email.errors?null:e.email.errors.required),p(1),g("ngIf",null==e.email.errors?null:e.email.errors.email)}}let Woe=(()=>{class o{constructor(e,r){this.fb=e,this.svcContext=r,this.form=this.fb.group({email:["",[gr.required,gr.email]]})}get email(){return this.form.controls.email}send(){var e=this;return E(function*(){e.form.invalid?e.form.markAllAsTouched():alert("TODO: send password reset email")})()}cancel(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}backToPassword(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/continue/email/password"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(Hd),O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-forgot-password"]],decls:24,vars:2,consts:[["data-testid","auth-screen","data-screen-id","auth.forgot","data-min-state","!a"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-key"],[1,"auth-title"],[1,"auth-subtitle"],[3,"formGroup","ngSubmit"],["for","email","data-testid","label:email",1,"auth-label"],["id","email","type","email","formControlName","email","placeholder","name@company.com","autocomplete","email","data-testid","field:email",1,"auth-input"],["class","auth-error","data-testid","label:error-message",4,"ngIf"],[1,"auth-actions"],["type","submit","data-testid","action:send",1,"auth-btn","auth-btn--primary"],[1,"fa-solid","fa-paper-plane"],["type","button","data-testid","action:cancel",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["type","button","data-testid","action:back",1,"auth-linkbtn",3,"click"],["data-testid","label:error-message",1,"auth-error"],[4,"ngIf"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Forgot your password?"),u(),d(6,"p",5),v(7," Enter your email and we\u2019ll send you a link to reset your password. "),u()(),d(8,"form",6),T("ngSubmit",function(){return r.send()}),d(9,"label",7),v(10,"Email"),u(),P(11,"input",8),b(12,Uoe,3,2,"div",9),d(13,"div",10)(14,"button",11),P(15,"i",12),d(16,"span"),v(17,"Send reset link"),u()(),d(18,"button",13),T("click",function(){return r.cancel()}),P(19,"i",14),d(20,"span"),v(21,"Cancel"),u()(),d(22,"button",15),T("click",function(){return r.backToPassword()}),v(23," Back "),u()()()()),2&e&&(p(8),g("formGroup",r.form),p(4),g("ngIf",r.email.touched&&r.email.invalid))},dependencies:[ve,za,Ht,mt,$a,Ni,Ya],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function Goe(o,t){1&o&&(d(0,"div"),v(1,"Password is required."),u())}function qoe(o,t){1&o&&(d(0,"div"),v(1,"Password must be at least 8 characters."),u())}function Koe(o,t){if(1&o&&(d(0,"div",17),b(1,Goe,2,0,"div",18),b(2,qoe,2,0,"div",18),u()),2&o){const e=m();p(1),g("ngIf",null==e.newPassword.errors?null:e.newPassword.errors.required),p(1),g("ngIf",null==e.newPassword.errors?null:e.newPassword.errors.minlength)}}function Zoe(o,t){1&o&&(d(0,"div"),v(1,"Confirm password is required."),u())}function Xoe(o,t){1&o&&(d(0,"div"),v(1,"Passwords do not match."),u())}function Joe(o,t){if(1&o&&(d(0,"div",17),b(1,Zoe,2,0,"div",18),b(2,Xoe,2,0,"div",18),u()),2&o){const e=m();p(1),g("ngIf",null==e.confirmPassword.errors?null:e.confirmPassword.errors.required),p(1),g("ngIf",null==e.confirmPassword.errors?null:e.confirmPassword.errors.mismatch)}}let Qoe=(()=>{class o{constructor(e,r,n){this.fb=e,this.route=r,this.svcContext=n,this.form=this.fb.group({newPassword:["",[gr.required,gr.minLength(8)]],confirmPassword:["",[gr.required]]}),this.code=this.route.snapshot.paramMap.get("code")??""}get newPassword(){return this.form.controls.newPassword}get confirmPassword(){return this.form.controls.confirmPassword}reset(){var e=this;return E(function*(){e.form.invalid?e.form.markAllAsTouched():e.newPassword.value===e.confirmPassword.value?alert(`TODO: reset password with code=${e.code}`):e.confirmPassword.setErrors({mismatch:!0})})()}cancel(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(Hd),O(_o),O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-reset-password"]],decls:26,vars:3,consts:[["data-testid","auth-screen","data-screen-id","auth.reset","data-min-state","!a"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-key"],[1,"auth-title"],[1,"auth-subtitle"],[3,"formGroup","ngSubmit"],["for","newPassword","data-testid","label:newPassword",1,"auth-label"],["id","newPassword","type","password","formControlName","newPassword","autocomplete","new-password","placeholder","New password","data-testid","field:newPassword",1,"auth-input"],["class","auth-error","data-testid","label:error-message",4,"ngIf"],["for","confirmPassword","data-testid","label:confirmPassword",1,"auth-label"],["id","confirmPassword","type","password","formControlName","confirmPassword","autocomplete","new-password","placeholder","Confirm password","data-testid","field:confirmPassword",1,"auth-input"],[1,"auth-actions"],["type","submit","data-testid","action:reset",1,"auth-btn","auth-btn--primary"],[1,"fa-solid","fa-arrow-right"],["type","button","data-testid","action:cancel",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["data-testid","label:error-message",1,"auth-error"],[4,"ngIf"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Reset your password"),u(),d(6,"p",5),v(7,"Choose a new password for your account."),u()(),d(8,"form",6),T("ngSubmit",function(){return r.reset()}),d(9,"label",7),v(10,"New password"),u(),P(11,"input",8),b(12,Koe,3,2,"div",9),d(13,"label",10),v(14,"Confirm password"),u(),P(15,"input",11),b(16,Joe,3,2,"div",9),d(17,"div",12)(18,"button",13),P(19,"i",14),d(20,"span"),v(21,"Reset password"),u()(),d(22,"button",15),T("click",function(){return r.cancel()}),P(23,"i",16),d(24,"span"),v(25,"Cancel"),u()()()()()),2&e&&(p(8),g("formGroup",r.form),p(4),g("ngIf",r.newPassword.touched&&r.newPassword.invalid),p(4),g("ngIf",r.confirmPassword.touched&&r.confirmPassword.invalid))},dependencies:[ve,za,Ht,mt,$a,Ni,Ya],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function ene(o,t){if(1&o&&(d(0,"div",23)(1,"h4"),v(2,"Error"),u(),v(3),u()),2&o){const e=m();p(3),ce(" ",e.errorMessage," ")}}function tne(o,t){1&o&&(d(0,"div",23),v(1," First name is required. "),u())}function rne(o,t){1&o&&(d(0,"div",23),v(1," Last name is required. "),u())}function one(o,t){1&o&&(d(0,"div"),v(1,"Email is required."),u())}function nne(o,t){1&o&&(d(0,"div"),v(1,"Enter a valid email address."),u())}function ine(o,t){if(1&o&&(d(0,"div",24),b(1,one,2,0,"div",25),b(2,nne,2,0,"div",25),u()),2&o){const e=m();p(1),g("ngIf",null==e.email.errors?null:e.email.errors.required),p(1),g("ngIf",null==e.email.errors?null:e.email.errors.email)}}function ane(o,t){1&o&&(d(0,"div"),v(1,"Password is required."),u())}function sne(o,t){1&o&&(d(0,"div"),v(1,"Password must be at least 8 characters."),u())}function lne(o,t){if(1&o&&(d(0,"div",24),b(1,ane,2,0,"div",25),b(2,sne,2,0,"div",25),u()),2&o){const e=m();p(1),g("ngIf",null==e.password.errors?null:e.password.errors.required),p(1),g("ngIf",null==e.password.errors?null:e.password.errors.minlength)}}function cne(o,t){1&o&&(d(0,"div"),v(1,"Confirm password is required."),u())}function dne(o,t){1&o&&(d(0,"div"),v(1,"Passwords do not match."),u())}function une(o,t){if(1&o&&(d(0,"div",24),b(1,cne,2,0,"div",25),b(2,dne,2,0,"div",25),u()),2&o){const e=m();p(1),g("ngIf",null==e.confirmPassword.errors?null:e.confirmPassword.errors.required),p(1),g("ngIf",null==e.confirmPassword.errors?null:e.confirmPassword.errors.mismatch)}}let pne=(()=>{class o{constructor(e,r){this.fb=e,this.svcContext=r,this.form=this.fb.group({firstName:["",[gr.required]],lastName:["",[gr.required]],email:["",[gr.required,gr.email]],password:["",[gr.required,gr.minLength(8)]],confirmPassword:["",[gr.required]]})}get email(){return this.form.controls.email}get password(){return this.form.controls.password}get confirmPassword(){return this.form.controls.confirmPassword}register(){var e=this;return E(function*(){if(e.form.invalid)return void e.form.markAllAsTouched();if(e.password.value!==e.confirmPassword.value)return void e.confirmPassword.setErrors({mismatch:!0});let r=yield e.svcContext.clients.user.createRegister({appId:"1844A92CDDDF4B59A3BB294A1524D93A",appInstanceId:"N/A",deviceId:"N/A",loginType:1,clientType:"WEBAPP",inviteId:null,firstName:e.form.controls.firstName.value,lastName:e.form.controls.lastName.value,email:e.email.value,password:e.password.value});r.successful?e.svcContext.services.navigation.goto(["auth","user","email","confirm","sent"]):e.errorMessage=r.errors[0]?.message||"Registration failed."})()}cancel(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(Hd),O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-auth-register"]],decls:39,vars:7,consts:[["data-testid","auth-screen","data-screen-id","auth.register.new"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-user-plus"],[1,"auth-title"],[1,"auth-subtitle"],["class","auth-error",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"auth-label"],["type","text","formControlName","firstName",1,"auth-input"],["type","text","formControlName","lastName",1,"auth-input"],["for","email","data-testid","label:email",1,"auth-label"],["id","email","type","email","formControlName","email","placeholder","name@company.com","autocomplete","email","data-testid","field:email",1,"auth-input"],["class","auth-error","data-testid","label:error-message",4,"ngIf"],["for","password","data-testid","label:password",1,"auth-label"],["id","password","type","password","formControlName","password","autocomplete","new-password","placeholder","Password","data-testid","field:password",1,"auth-input"],["for","confirmPassword","data-testid","label:confirmPassword",1,"auth-label"],["id","confirmPassword","type","password","formControlName","confirmPassword","autocomplete","new-password","placeholder","Confirm password","data-testid","field:confirmPassword",1,"auth-input"],[1,"auth-actions"],["type","submit","data-testid","action:register",1,"auth-btn","auth-btn--primary"],[1,"fa-solid","fa-arrow-right"],["type","button","data-testid","action:cancel",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],[1,"auth-error"],["data-testid","label:error-message",1,"auth-error"],[4,"ngIf"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Create your account"),u(),d(6,"p",5),v(7,"Use your email and a password to create an account."),u()(),b(8,ene,4,1,"div",6),d(9,"form",7),T("ngSubmit",function(){return r.register()}),d(10,"label",8),v(11,"First name"),u(),P(12,"input",9),b(13,tne,2,0,"div",6),d(14,"label",8),v(15,"Last name"),u(),P(16,"input",10),b(17,rne,2,0,"div",6),d(18,"label",11),v(19,"Email"),u(),P(20,"input",12),b(21,ine,3,2,"div",13),d(22,"label",14),v(23,"Password"),u(),P(24,"input",15),b(25,lne,3,2,"div",13),d(26,"label",16),v(27,"Confirm password"),u(),P(28,"input",17),b(29,une,3,2,"div",13),d(30,"div",18)(31,"button",19),P(32,"i",20),d(33,"span"),v(34,"Create account"),u()(),d(35,"button",21),T("click",function(){return r.cancel()}),P(36,"i",22),d(37,"span"),v(38,"Cancel"),u()()()()()),2&e&&(p(8),g("ngIf",r.errorMessage),p(1),g("formGroup",r.form),p(4),g("ngIf",r.form.controls.firstName.touched&&r.form.controls.firstName.invalid),p(4),g("ngIf",r.form.controls.lastName.touched&&r.form.controls.lastName.invalid),p(4),g("ngIf",r.email.touched&&r.email.invalid),p(4),g("ngIf",r.password.touched&&r.password.invalid),p(4),g("ngIf",r.confirmPassword.touched&&r.confirmPassword.invalid))},dependencies:[ve,za,Ht,mt,$a,Ni,Ya],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function hne(o,t){if(1&o&&(d(0,"div",19)(1,"h4"),v(2,"Error"),u(),v(3),u()),2&o){const e=m();p(3),ce(" ",e.errorMessage," ")}}function gne(o,t){1&o&&(d(0,"div",19),v(1," First name is required. "),u())}function mne(o,t){1&o&&(d(0,"div",19),v(1," Last name is required. "),u())}function fne(o,t){1&o&&(d(0,"div"),v(1,"Email is required."),u())}function _ne(o,t){1&o&&(d(0,"div"),v(1,"Enter a valid email address."),u())}function vne(o,t){if(1&o&&(d(0,"div",20),b(1,fne,2,0,"div",21),b(2,_ne,2,0,"div",21),u()),2&o){const e=m();p(1),g("ngIf",null==e.email.errors?null:e.email.errors.required),p(1),g("ngIf",null==e.email.errors?null:e.email.errors.email)}}let yne=(()=>{class o{constructor(e,r){this.fb=e,this.svcContext=r,this.form=this.fb.group({firstName:["",[gr.required]],lastName:["",[gr.required]],phone:[""],email:["",[gr.required,gr.email]]}),this.logo=He.logo??"https://www.nuviot.com/images/nuviot-blue.png"}get firstName(){return this.form.controls.firstName}get lastName(){return this.form.controls.lastName}get email(){return this.form.controls.email}get phone(){return this.form.controls.phone}ngOnDestroy(){}ngOnInit(){var e=this;return E(function*(){let r=yield e.svcContext.mgrs.userManager.getUser();e.form.value.email=r.email,e.form.patchValue({email:r.email,phone:r.phoneNumber,firstName:r.firstName,lastName:r.lastName}),e.lockedEmail=r.email})()}onNext(){var e=this;return E(function*(){if(e.form.invalid)return void e.form.markAllAsTouched();let r=yield e.svcContext.clients.user.updateInfoBasic({firstName:e.firstName.value,lastName:e.lastName.value,phoneNumber:e.phone.value,email:e.email.value});r.successful?(e.svcContext.mgrs.userManager.setUser(r.result),yield e.svcContext.services.navigation.gotoPath(r.redirectURL)):e.errorMessage=r.errors[0].message})()}onBack(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["auth","welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(Hd),O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-register-user"]],decls:34,vars:5,consts:[["data-testid","auth-screen","data-screen-id","auth.user.usersetup"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-id-card"],[1,"auth-title"],[1,"auth-subtitle"],["class","auth-error",4,"ngIf"],[1,"auth-form",3,"formGroup","ngSubmit"],[1,"auth-label"],["type","text","formControlName","firstName",1,"auth-input"],["type","text","formControlName","lastName",1,"auth-input"],["id","email","type","email","formControlName","email","placeholder","name@company.com","autocomplete","email","data-testid","field:email",1,"auth-input"],["class","auth-error","data-testid","label:error-message",4,"ngIf"],["type","text","formControlName","phone",1,"auth-input"],[1,"auth-actions"],["type","submit","data-testid","action:next",1,"auth-btn","auth-btn--primary"],[1,"fa-solid","fa-arrow-right"],["type","button","data-testid","action:back",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],[1,"auth-error"],["data-testid","label:error-message",1,"auth-error"],[4,"ngIf"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Complete your profile"),u(),d(6,"p",5),v(7,"We just need a couple details to finish setting up your account."),u()(),b(8,hne,4,1,"div",6),d(9,"form",7),T("ngSubmit",function(){return r.onNext()}),d(10,"label",8),v(11,"First name"),u(),P(12,"input",9),b(13,gne,2,0,"div",6),d(14,"label",8),v(15,"Last name"),u(),P(16,"input",10),b(17,mne,2,0,"div",6),d(18,"label",8),v(19,"Email"),u(),P(20,"input",11),b(21,vne,3,2,"div",12),d(22,"label",8),v(23,"Phone"),u(),P(24,"input",13),d(25,"div",14)(26,"button",15),P(27,"i",16),d(28,"span"),v(29,"Next"),u()(),d(30,"button",17),T("click",function(){return r.onBack()}),P(31,"i",18),d(32,"span"),v(33,"Back"),u()()()()()),2&e&&(p(8),g("ngIf",r.errorMessage),p(1),g("formGroup",r.form),p(4),g("ngIf",r.form.controls.firstName.touched&&r.form.controls.firstName.invalid),p(4),g("ngIf",r.form.controls.lastName.touched&&r.form.controls.lastName.invalid),p(4),g("ngIf",r.email.touched&&r.email.invalid))},dependencies:[ve,za,Ht,mt,$a,Ni,Ya],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),bne=(()=>{class o{constructor(e){this.svcContext=e}onResend(){return E(function*(){alert("TODO: resend confirmation email")})()}onBackToSignIn(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}onSignOut(){return Promise.resolve()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-confirm-email-sent"]],decls:19,vars:0,consts:[["data-testid","auth-screen","data-screen-id","auth.user.confirm.emailsent"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-envelope-circle-check"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["data-testid","action:resend-email","type","button",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-rotate-right"],["data-testid","action:back-to-sign-in","type","button",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["data-testid","action:sign-out","type","button",1,"auth-linkbtn",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Check your email"),u(),d(6,"p",5),v(7," We sent you a confirmation link. Open it to finish verifying your account. "),u()(),d(8,"div",6)(9,"button",7),T("click",function(){return r.onResend()}),P(10,"i",8),d(11,"span"),v(12,"Resend email"),u()(),d(13,"button",9),T("click",function(){return r.onBackToSignIn()}),P(14,"i",10),d(15,"span"),v(16,"Back to sign-in"),u()(),d(17,"button",11),T("click",function(){return r.onSignOut()}),v(18," Sign out "),u()()())},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),Cne=(()=>{class o{constructor(e){this.svcContext=e}onContinue(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/org/create"])})()}onSignOut(){return E(function*(){})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-email-confirmed"]],decls:17,vars:0,consts:[["data-testid","auth-screen","data-screen-id","auth.user.email.confirmed"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-circle-check"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["type","button",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-arrow-right"],["type","button",1,"auth-linkbtn",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Email confirmed"),u(),d(6,"p",5),v(7," Your email is verified. "),P(8,"br"),v(9," If you were invited to an organization (o=true), you\u2019ll go to Home. Otherwise you\u2019ll create an organization. "),u()(),d(10,"div",6)(11,"button",7),T("click",function(){return r.onContinue()}),P(12,"i",8),d(13,"span"),v(14,"Continue"),u()(),d(15,"button",9),T("click",function(){return r.onSignOut()}),v(16," Sign out "),u()()())},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function wne(o,t){if(1&o&&(d(0,"div",13)(1,"h4"),v(2,"Error"),u(),v(3),u()),2&o){const e=m();p(3),ce(" ",e.errorMessage," ")}}let xne=(()=>{class o{constructor(e){this.svcContext=e}onResend(){var e=this;return E(function*(){let r=yield e.svcContext.clients.user.sendEmailConfirmCode();r.successful?yield e.svcContext.services.navigation.goto(["auth","user","email","confirm","sent"]):e.errorMessage=r.errors[0].message})()}onBack(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["auth","welcome"])})()}onSignOut(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["auth","logout"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-email-couldnotconfirm"]],decls:20,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.user.email.couldnotconfirm"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-triangle-exclamation"],[1,"auth-title"],[1,"auth-subtitle"],["class","auth-error",4,"ngIf"],[1,"auth-actions"],["type","button","data-testid","action:resend-email",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-rotate-right"],["type","button","data-testid","action:back",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["type","button","data-testid","action:sign-out",1,"auth-linkbtn",3,"click"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"We couldn't confirm your email"),u(),d(6,"p",5),v(7," The link may be expired or already used. You can resend a new confirmation email. "),u()(),b(8,wne,4,1,"div",6),d(9,"div",7)(10,"button",8),T("click",function(){return r.onResend()}),P(11,"i",9),d(12,"span"),v(13,"Resend email"),u()(),d(14,"button",10),T("click",function(){return r.onBack()}),P(15,"i",11),d(16,"span"),v(17,"Back"),u()(),d(18,"button",12),T("click",function(){return r.onSignOut()}),v(19," Sign out "),u()()()),2&e&&(p(8),g("ngIf",r.errorMessage))},dependencies:[ve],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function Dne(o,t){if(1&o){const e=j();d(0,"a",17),T("click",function(){return F(e),S(m().orgNameVisible=!0)}),v(1,"What's this? "),u()}}function Mne(o,t){if(1&o){const e=j();d(0,"small",18),v(1,"NuvIoT uses organizations to organize the resources, devices and IoT applications that you will build. You can also invite other team members to your organization. There is no cost to create an organization. "),d(2,"a",17),T("click",function(){return F(e),S(m().orgNameVisible=!1)}),v(3,"Hide "),u()()}}function kne(o,t){1&o&&(d(0,"div",19),v(1," Organization name is required. "),u())}function Ene(o,t){if(1&o){const e=j();d(0,"a",17),T("click",function(){return F(e),S(m().nsHelpVisible=!0)}),v(1,"What's this? "),u()}}function Tne(o,t){if(1&o){const e=j();d(0,"small",18),v(1,"A namespace is used to uniquely identify your organization and once set, it can not be changed. Your namespace can only contain lower case numbers and letters, it must begin with a letter and be between 6 and 20 characters. "),d(2,"a",17),T("click",function(){return F(e),S(m().nsHelpVisible=!1)}),v(3,"Hide "),u()()}}function Fne(o,t){1&o&&(d(0,"div",19),v(1," Organization namespace is required and must 3-20 lower case characters only. "),u())}function Sne(o,t){1&o&&(d(0,"div",19),v(1," Organization web site must be a valid URL starting with http:// or https://. "),u())}let Pne=(()=>{class o{constructor(e,r){this.fb=e,this.svcContext=r,this.form=this.fb.group({orgName:["",[gr.required]],orgNameSpace:["",[gr.required,gr.pattern("^[a-z]{3,20}$")]],orgWebSite:["",[gr.pattern("https?://.+")]]}),this.nsHelpVisible=!1,this.orgNameVisible=!1}onCreate(){var e=this;return E(function*(){e.form.invalid?e.form.markAllAsTouched():alert("TODO: create org")})()}onSignOut(){var e=this;return E(function*(){yield e.svcContext.mgrs.userManager.clearAllLoginSeeds(),yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(Hd),O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-org-create"]],decls:30,vars:8,consts:[["data-testid","auth-screen","data-screen-id","auth.org.create"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-building"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-form",3,"formGroup","ngSubmit"],[1,"auth-label"],["class","action",3,"click",4,"ngIf"],["type","text","data-testid","field:orgName","formControlName","orgName",1,"auth-input"],["id","orgNamespaceHelp",4,"ngIf"],["class","auth-error",4,"ngIf"],["type","text","data-testid","field:orgNameSpace","formControlName","orgNameSpace",1,"auth-input"],["type","text","data-testid","field:orgWebSite","formControlName","orgWebSite",1,"auth-input"],[1,"auth-actions"],["data-testid","action:createOrganization","type","submit",1,"auth-btn","auth-btn-primary"],["data-testid","action:signout","type","button",1,"auth-btn","auth-btn-link",3,"click"],[1,"action",3,"click"],["id","orgNamespaceHelp"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Create your organization"),u(),d(6,"p",5),v(7," You need an organization before you can use the app. "),u()(),d(8,"form",6),T("ngSubmit",function(){return r.onCreate()}),d(9,"label",7),v(10,"Organization name "),b(11,Dne,2,0,"a",8),u(),P(12,"input",9),b(13,Mne,4,0,"small",10),b(14,kne,2,0,"div",11),d(15,"label",7),v(16,"Organization Name Space "),b(17,Ene,2,0,"a",8),u(),P(18,"input",12),b(19,Tne,4,0,"small",10),b(20,Fne,2,0,"div",11),d(21,"label",7),v(22,"Organization Web Site"),u(),P(23,"input",13),b(24,Sne,2,0,"div",11),d(25,"div",14)(26,"button",15),v(27,"Create organization"),u(),d(28,"button",16),T("click",function(){return r.onSignOut()}),v(29,"Sign out"),u()()()()),2&e&&(p(8),g("formGroup",r.form),p(3),g("ngIf",!r.orgNameVisible),p(2),g("ngIf",r.orgNameVisible),p(1),g("ngIf",r.form.controls.orgName.touched&&r.form.controls.orgName.invalid),p(3),g("ngIf",!r.nsHelpVisible),p(2),g("ngIf",r.nsHelpVisible),p(1),g("ngIf",r.form.controls.orgNameSpace.touched&&r.form.controls.orgNameSpace.invalid),p(4),g("ngIf",r.form.controls.orgWebSite.touched&&r.form.controls.orgWebSite.invalid))},dependencies:[ve,za,Ht,mt,$a,Ni,Ya],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),Ine=(()=>{class o{constructor(e){this.svcContext=e}back(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-oauth-access-denied"]],decls:13,vars:0,consts:[["data-testid","auth-screen","data-screen-id","auth.oauth.accessdenied"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-ban"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["type","button","data-testid","action:back",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-arrow-left"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Sign-in canceled"),u(),d(6,"p",5),v(7," You canceled the provider sign-in or didn\u2019t grant permission. "),u()(),d(8,"div",6)(9,"button",7),T("click",function(){return r.back()}),P(10,"i",8),d(11,"span"),v(12,"Back"),u()()()())},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),Ane=(()=>{class o{constructor(e,r){var n=this;this.svcContext=e,this._routeSubscription=r.queryParams.subscribe(function(){var i=E(function*(a){n.err=a.err});return function(a){return i.apply(this,arguments)}}())}ngOnDestroy(){this._routeSubscription.unsubscribe()}ngOnInit(){}back(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r),O(_o))},o.\u0275cmp=ne({type:o,selectors:[["app-oauth-fault"]],decls:15,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.oauth.fault"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-triangle-exclamation"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-error"],[1,"auth-actions"],["type","button","data-testid","action:back",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-arrow-left"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Something went wrong"),u(),d(6,"p",5),v(7," We couldn\u2019t complete sign-in with the provider. Please try again. "),u(),d(8,"div",6),v(9),u()(),d(10,"div",7)(11,"button",8),T("click",function(){return r.back()}),P(12,"i",9),d(13,"span"),v(14,"Back"),u()()()()),2&e&&(p(9),ae(r.err))},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function One(o,t){if(1&o){const e=j();d(0,"div")(1,"h3"),v(2,"Invitation Already Accepted"),u(),d(3,"p"),v(4),u(),d(5,"p"),v(6,"Please"),d(7,"span",1),T("click",function(){return F(e),S(m(2).emailSignIn())}),v(8,"Sign In"),u(),v(9," to your NuvIoT account to access the organization."),u(),d(10,"p"),v(11,"If you feel this was an error, please contact "),d(12,"a",2),v(13),u(),v(14,"."),u()()}if(2&o){const e=m(2);p(4),ce("Your invitation to join the ",e._invite.organizationName," organization has already been accepted."),p(8),cc("href","mailto:",e._invite.invitedByEmail,"",Zo),p(1),ae(e._invite.invitedByEmail)}}function Rne(o,t){if(1&o){const e=j();d(0,"div")(1,"h3"),v(2,"Congratulations!"),u(),d(3,"p"),v(4),u(),d(5,"p"),v(6),u(),d(7,"div",3)(8,"p")(9,"b"),v(10,"To Accept this Invitation:"),u()(),d(11,"p")(12,"span",1),T("click",function(){return F(e),S(m(2).emailSignIn())}),v(13,"Sign In"),u(),v(14," to an existing NuvIoT account with an email address. "),u(),d(15,"p")(16,"span",1),T("click",function(){return F(e),S(m(2).emailCreateUser())}),v(17,"Create "),u(),v(18," a new account with an email address."),u(),d(19,"div")(20,"span",1),T("click",function(){return F(e),S(m(2).thirdPartySignIn())}),v(21,"Log In "),u(),v(22," with third party services such as Google or Microsoft."),u()()()}if(2&o){const e=m(2);p(4),Eo("You have been invited to the ",e._invite.organizationName," organization by ",e._invite.invitedByName," "),p(2),ae(e._invite.message)}}function Lne(o,t){if(1&o&&(d(0,"div"),b(1,One,15,3,"div",0),b(2,Rne,23,3,"div",0),u()),2&o){const e=m();p(1),g("ngIf",e._invite.accepted),p(1),g("ngIf",!e._invite.accepted)}}let Bne=(()=>{class o{constructor(e,r,n,i){var a=this;this.userService=e,this.navService=r,this.storage=n,this.route=i,this.isBusy=!1,this._routeSubscription=this.route.params.subscribe(function(){var s=E(function*(l){a._inviteId=l.id;let c=yield e.getInvitation(a._inviteId);if(c.successful){a._invite=c.result;let h=yield n.getItemAsync("invites");h=h?`${h},${a._inviteId}`:a._inviteId,yield n.setItemAsync("invites",h)}console.log(a._invite.accepted)});return function(l){return s.apply(this,arguments)}}())}ngOnDestroy(){this._routeSubscription.unsubscribe()}ngOnInit(){}emailSignIn(){this.navService.goto(["auth","login","email",this._inviteId])}emailCreateUser(){this.navService.goto(["auth","register",this._inviteId])}thirdPartySignIn(){this.navService.goto(["auth","login","oauth",this._inviteId])}}return o.\u0275fac=function(e){return new(e||o)(O(uo),O(Yd),O(Hi),O(_o))},o.\u0275cmp=ne({type:o,selectors:[["app-accept-invite"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"action",2,"margin-right","0","padding-right","0",3,"click"],[3,"href"],[2,"text-align","left"]],template:function(e,r){1&e&&b(0,Lne,3,2,"div",0),2&e&&g("ngIf",r._invite)},dependencies:[ve],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),RR=(()=>{class o{constructor(e,r){this.route=e,this.svcContext=r,this.code=this.route.snapshot.paramMap.get("code")??""}continue(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}backToSignIn(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(_o),O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-invite-accepted"]],decls:17,vars:0,consts:[["data-testid","auth-screen","data-screen-id","auth.invite.accepted","data-min-state","!a"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-circle-check"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["type","button","data-testid","action:continue",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-arrow-right"],["type","button","data-testid","action:back",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Invite accepted"),u(),d(6,"p",5),v(7," You\u2019re all set. Continue to sign in and finish setup. "),u()(),d(8,"div",6)(9,"button",7),T("click",function(){return r.continue()}),P(10,"i",8),d(11,"span"),v(12,"Continue"),u()(),d(13,"button",9),T("click",function(){return r.backToSignIn()}),P(14,"i",10),d(15,"span"),v(16,"Back to sign-in"),u()()()())},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),Nne=(()=>{class o{constructor(e){this.svcContext=e}backToSignIn(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}startOver(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-invited-failed"]],decls:17,vars:0,consts:[["data-testid","auth-screen","data-screen-id","auth.invite.failed","data-min-state","!a"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-triangle-exclamation"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["type","button","data-testid","action:back",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-arrow-left"],["type","button","data-testid","action:start-over",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-rotate-left"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Invite link not valid"),u(),d(6,"p",5),v(7," This invite link may be expired, already used, or invalid. "),u()(),d(8,"div",6)(9,"button",7),T("click",function(){return r.backToSignIn()}),P(10,"i",8),d(11,"span"),v(12,"Back to sign-in"),u()(),d(13,"button",9),T("click",function(){return r.startOver()}),P(14,"i",10),d(15,"span"),v(16,"Start over"),u()()()())},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function Hne(o,t){if(1&o&&(d(0,"div",13)(1,"h4"),v(2,"Error"),u(),v(3),u()),2&o){const e=m();p(3),ce(" ",e.errorMessage," ")}}let Vne=(()=>{class o{constructor(e){this.svcContext=e}finish(){var e=this;return E(function*(){let r=yield e.svcContext.clients.auth.createPasskeyAuthenticationBegin(!1,`${Qd.siteUri}/auth/continue/passkey`);if(r.successful){const n=ND(r.result);let a=HD(yield navigator.credentials.get({publicKey:n})),s=yield e.svcContext.clients.auth.createPasskeyAuthenticationComplete(!1,{challengeId:r.result.challengeId,assertion:a});s.successful||(e.errorMessage=s.errors.map(l=>l.message).join(", "))}else e.errorMessage=r.errors.map(n=>n.message).join(", ")})()}back(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/mfa/passkey/enroll"])})()}done(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/mfa/passkey"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-passkey-enroll-confirm"]],decls:20,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.mfa.passkey.confirm","data-min-state","aeo"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-circle-check"],[1,"auth-title"],[1,"auth-subtitle"],["class","auth-error",4,"ngIf"],[1,"auth-actions"],["type","button","data-testid","action:finish",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-arrow-right"],["type","button","data-testid","action:back",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["type","button","data-testid","action:done",1,"auth-linkbtn",3,"click"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Confirm passkey"),u(),d(6,"p",5),v(7," Follow your device prompts to complete passkey setup. "),u()(),b(8,Hne,4,1,"div",6),d(9,"div",7)(10,"button",8),T("click",function(){return r.finish()}),P(11,"i",9),d(12,"span"),v(13,"Finish"),u()(),d(14,"button",10),T("click",function(){return r.back()}),P(15,"i",11),d(16,"span"),v(17,"Back"),u()(),d(18,"button",12),T("click",function(){return r.done()}),v(19," Done "),u()()()),2&e&&(p(8),g("ngIf",r.errorMessage))},dependencies:[ve],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function $ne(o,t){if(1&o){const e=j();d(0,"div",15)(1,"div")(2,"div",16),v(3),u(),d(4,"div",17),v(5),u()(),d(6,"button",18),T("click",function(){const i=F(e).$implicit;return S(m().removePasskey(i.credentialId))}),v(7," Remove "),u()()}if(2&o){const e=t.$implicit;p(3),ae(e.name),p(2),ce(" Added ",e.createdUtc," ")}}function zne(o,t){if(1&o&&(d(0,"div",19)(1,"h4"),v(2,"Error"),u(),v(3),u()),2&o){const e=m();p(3),ce(" ",e.errorMessage," ")}}let Yne=(()=>{class o{constructor(e){this.svcContext=e,this.passkeys=[]}ngOnInit(){var e=this;return E(function*(){e.passkeys=(yield e.svcContext.clients.auth.getPasskey()).result})()}addPasskey(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/passkey/enroll/start"])})()}removePasskey(e){var r=this;return E(function*(){let n=yield r.svcContext.clients.auth.deletePasskeyByCredentialId(e);n.successful?r.passkeys=r.passkeys.filter(i=>i.credentialId!==e):r.errorMessage=n.errors.map(i=>i.message).join(", ")})()}done(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-passkey-manage"]],decls:22,vars:2,consts:[["data-testid","auth-screen","data-screen-id","auth.mfa.passkey.manage","data-min-state","aeo"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-key"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-section"],["data-testid","label:passkey-list",1,"auth-muted",2,"margin-bottom","10px"],["class","auth-row","data-testid","row:passkey",4,"ngFor","ngForOf"],["class","auth-error",4,"ngIf"],[1,"auth-actions"],["type","button","data-testid","action:add-passkey",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-plus"],["type","button","data-testid","action:done",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["data-testid","row:passkey",1,"auth-row"],["data-testid","label:passkey-name",2,"font-weight","700"],["data-testid","label:passkey-created",1,"auth-muted",2,"font-size","13px"],["type","button","data-testid","action:remove-passkey",1,"auth-linkbtn",3,"click"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Passkeys"),u(),d(6,"p",5),v(7," Manage your passkeys for faster, more secure sign-in. "),u()(),d(8,"div",6)(9,"div",7),v(10," Your passkeys "),u(),b(11,$ne,8,2,"div",8),b(12,zne,4,1,"div",9),d(13,"div",10)(14,"button",11),T("click",function(){return r.addPasskey()}),P(15,"i",12),d(16,"span"),v(17,"Add passkey"),u()(),d(18,"button",13),T("click",function(){return r.done()}),P(19,"i",14),d(20,"span"),v(21,"Done"),u()()()()()),2&e&&(p(11),g("ngForOf",r.passkeys),p(1),g("ngIf",r.errorMessage))},dependencies:[gt,ve],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),jne=(()=>{class o{constructor(e){this.userService=e,this.logo=He.logo??"https://www.nuviot.com/images/nuviot-blue.png"}ngOnInit(){var e=this;return E(function*(){yield e.sendConfirmationEmail()})()}sendConfirmationEmail(){var e=this;return E(function*(){e.message="Sending Confirmation Email";let r=yield e.userService.getUser();console.log(r),yield e.userService.sendEmailConfirmCode(),e.message=`Email Confirmation Sent to: ${r.email}`})()}}return o.\u0275fac=function(e){return new(e||o)(O(uo))},o.\u0275cmp=ne({type:o,selectors:[["app-send-email-verify"]],decls:10,vars:0,consts:[["data-testid","auth-screen","data-screen-id","auth.email.confirm"],["data-testid","action:resend",1,"action",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"h4"),v(2,"Please Confirm Your Email Address"),u(),d(3,"p"),v(4,"To complete your registration, please confirm your email address. We have sent a confirmation link to your email. Click on the link in the email to verify your address and activate your account."),u(),d(5,"p"),v(6,"If you did not receive the email, please check your spam folder or "),d(7,"span",1),T("click",function(){return r.sendConfirmationEmail()}),v(8,"resend the confirmation email"),u(),v(9,". "),u()())}}),o})(),Une=(()=>{class o{constructor(e,r){this.router=e,this.userService=r,this.logo=He.logo??"https://www.nuviot.com/images/nuviot-blue.png"}ngOnInit(){var e=this;return E(function*(){(yield e.userService.getIsLoggedIn())&&(yield e.userService.logout())})()}login(){He.supportOAuth?He.production?window.location.href=`/${He.moduleRouteHome}/welcome`:this.router.goto(["login"]):He.production?window.location.href=`/${He.moduleRouteHome}/login/email`:this.router.goto(["login"])}}return o.\u0275fac=function(e){return new(e||o)(O(Yd),O(uo))},o.\u0275cmp=ne({type:o,selectors:[["app-logout"]],decls:13,vars:0,consts:[[1,"fa","fa-check",2,"color","green","margin-right","10pt"],[2,"text-align","right"],[1,"btn","btn-primary",3,"click"]],template:function(e,r){1&e&&(d(0,"div"),P(1,"i",0),v(2,"Logging out of server\n"),u(),d(3,"div"),P(4,"i",0),v(5,"Clearing Browser State\n"),u(),d(6,"div"),P(7,"i",0),v(8,"Done\n"),u(),d(9,"div",1),P(10,"hr"),d(11,"button",2),T("click",function(){return r.login()}),v(12,"Login"),u()())},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),Wne=(()=>{class o{constructor(e){this.svcContext=e}backToSignIn(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}resend(){return E(function*(){alert("TODO: resend reset link")})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-forgot-password-sent"]],decls:19,vars:0,consts:[["data-testid","auth-screen","data-screen-id","auth.forgot.sent","data-min-state","!a"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-envelope"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["type","button","data-testid","action:back",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-arrow-left"],["type","button","data-testid","action:resend",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-rotate-right"],["type","button","data-testid","action:cancel",1,"auth-linkbtn",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Check your email"),u(),d(6,"p",5),v(7," If an account exists for that email, we sent a password reset link. "),u()(),d(8,"div",6)(9,"button",7),T("click",function(){return r.backToSignIn()}),P(10,"i",8),d(11,"span"),v(12,"Back to sign-in"),u()(),d(13,"button",9),T("click",function(){return r.resend()}),P(14,"i",10),d(15,"span"),v(16,"Resend email"),u()(),d(17,"button",11),T("click",function(){return r.backToSignIn()}),v(18," Cancel "),u()()())},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),Gne=(()=>{class o{constructor(e,r){this.route=e,this.router=r}ngOnInit(){const e=(this.route.snapshot.queryParamMap.get("status")??"unknown").toLowerCase(),r=this.route.snapshot.queryParamMap.get("next")??"/home",n=this.route.snapshot.queryParamMap.get("code"),i=r.startsWith("/")?r:"/home";try{window.opener?.postMessage({type:"oauth-complete",status:e,next:i,code:n},window.location.origin)}finally{window.opener?window.close():this.router.navigateByUrl(i)}}}return o.\u0275fac=function(e){return new(e||o)(O(_o),O(qr))},o.\u0275cmp=ne({type:o,selectors:[["app-oauth-popup"]],decls:2,vars:0,template:function(e,r){1&e&&(d(0,"p"),v(1," oauth-popup works!\n"),u())}}),o})(),qne=(()=>{class o{constructor(e){this.route=e}ngOnInit(){const e=this.route.snapshot.queryParamMap.get("target");e?setTimeout(()=>window.location.href=e,100):document.body.innerHTML="Missing target URL"}}return o.\u0275fac=function(e){return new(e||o)(O(_o))},o.\u0275cmp=ne({type:o,selectors:[["app-oauth-start"]],decls:6,vars:0,consts:[[1,"demo-guidance","stack",2,"padding","16px"],[1,"muted"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div")(2,"strong"),v(3,"Signing you in\u2026"),u()(),d(4,"div",1),v(5,"You can close this window if it takes too long."),u()())}}),o})();function Kne(o,t){if(1&o){const e=j();d(0,"div")(1,"div")(2,"button",10),T("click",function(){return F(e),S(m().signIn("GitHub"))}),P(3,"img",11),v(4," Sign in with Github "),u()(),d(5,"div")(6,"button",10),T("click",function(){return F(e),S(m().signIn("Microsoft"))}),P(7,"img",12),v(8," Sign in with Microsoft "),u()(),d(9,"div")(10,"button",10),T("click",function(){return F(e),S(m().signIn("Google"))}),P(11,"img",13),v(12," Sign in with Google "),u()(),d(13,"div")(14,"button",10),T("click",function(){return F(e),S(m().signIn("LinkedIn"))}),P(15,"img",14),v(16," Sign in with Linked In "),u()(),d(17,"div")(18,"button",10),T("click",function(){return F(e),S(m().signIn("Twitter"))}),P(19,"img",15),v(20," Sign in with Twitter "),u()(),d(21,"div")(22,"button",16),T("click",function(){return F(e),S(m().externalLogin=!1)}),P(23,"img",17),v(24," Sign in with Email "),u()()()}}function Zne(o,t){if(1&o&&(d(0,"div",34),v(1),u()),2&o){const e=m(2);p(1),ce(" ",e.loginResult," ")}}function Xne(o,t){if(1&o){const e=j();d(0,"div",18)(1,"form",19)(2,"div",20)(3,"label",21),v(4,"Email Address"),u(),d(5,"input",22),T("ngModelChange",function(n){return F(e),S(m().emailAddress=n)}),u(),P(6,"div",23),u(),d(7,"div",20)(8,"label",24),v(9,"Password"),u(),d(10,"input",25),T("ngModelChange",function(n){return F(e),S(m().password=n)}),u()(),d(11,"div",20)(12,"div",26)(13,"label")(14,"input",27),T("ngModelChange",function(n){return F(e),S(m().rememberMe=n)}),u(),v(15," Remember Me "),u()()(),d(16,"div",28)(17,"button",29),T("click",function(){return F(e),S(m().performEmailLogin())}),v(18,"Login"),u(),v(19,"\xa0 "),d(20,"button",30),T("click",function(){return F(e),S(m().cancelLogin())}),v(21,"Cancel"),u()(),d(22,"div",20)(23,"a",31),v(24,"Register"),u(),P(25,"br"),d(26,"a",32),v(27,"Forgot Password"),u()(),b(28,Zne,2,1,"div",33),u()()}if(2&o){const e=m();p(5),g("ngModel",e.emailAddress),p(5),g("ngModel",e.password),p(4),g("ngModel",e.rememberMe),p(14),g("ngIf",e.loginResult)}}function Jne(o,t){1&o&&P(0,"div",35)}function Qne(o,t){if(1&o&&(d(0,"div",36),P(1,"img",37)(2,"br"),d(3,"div"),v(4,"Please Wait"),u()()),2&o){const e=m();p(1),cc("src","",e.root,"/app/ui-shared/assets/ajax-loader.gif",Zo)}}let eie=(()=>{class o{constructor(e,r,n,i){this.userService=e,this.networkService=r,this.storage=n,this.router=i,this.isBusy=!1,this.root="",this.returnUrl=void 0,this.rememberMe=!1,this.isLoggingIn=!1,this.externalLogin=!0,this.cancel=new ee,He.production&&(this.root=`/${He.moduleRouteHome}`),this._onBeginCall=r.onCallBegin().subscribe(a=>{window.setTimeout(()=>{this.isBusy=!0})}),this._onEndCall=r.onCallEnd().subscribe(a=>{window.setTimeout(()=>{this.isBusy=!1})})}ngOnInit(){var e=this;return E(function*(){e.returnUrl||(e.returnUrl=`/${He.moduleRouteHome}`),(yield e.userService.getIsLoggedIn())&&e.router.navigate([He.moduleRouteHome]),yield e.storage.clearAsync();for(var n=document.cookie.split(";"),i=0;i-1?a.substr(0,s):a;document.cookie=l+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT"}})()}signIn(e){this.returnUrl?.toLowerCase().startsWith("/api")&&(this.returnUrl=`/${He.moduleRouteHome}`),window.location.href=`${He.siteUri}/account/login/oauth/${e}?returnUrl=${this.returnUrl}`}performEmailLogin(){var e=this;return E(function*(){e.isLoggingIn=!0,e.loginResult=null;try{yield e.userService.login(e.emailAddress,e.password,e.rememberMe),e.isLoggingIn=!1;let r=yield e.storage.getItemAsync("loginRedirect");yield e.storage.removeItemAsync("loginRedirect"),!r||r.startsWith("/api")||r.startsWith("/auth")?e.router.navigate([He.moduleRouteHome]):window.location.href=r}catch{e.loginResult="Sorry, we could not log you in with that email and password, please try again.",e.isLoggingIn=!1}})()}cancelLogin(){this.externalLogin=!0}ngOnDestroy(){this._onBeginCall.unsubscribe(),this._onEndCall.unsubscribe()}}return o.\u0275fac=function(e){return new(e||o)(O(uo),O(Lm),O(Hi),O(qr))},o.\u0275cmp=ne({type:o,selectors:[["app-external-login"]],inputs:{returnUrl:"returnUrl"},outputs:{cancel:"cancel"},decls:12,vars:4,consts:[[1,"page-container"],[1,"container"],[1,"row"],[1,"col-md-4"],[1,"col-md-6","login-panel"],["src","https://www.nuviot.com/images/applogo.png",2,"margin-bottom","15px","width","300px"],[4,"ngIf"],["style","width:100%;height:300px",4,"ngIf"],["style","z-index: 20000 !important;","class","busyMask",4,"ngIf"],["style","text-align:center;z-index: 20000 !important;","class","busyMsg",4,"ngIf"],["id","github-button",1,"oauth-btn",3,"click"],["src","https://www.nuviot.com/images/oauth/github.png"],["src","https://www.nuviot.com/images/oauth/microsoft.png"],["src","https://www.nuviot.com/images/oauth/google.png"],["src","https://www.nuviot.com/images/oauth/linkedin.png"],["src","https://www.nuviot.com/images/oauth/twitter.png"],["value","Email",1,"oauth-btn",3,"click"],["src","https://www.nuviot.com/images/oauth/email.png"],[2,"width","100%","height","300px"],["id","userLoginForm","role","form","data-toggle","validator","method","post"],[1,"form-group"],["for","email",1,"control-label"],["type","email","id","email","name","email","placeholder","email address","required","","data-error","Email is Required",1,"form-control",3,"ngModel","ngModelChange"],[1,"help-block","with-errors"],["for","password",1,"control-label"],["type","password","name","password","id","password","placeholder","password","required","","data-error","Password is Required",1,"form-control",3,"ngModel","ngModelChange"],[1,"checkbox"],["type","checkbox","id","rememberMe","name","rememberMe",3,"ngModel","ngModelChange"],[2,"text-align","right"],[1,"btn","btn-primary",3,"click"],[1,"btn","btn-danger",3,"click"],["href","https://www.nuviot.com/Account/Register"],["href","https://www.nuviot.com/Account/ForgotPassword"],["style","color:red;margin-bottom:10px;font-size:1.2em",4,"ngIf"],[2,"color","red","margin-bottom","10px","font-size","1.2em"],[1,"busyMask",2,"z-index","20000 !important"],[1,"busyMsg",2,"text-align","center","z-index","20000 !important"],[3,"src"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"div",3),d(4,"div",4),P(5,"img",5),b(6,Kne,25,0,"div",6),b(7,Xne,29,4,"div",7),u(),P(8,"div",3),u()()(),b(9,Jne,1,0,"div",8),b(10,Qne,5,1,"div",9),P(11,"app-footer")),2&e&&(p(6),g("ngIf",r.externalLogin),p(1),g("ngIf",!r.externalLogin),p(2),g("ngIf",r.isBusy),p(1),g("ngIf",r.isBusy))},dependencies:[ve,za,Ht,fl,mt,$a,_y,It,ym,TR],styles:["[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}.container[_ngcontent-%COMP%]{margin-left:auto!important;margin-right:auto!important}.page-container[_ngcontent-%COMP%]{height:100%;background-color:#75ade4}.login-panel[_ngcontent-%COMP%]{align-items:center;justify-content:center;flex-direction:column;display:flex;background-color:#fff;padding-bottom:30px;border:black 1px solid}.oauth-btn[_ngcontent-%COMP%]{background-color:#f0f0f0;padding:6px;height:44px;width:330px;margin-bottom:10px;border:1px solid silver;border-radius:3px}@media screen and (min-width: 1024px){.oauth-btn[_ngcontent-%COMP%]{margin-left:30px;margin-right:30px}}@media screen and (min-width: 1024px){.login-panel[_ngcontent-%COMP%]{margin-top:30px;padding-top:30px}}.oauth-btn[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#e0e0e0}.oauth-btn[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-right:6px}.busyMsg[_ngcontent-%COMP%]{color:#fff;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1000;font-size:16pt}.busyMask[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5;z-index:999}"]}),o})();function tie(o,t){if(1&o&&(d(0,"li"),v(1),u()),2&o){const e=t.$implicit;p(1),cl("",e.provider.text," - ",e.userName," - ",e.id,"")}}function rie(o,t){if(1&o&&(d(0,"div"),v(1),xr(2,"json"),u()),2&o){const e=m(3);p(1),ce(" ",Dr(2,1,e.sessionSnapShot)," ")}}function oie(o,t){if(1&o&&(d(0,"div")(1,"div"),v(2),u(),d(3,"div"),v(4),u(),d(5,"div"),v(6),u(),d(7,"div"),v(8),u(),d(9,"div"),v(10),u(),d(11,"div"),v(12,"Connected Logins "),d(13,"ol"),b(14,tie,2,3,"li",3),u()(),b(15,rie,3,3,"div",1),u()),2&o){const e=m(2);let r,n;p(2),Eo("",null!==(r=e.user.firstName)&&void 0!==r?r:"No First Name"," ",null!==(r=e.user.lastName)&&void 0!==r?r:"No Last Name",""),p(2),ae(null!==(n=e.user.email)&&void 0!==n?n:"No Email"),p(2),ae(e.user.userName),p(2),ae(e.user.loginTypeName),p(2),ce("Has Generated Password: ",e.user.hasGeneratedPassword,""),p(4),g("ngForOf",e.user.externalLogins),p(1),g("ngIf",e.sessionSnapShot)}}function nie(o,t){if(1&o&&(d(0,"div")(1,"h4"),v(2,"User not logged in"),u(),v(3),xr(4,"json"),u()),2&o){const e=m(2);p(3),ce(" ",Dr(4,1,e.sessionSnapShot)," ")}}function iie(o,t){if(1&o&&(d(0,"div")(1,"h4"),v(2,"Primary Email Seed"),u(),v(3),u()),2&o){const e=m(2);p(3),ce(" ",e.primaryEmail," ")}}function aie(o,t){if(1&o&&(d(0,"div")(1,"h4"),v(2,"User Information"),u(),b(3,oie,16,8,"div",1),b(4,nie,5,3,"div",1),b(5,iie,4,1,"div",1),d(6,"span",2),v(7,"Ready!"),u()()),2&o){const e=m();p(3),g("ngIf",e.user),p(1),g("ngIf",!e.user&&e.sessionSnapShot),p(1),g("ngIf",e.primaryEmail)}}let sie=(()=>{class o{constructor(e,r){this.svc=e,this.http=r,this.isReady=!1}ngOnInit(){var e=this;return E(function*(){console.log("get init"),(yield e.svc.mgrs.userManager.getIsLoggedIn())&&(e.user=yield e.svc.mgrs.userManager.getUser()),e.primaryEmail=(yield e.svc.mgrs.userManager.getPrimaryLoginSeed())?.email??null;let r=yield e.svc.clients.auth.getSession();window.setTimeout(()=>{e.sessionSnapShot=r,e.isReady=!0},1e3)})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r),O(Es))},o.\u0275cmp=ne({type:o,selectors:[["app-user-state"]],decls:2,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.user.status"],[4,"ngIf"],["data-testid","page-ready"],[4,"ngFor","ngForOf"]],template:function(e,r){1&e&&(d(0,"div",0),b(1,aie,8,3,"div",1),u()),2&e&&(p(1),g("ngIf",r.isReady))},dependencies:[gt,ve,$w]}),o})();function lie(o,t){if(1&o&&(d(0,"div",13)(1,"h4"),v(2,"Error"),u(),v(3),u()),2&o){const e=m();p(3),ce(" ",e.errorMessage," ")}}let cie=(()=>{class o{constructor(e){this.svcContext=e}ngOnInit(){}usePasskey(){var e=this;return E(function*(){let r=yield e.svcContext.clients.auth.createPasskeyAuthenticationBegin(!1,`${He.siteUri}/auth/continue/passkey`);if(r.successful){const n=ND(r.result);let a=HD(yield navigator.credentials.get({publicKey:n})),s=yield e.svcContext.clients.auth.createPasskeyAuthenticationComplete(!1,{challengeId:r.result.challengeId,assertion:a});s.successful||(e.errorMessage=s.errors.map(l=>l.message).join(", "))}else e.errorMessage=r.errors.map(n=>n.message).join(", ")})()}back(){this.svcContext.services.navigation.goto(["auth","welcome"])}startOver(){this.svcContext.services.navigation.goto(["auth","welcome"])}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-passkey-stepup"]],decls:20,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.continue.passkey"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-key"],[1,"auth-title"],[1,"auth-subtitle"],["class","auth-error",4,"ngIf"],[1,"auth-actions"],["data-testid","action:use-passkey","type","button",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-fingerprint"],["data-testid","action:back","type","button",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],["data-testid","action:start-over","type","button",1,"auth-linkbtn",3,"click"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Continue with Passkey"),u(),d(6,"p",5),v(7,"Use your device passkey to sign in."),u()(),b(8,lie,4,1,"div",6),d(9,"div",7)(10,"button",8),T("click",function(){return r.usePasskey()}),P(11,"i",9),d(12,"span"),v(13,"Use passkey"),u()(),d(14,"button",10),T("click",function(){return r.back()}),P(15,"i",11),d(16,"span"),v(17,"Back"),u()(),d(18,"button",12),T("click",function(){return r.startOver()}),v(19,"Start over"),u()()()),2&e&&(p(8),g("ngIf",r.errorMessage))},dependencies:[ve]}),o})();function die(o,t){if(1&o){const e=j();d(0,"button",18),T("click",function(){return F(e),S(m().continuePasskey())}),P(1,"i",19),d(2,"span"),v(3,"Continue with Passkey"),u()()}}let uie=(()=>{class o{constructor(e){this.svcContext=e,this.passkeysAvailable=!0}ngOnInit(){}tryAgain(){this.svcContext.services.navigation.goto(["auth","continue","email"])}createAccount(){this.svcContext.services.navigation.goto(["auth","register"])}forgotPassword(){this.svcContext.services.navigation.goto(["auth","forgot"])}changeEmail(){this.svcContext.services.navigation.goto(["auth","continue","email"])}continueProvider(){this.svcContext.services.navigation.goto(["auth","continue","provider"])}continuePasskey(){this.svcContext.services.navigation.goto(["auth","continue","passkey"])}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-signin-unable"]],decls:30,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.signin-unable"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-circle-exclamation"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["data-testid","action:try-again","type","button",1,"auth-btn","auth-btn--primary",3,"click"],[1,"fa-solid","fa-rotate-right"],["data-testid","action:create-account","type","button",1,"auth-btn",3,"click"],[1,"fa-solid","fa-user-plus"],["data-testid","action:forgot-password","type","button",1,"auth-btn",3,"click"],[1,"fa-solid","fa-life-ring"],["data-testid","action:change-email","type","button",1,"auth-btn",3,"click"],[1,"fa-solid","fa-at"],["data-testid","action:continue-provider","type","button",1,"auth-btn",3,"click"],[1,"fa-solid","fa-right-left"],["class","auth-btn","data-testid","action:continue-passkey","type","button",3,"click",4,"ngIf"],["data-testid","action:continue-passkey","type","button",1,"auth-btn",3,"click"],[1,"fa-solid","fa-key"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"We couldn\u2019t complete the sign-in"),u(),d(6,"p",5),v(7,"You can try again or choose a different option below."),u()(),d(8,"div",6)(9,"button",7),T("click",function(){return r.tryAgain()}),P(10,"i",8),d(11,"span"),v(12,"Try again"),u()(),d(13,"button",9),T("click",function(){return r.createAccount()}),P(14,"i",10),d(15,"span"),v(16,"Create an account"),u()(),d(17,"button",11),T("click",function(){return r.forgotPassword()}),P(18,"i",12),d(19,"span"),v(20,"Forgot password?"),u()(),d(21,"button",13),T("click",function(){return r.changeEmail()}),P(22,"i",14),d(23,"span"),v(24,"Change email"),u()(),d(25,"button",15),T("click",function(){return r.continueProvider()}),P(26,"i",16),d(27,"span"),v(28,"Continue with a provider"),u()(),b(29,die,4,0,"button",17),u()()),2&e&&(p(29),g("ngIf",r.passkeysAvailable))},dependencies:[ve],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})(),pie=(()=>{class o{constructor(e){this.svcContext=e}ngOnInit(){}onBackToSignIn(){var e=this;return E(function*(){yield e.svcContext.services.navigation.goto(["/auth/welcome"])})()}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-magic-link-sent"]],decls:13,vars:0,consts:[["data-testid","auth-screen","data-screen-id","auth.user.auth.magic-link-sent","data-min-state","!a"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-wand-magic-sparkles"],[1,"auth-title"],[1,"auth-subtitle"],[1,"auth-actions"],["data-testid","action:back-to-sign-in","type","button",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Check your email"),u(),d(6,"p",5),v(7," We sent you a magic link. Open it to login to your account. "),u()(),d(8,"div",6)(9,"button",7),T("click",function(){return r.onBackToSignIn()}),P(10,"i",8),d(11,"span"),v(12,"Back to sign-in"),u()()()())},styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function hie(o,t){if(1&o&&(d(0,"div")(1,"div",9),v(2),u()()),2&o){const e=m();p(2),ae(e.err)}}let gie=(()=>{class o{constructor(e,r){var n=this;this.svcContext=e,this.route=r,this.route.queryParamMap.subscribe(function(){var i=E(function*(a){let s=a.get("code");if(s){let l=yield e.clients.auth.getSecurelinkConsume(s,"");l.successful?(console.log(l),yield n.svcContext.mgrs.userManager.setLoginResponse(l.result),n.svcContext.services.navigation.gotoPath(l.result.redirectPage)):n.err=l.errors[0].message}else n.err="No code provided"});return function(a){return i.apply(this,arguments)}}())}back(){this.svcContext.services.navigation.goto(["auth","welcome"])}}return o.\u0275fac=function(e){return new(e||o)(O(_r),O(_o))},o.\u0275cmp=ne({type:o,selectors:[["app-magic-link-handler"]],decls:13,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.magic-link.handle"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-wand-magic-sparkles"],[1,"auth-title"],[1,"auth-subtitle"],[4,"ngIf"],["data-testid","action:back","type","button",1,"auth-btn","auth-btn--subtle",3,"click"],[1,"fa-solid","fa-arrow-left"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Magic Link"),u(),d(6,"p",5),v(7,"Please wait, processing link..."),u(),b(8,hie,3,1,"div",6),d(9,"button",7),T("click",function(){return r.back()}),P(10,"i",8),d(11,"span"),v(12,"Back"),u()()()()),2&e&&(p(8),g("ngIf",r.err))},dependencies:[ve],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function mie(o,t){if(1&o&&(d(0,"div",7)(1,"h4"),v(2,"Error"),u(),v(3),u()),2&o){const e=m();p(3),ce(" ",e.errorMessage," ")}}let fie=(()=>{class o{constructor(e,r){var n=this;this.svcContext=e,this.route=r,this.route.queryParamMap.subscribe(function(){var i=E(function*(a){let s=a.get("c"),l=a.get("p");if(!s||!l)return void(n.errorMessage="Sorry, we were not able to confirm your email with the information provided. Please check your email and click the link again, or contact support for help.");let c=yield e.clients.user.verifyEmailCode(l,s);c.successful?(console.log(c),yield n.svcContext.mgrs.userManager.setLoginResponse(c.result),n.svcContext.services.navigation.gotoPath(c.redirectURL)):n.errorMessage=c.errors[0].message});return function(a){return i.apply(this,arguments)}}())}back(){this.svcContext.services.navigation.goto(["auth","welcome"])}}return o.\u0275fac=function(e){return new(e||o)(O(_r),O(_o))},o.\u0275cmp=ne({type:o,selectors:[["app-email-confirm"]],decls:9,vars:1,consts:[["data-testid","auth-screen","data-screen-id","auth.confirming-email"],[1,"auth-hero"],[1,"auth-glyph"],[1,"fa-solid","fa-email"],[1,"auth-title"],[1,"auth-subtitle"],["class","auth-error",4,"ngIf"],[1,"auth-error"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2),P(3,"i",3),u(),d(4,"h1",4),v(5,"Confirming your Email Address"),u(),d(6,"p",5),v(7,"Please wait, processing link..."),u(),b(8,mie,4,1,"div",6),u()()),2&e&&(p(8),g("ngIf",r.errorMessage))},dependencies:[ve],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_nghost-%COMP%]{--auth-brand-primary: #1976D2;--auth-brand-primary-soft: #E8F2FB;--auth-brand-primary-border: #A3C8ED;--auth-brand-primary-focus: #75ADE4;--auth-brand-primary-hover: #13589D;--auth-surface-page: #F4F4F4;--auth-surface-panel: #FFFFFF;--auth-surface-panel-border: #E9E9E9;--auth-surface-control-border: #D3D3D3;--auth-surface-glyph: #F4F4F4;--auth-surface-subtle: #F4F4F4;--auth-surface-subtle-border: #E9E9E9;--auth-text-title: #222222;--auth-text-body: #4E4E4E;--auth-text-muted: #6F6F6F;--auth-text-placeholder: #B2B2B2;--auth-text-on-primary: #FBFBFB;--auth-status-error: #E5463B;--auth-control-radius: 12px;--auth-control-card-radius: 18px;--auth-control-glyph-radius: 18px;--auth-control-button-height: 44px;--auth-control-input-height: 46px;--auth-space-xs: 6px;--auth-space-sm: 8px;--auth-space-md: 12px;--auth-space-lg: 16px;--auth-space-xl: 24px;--auth-space-xxl: 32px;--auth-shadow-panel: 0 28px 80px rgba(34, 34, 34, .16);--auth-shadow-button-hover: 0 10px 24px rgba(34, 34, 34, .1);--auth-shadow-primary-button: 0 10px 22px rgba(25, 118, 210, .16);--auth-focus-ring-color: rgba(25, 118, 210, .12);--auth-focus-ring-width: 4px;--auth-type-title-size: 25px;--auth-type-title-line-height: 29px;--auth-type-title-weight: 800;--auth-type-body-size: 15px;--auth-type-body-line-height: 22px;--auth-type-body-weight: 400;--auth-type-label-size: 12px;--auth-type-label-line-height: 16px;--auth-type-label-weight: 700;--auth-type-button-size: 14px;--auth-type-button-line-height: 18px;--auth-type-button-weight: 750;--auth-type-link-size: 14px;--auth-type-link-line-height: 18px;--auth-type-link-weight: 700;--auth-type-input-size: 15px;--auth-type-input-line-height: 20px;--auth-type-input-weight: 400;--auth-type-placeholder-size: 15px;--auth-type-placeholder-line-height: 20px;--auth-type-placeholder-weight: 400;--auth-type-helper-size: 13px;--auth-type-helper-line-height: 18px;--auth-type-helper-weight: 400;--auth-type-error-size: 13px;--auth-type-error-line-height: 18px;--auth-type-error-weight: 400;--auth-icon-button: 14px;--auth-icon-glyph: 25px;--auth-icon-choice: 18px;--auth-layout-card-max-width: 560px;--auth-layout-body-max-width: 420px;--auth-layout-card-padding-x: 32px;--auth-layout-card-padding-top: 30px;--auth-layout-card-padding-bottom: 32px;--auth-layout-mobile-card-padding-x: 18px;--auth-layout-mobile-card-padding-top: 26px;--auth-layout-mobile-card-padding-bottom: 24px;--auth-elevation-card-shadow-color: #222222;--auth-elevation-card-shadow-opacity: .16;--auth-elevation-card-shadow-radius: 40px;--auth-elevation-card-shadow-offset-y: 18px;--auth-elevation-card-android-elevation: 12;--auth-elevation-primary-button-shadow-color: #1976D2;--auth-elevation-primary-button-shadow-opacity: .16;--auth-elevation-primary-button-shadow-radius: 12px;--auth-elevation-primary-button-shadow-offset-y: 6px;--auth-elevation-primary-button-android-elevation: 4}.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 40px);display:grid;place-items:start center;padding:clamp(56px,12vh,120px) var(--auth-space-lg) var(--auth-space-xxl);background:radial-gradient(circle at 50% -10%,rgba(25,118,210,.16),transparent 34rem),radial-gradient(circle at 15% 20%,rgba(25,118,210,.05),transparent 22rem),radial-gradient(circle at 85% 28%,rgba(117,173,228,.06),transparent 24rem),linear-gradient(180deg,#fff 0%,var(--auth-surface-page) 68%)}.auth-card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;background:var(--auth-surface-panel);border:1px solid var(--auth-surface-panel-border);border-radius:24px;box-shadow:0 28px 80px #22222229;overflow:hidden;padding:30px 32px}.auth-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--auth-brand-primary),var(--auth-brand-primary-focus))}.auth-header[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:22px;padding-top:2px}.logo-img[_ngcontent-%COMP%]{display:block;max-height:48px;max-width:205px;width:auto;height:auto}.auth-body[_ngcontent-%COMP%]{max-width:420px;margin:0 auto}.auth-screen[_ngcontent-%COMP%]{width:100%}.auth-hero[_ngcontent-%COMP%]{text-align:center;margin:0 0 18px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px;background:linear-gradient(180deg,#fff,var(--auth-brand-primary-soft));color:var(--auth-brand-primary);box-shadow:inset 0 0 0 1px var(--auth-brand-primary-border),0 10px 22px #1976d21a;display:grid;place-items:center;margin:0 auto 15px;line-height:1}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:27px;opacity:.96}.auth-title[_ngcontent-%COMP%]{color:var(--auth-text-title);font-size:var(--auth-type-title-size);line-height:var(--auth-type-title-line-height);font-weight:var(--auth-type-title-weight);margin:0 0 var(--auth-space-sm)}.auth-subtitle[_ngcontent-%COMP%]{margin:0 auto;max-width:38ch;color:var(--auth-text-body);font-size:var(--auth-type-body-size);line-height:var(--auth-type-body-line-height)}.auth-section[_ngcontent-%COMP%]{margin-top:var(--auth-space-lg)}.auth-muted[_ngcontent-%COMP%], .auth-helper[_ngcontent-%COMP%]{font-size:var(--auth-type-helper-size);line-height:var(--auth-type-helper-line-height);font-weight:var(--auth-type-helper-weight)}.auth-row[_ngcontent-%COMP%]{display:flex;gap:var(--auth-space-md);align-items:center;justify-content:space-between;margin-top:var(--auth-space-md)}.auth-divider[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);margin:18px 0}.auth-divider[_ngcontent-%COMP%]:before, .auth-divider[_ngcontent-%COMP%]:after{content:"";height:1px;background:var(--auth-surface-panel-border);flex:1}.auth-divider-text[_ngcontent-%COMP%]{font-size:12px;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.08em}.auth-actions[_ngcontent-%COMP%]{display:grid;gap:10px;margin-top:18px}.auth-btn[_ngcontent-%COMP%]{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--auth-space-sm);border-radius:12px;padding:9px 16px;border:1px solid rgba(34,34,34,.16);background:#fff;color:var(--auth-text-title);font-weight:var(--auth-type-button-weight);font-size:var(--auth-type-button-size);line-height:var(--auth-type-button-line-height);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.auth-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-body);flex:0 0 auto;width:1.15em;text-align:center;opacity:1;margin:0}.auth-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:0}.auth-btn[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:0 8px 18px #22222214}.auth-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.auth-btn--primary[_ngcontent-%COMP%]{min-height:44px;background:linear-gradient(180deg,#2B83D9,var(--auth-brand-primary));border-color:var(--auth-brand-primary);color:var(--auth-text-on-primary);box-shadow:0 10px 22px #1976d229}.auth-btn--primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--auth-text-on-primary)}.auth-btn--primary[_ngcontent-%COMP%]:hover{background:linear-gradient(180deg,var(--auth-brand-primary),var(--auth-brand-primary-hover));border-color:var(--auth-brand-primary-hover);box-shadow:0 14px 28px #1976d242}.auth-btn--subtle[_ngcontent-%COMP%]{background:var(--auth-surface-subtle);border-color:var(--auth-surface-subtle-border);color:var(--auth-text-title);box-shadow:none}.auth-btn--subtle[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:none}.auth-linkbtn[_ngcontent-%COMP%]{font-size:var(--auth-type-link-size);line-height:var(--auth-type-link-line-height);border:0;background:transparent;padding:6px 0;color:var(--auth-brand-primary);font-weight:var(--auth-type-link-weight);cursor:pointer}.auth-linkbtn[_ngcontent-%COMP%]:hover{color:var(--auth-brand-primary-hover);text-decoration:underline}.auth-btn__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.15em;text-align:center}.auth-btn__label[_ngcontent-%COMP%]{min-width:0}.auth-label[_ngcontent-%COMP%]{display:block;font-size:var(--auth-type-label-size);font-weight:var(--auth-type-label-weight);color:var(--auth-text-title);line-height:var(--auth-type-label-line-height);margin:0 0 8px}.auth-input[_ngcontent-%COMP%]{width:100%;min-height:48px;box-sizing:border-box;border-radius:13px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);padding:12px 15px;font-size:var(--auth-type-input-size);line-height:var(--auth-type-input-line-height);font-weight:var(--auth-type-input-weight);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-input[_ngcontent-%COMP%]:focus{border-color:var(--auth-brand-primary-focus);box-shadow:0 0 0 var(--auth-focus-ring-width) var(--auth-focus-ring-color)}.auth-error[_ngcontent-%COMP%]{font-size:var(--auth-type-error-size);margin-top:var(--auth-space-sm);color:var(--auth-status-error);line-height:var(--auth-type-error-line-height)}[_ngcontent-%COMP%]::placeholder{color:var(--auth-text-placeholder);font-size:var(--auth-type-placeholder-size);line-height:var(--auth-type-placeholder-line-height);font-weight:var(--auth-type-placeholder-weight)}.busyMask[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:20000}.busyMsg[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20001;color:var(--auth-text-on-primary);text-align:center;font-size:16px}.busyMsg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px;margin-bottom:10px}.auth-choice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--auth-space-md);padding:12px 14px;border-radius:14px;border:1px solid var(--auth-surface-control-border);background:var(--auth-surface-panel);color:var(--auth-text-title);cursor:pointer;transition:box-shadow .15s ease,transform .05s ease,background-color .15s ease,border-color .15s ease}.auth-choice[_ngcontent-%COMP%]:hover{background:var(--auth-brand-primary-soft);border-color:var(--auth-brand-primary-border);box-shadow:var(--auth-shadow-button-hover)}.auth-choice[_ngcontent-%COMP%]:active{transform:translateY(1px)}.auth-choice__icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:var(--auth-control-radius);background:var(--auth-surface-glyph);color:var(--auth-text-body);display:grid;place-items:center;font-size:18px}.auth-choice__text[_ngcontent-%COMP%]{display:grid;gap:2px;min-width:0}.auth-choice__title[_ngcontent-%COMP%]{font-weight:700;color:var(--auth-text-title)}.auth-choice__subtitle[_ngcontent-%COMP%]{font-size:13px;color:var(--auth-text-muted)}@media (max-width: 480px){.auth-page[_ngcontent-%COMP%]{min-height:calc(100vh - 60px);padding:18px var(--auth-space-md);place-items:start center}.auth-card[_ngcontent-%COMP%]{max-width:none;padding:26px 18px 24px;border-radius:18px}.auth-header[_ngcontent-%COMP%]{margin-bottom:24px}.logo-img[_ngcontent-%COMP%]{max-height:48px;max-width:210px}.auth-body[_ngcontent-%COMP%]{max-width:none}.auth-title[_ngcontent-%COMP%]{font-size:23px}.auth-glyph[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:17px}.auth-glyph[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:25px}}']}),o})();function vie(o,t){if(1&o&&(d(0,"li"),v(1),u()),2&o){const e=t.$implicit;p(1),Eo("",e.provider.text," - ",e.userName,"")}}function yie(o,t){if(1&o&&(d(0,"div")(1,"h4"),v(2,"User Information"),u(),d(3,"div"),v(4),u(),d(5,"div"),v(6),u(),d(7,"div"),v(8),u(),d(9,"div"),v(10),u(),d(11,"div"),v(12),u(),d(13,"div"),v(14,"Connected Logins "),d(15,"ol"),b(16,vie,2,2,"li",3),u()()()),2&o){const e=m();p(4),Eo("",e.user.firstName," ",e.user.lastName,""),p(2),ae(e.user.email),p(2),ae(e.user.userName),p(2),ae(e.user.loginType),p(2),ce("Has Generated Password: ",e.user.hasGeneratedPassword,""),p(4),g("ngForOf",e.user.externalLogins)}}let bie=(()=>{class o{constructor(e){this.svc=e}ngOnInit(){var e=this;return E(function*(){console.log("get init"),e.user=yield e.svc.mgrs.userManager.getUser()})()}home(){this.svc.services.navigation.goto(["home"])}totpEnroll(){this.svc.services.navigation.goto(["auth","mfa","totp","enroll"])}passKeyEnroll(){this.svc.services.navigation.goto(["auth","passkey","enroll","start"])}logout(){this.svc.services.navigation.goto(["auth","logout"])}}return o.\u0275fac=function(e){return new(e||o)(O(_r))},o.\u0275cmp=ne({type:o,selectors:[["app-home-welcome-placeholder"]],decls:21,vars:1,consts:[["data-testid","auth-screen","data-screen-id","home-welcome",1,"router-container",2,"margin","10px","background-color","white"],[4,"ngIf"],[1,"action",3,"click"],[4,"ngFor","ngForOf"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"h4"),v(2,"Home Page Placeholder (Welcome Version)"),u(),d(3,"p"),v(4,"When the application is deployed the reverse proxy will route /home to primary home page."),u(),d(5,"p"),v(6,"This page is used as a place holder to help test the authentication work flow."),u(),b(7,yie,17,7,"div",1),d(8,"ul")(9,"li")(10,"span",2),T("click",function(){return r.home()}),v(11,"Go To Home"),u()(),d(12,"li")(13,"span",2),T("click",function(){return r.logout()}),v(14,"Logout"),u()(),d(15,"li")(16,"span",2),T("click",function(){return r.passKeyEnroll()}),v(17,"Enroll PassKey"),u()(),d(18,"li")(19,"span",2),T("click",function(){return r.totpEnroll()}),v(20,"Enroll TOTP"),u()()()()),2&e&&(p(7),g("ngIf",r.user))},dependencies:[gt,ve]}),o})(),Cie=(()=>{class o{constructor(e,r){var n=this;this.svcContext=e,this.route=r,this.status="Page Loaded",this.route.queryParamMap.subscribe(function(){var i=E(function*(a){n.status="Requesting Login";let s=a.get("code"),l=yield e.clients.auth.getSecurelinkConsume(s,"");l.successful?(console.log(l),yield n.svcContext.mgrs.userManager.setLoginResponse(l.result),n.status="Success Login - should transition",n.svcContext.services.navigation.goto(["prelogin","complete"])):n.status="Failed Login: "+l.errors[0].message});return function(a){return i.apply(this,arguments)}}())}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)(O(_r),O(_o))},o.\u0275cmp=ne({type:o,selectors:[["app-prelogin"]],decls:5,vars:1,template:function(e,r){1&e&&(d(0,"div")(1,"h4"),v(2,"Pre-login"),u(),d(3,"h6"),v(4),u()()),2&e&&(p(4),ae(r.status))}}),o})(),wie=(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-prelogin-complete"]],decls:3,vars:0,consts:[["data-testid","auth-screen","data-screen-id","prelogin-complete",1,"router-container",2,"margin","10px","background-color","white"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"h1"),v(2,"Should continue to main test."),u()())}}),o})(),xie=(()=>{class o{constructor(e){this.navService=e}ngOnInit(){}gotoModuleHome(){this.navService.gotoModuleHome()}}return o.\u0275fac=function(e){return new(e||o)(O(Yd))},o.\u0275cmp=ne({type:o,selectors:[["app-page-not-found"]],decls:14,vars:0,consts:[[2,"text-align","center"],["src","https://nuviot.blob.core.windows.net/cdn/nuviot-blue.png",2,"width","480px","margin-top","50px"],["src","https://nuviot.blob.core.windows.net/cdn/401.png",2,"border-radius","50%","width","480px","height","480px"],[2,"color","var(--color-fg)"],[1,"action",3,"click"]],template:function(e,r){1&e&&(d(0,"p",0),P(1,"img",1),u(),d(2,"h1",0),v(3,"404 Oops!"),u(),d(4,"h4",0),v(5," Sorry, we did the best we could but that page you requested, it just isn't around."),u(),d(6,"div",0),P(7,"img",2)(8,"br"),d(9,"div",3),v(10," Click"),d(11,"span",4),T("click",function(){return r.gotoModuleHome()}),v(12,"here"),u(),v(13,"to get back on the trail."),u()())}}),o})();const Die=[{path:"",redirectTo:"auth",pathMatch:"full"},{path:"login",redirectTo:"auth/welcome",pathMatch:"full"},{path:"logout",redirectTo:"auth/logout",pathMatch:"full"},{path:"auth/login",redirectTo:"auth/welcome"},{path:"prelogin",component:Cie},{path:"prelogin/complete",component:wie},{path:"auth/about",component:uoe},{path:"home",component:FR,children:[{path:"",component:Zre},{path:"welcome",component:bie}]},...function _ie(){return[{path:"auth",component:FR,children:[{path:"",pathMatch:"full",canActivate:[goe],component:moe},{path:"welcome",component:_oe},{path:"welcome/back",component:voe},{path:"continue",children:[{path:"provider",component:yoe},{path:"passkey",component:xoe},{path:"totp",component:Ooe},{path:"email",component:Eoe},{path:"email/unable",component:uie},{path:"email/password",component:Soe}]},{path:"oauth/logins",component:eie},{path:"oauth/start",component:qne},{path:"oauth/handle",component:Gne},{path:"oauth/accessdenied",component:Ine},{path:"oauth/fault",component:Ane},{path:"user/state",component:sie},{path:"mfa/totp/enroll",component:Boe},{path:"mfa/totp/confirm",component:zoe},{path:"mfa/paskey/stepup",component:cie},{path:"forgot",component:Woe},{path:"forgot/sent",component:Wne},{path:"reset/:code",component:Qoe},{path:"register",component:pne},{path:"user/register",component:yne},{path:"user/email/confirm",component:fie},{path:"user/email/confirm/sent",component:bne},{path:"user/email/confirmed",component:Cne},{path:"user/email/couldnotconfirm",component:xne},{path:"org/create",component:Pne,title:"Create Organization"},{path:"invite/accept/:id",component:Bne},{path:"invite/accepted/:id",component:RR},{path:"invite/accepted",component:RR},{path:"invite/failed",component:Nne},{path:"passkey/enroll/start",component:Coe},{path:"passkey/enroll/confirm",component:Vne},{path:"passkey/manage",component:Yne},{path:"email/sendlink",component:jne},{path:"magiclink/sent",component:pie},{path:"magiclink/handle",component:gie},{path:"logout",component:Une}]}]}(),{path:"**",component:xie}];let Mie=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[$y.forRoot(Die),$y]}),o})(),kie=(()=>{class o{constructor(e,r){this._errorHandler=e.onErrMsgs().subscribe(n=>{if(console.log("error in call"),console.log(n),console.trace(),n&&n.length>0){const i=r.open(Q3,{size:"lg"});i.componentInstance.modalHeader="Errors",i.componentInstance.errors=n}})}}return o.\u0275fac=function(e){return new(e||o)(O(jd),O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-root"]],decls:1,vars:0,template:function(e,r){1&e&&P(0,"router-outlet")},dependencies:[Fy]}),o})();function Eie(o,t){if(1&o){const e=j();d(0,"app-blade-list",4),T("add",function(){F(e);const n=m().$implicit,i=m();return S(n.add?n.add():i.skipIt())})("cancel",function(){F(e);const n=m().$implicit,i=m();return S(n.cancel?n.cancel():i.skipIt())})("selected",function(n){F(e);const i=m().$implicit,a=m();return S(i.selected?i.selected(n):a.skipIt())})("remove",function(n){F(e);const i=m().$implicit;return S(i.remove?i.remove(n):i.remove)}),u()}if(2&o){const e=m().$implicit;let r;g("listResponse",e.list)("title",null!==(r=null==e.list?null:e.list.title)&&void 0!==r?r:e.title)("items",e.items)("showAdd",!1!==e.showAdd)}}function Tie(o,t){if(1&o){const e=j();d(0,"app-blade-form",5),T("saved",function(){F(e);const n=m().$implicit;return S(m().saved(n))})("cancel",function(){F(e);const n=m().$implicit;return S(m().cancel(n))}),u()}if(2&o){const e=m().$implicit;g("headerExtension",e.headerExtension)("autoSave",!0)("form",e.form)}}function Fie(o,t){if(1&o&&(d(0,"div"),b(1,Eie,1,4,"app-blade-list",2),b(2,Tie,1,3,"app-blade-form",3),u()),2&o){const e=t.$implicit;p(1),g("ngIf",e.list||e.items),p(1),g("ngIf",e.form)}}let Sie=(()=>{class o{constructor(){}ngOnInit(){}skipIt(){}saved(e){e?.saved&&e.saved()}cancel(e){e?.cancel?e.cancel():e.bladesService.popBlade(e)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-blade-host"]],inputs:{bladesService:"bladesService"},decls:2,vars:1,consts:[[2,"display","flex","flex-direction","row"],[4,"ngFor","ngForOf"],[3,"listResponse","title","items","showAdd","add","cancel","selected","remove",4,"ngIf"],[3,"headerExtension","autoSave","form","saved","cancel",4,"ngIf"],[3,"listResponse","title","items","showAdd","add","cancel","selected","remove"],[3,"headerExtension","autoSave","form","saved","cancel"]],template:function(e,r){1&e&&(d(0,"div",0),b(1,Fie,3,2,"div",1),u()),2&e&&(p(1),g("ngForOf",r.bladesService.blades))}}),o})();function oo(o){return null!=o&&"false"!=`${o}`}function c1(o,t=0){return function Pie(o){return!isNaN(parseFloat(o))&&!isNaN(Number(o))}(o)?Number(o):t}function rf(o){return Array.isArray(o)?o:[o]}function jo(o){return null==o?"":"string"==typeof o?o:`${o}px`}function Po(o){return o instanceof dt?o.nativeElement:o}const nf={schedule(o){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:r}=nf;r&&(t=r.requestAnimationFrame,e=r.cancelAnimationFrame);const n=t(i=>{e=void 0,o(i)});return new M(()=>e?.(n))},requestAnimationFrame(...o){const{delegate:t}=nf;return(t?.requestAnimationFrame||requestAnimationFrame)(...o)},cancelAnimationFrame(...o){const{delegate:t}=nf;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...o)},delegate:void 0},LR=new class Oie extends sD{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let n;t=t||r.shift();do{if(n=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===e&&r.shift());if(this._active=!1,n){for(;(t=r[0])&&t.id===e&&r.shift();)t.unsubscribe();throw n}}}(class Aie extends aD{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,r=0){return null!==r&&r>0?super.requestAsyncId(t,e,r):(t.actions.push(this),t._scheduled||(t._scheduled=nf.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,r=0){var n;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,e,r);const{actions:i}=t;null!=e&&(null===(n=i[i.length-1])||void 0===n?void 0:n.id)!==e&&(nf.cancelAnimationFrame(e),t._scheduled=void 0)}});let zD,Rie=1;const d1={};function BR(o){return o in d1&&(delete d1[o],!0)}const Lie={setImmediate(o){const t=Rie++;return d1[t]=!0,zD||(zD=Promise.resolve()),zD.then(()=>BR(t)&&o()),t},clearImmediate(o){BR(o)}},{setImmediate:Bie,clearImmediate:Nie}=Lie,u1={setImmediate(...o){const{delegate:t}=u1;return(t?.setImmediate||Bie)(...o)},clearImmediate(o){const{delegate:t}=u1;return(t?.clearImmediate||Nie)(o)},delegate:void 0},YD=new class Vie extends sD{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let n;t=t||r.shift();do{if(n=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===e&&r.shift());if(this._active=!1,n){for(;(t=r[0])&&t.id===e&&r.shift();)t.unsubscribe();throw n}}}(class Hie extends aD{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,r=0){return null!==r&&r>0?super.requestAsyncId(t,e,r):(t.actions.push(this),t._scheduled||(t._scheduled=u1.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,r=0){var n;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,e,r);const{actions:i}=t;null!=e&&(null===(n=i[i.length-1])||void 0===n?void 0:n.id)!==e&&(u1.clearImmediate(e),t._scheduled===e&&(t._scheduled=void 0))}});function NR(o,t=Nm){return function $ie(o){return zr((t,e)=>{let r=!1,n=null,i=null,a=!1;const s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;const c=n;n=null,e.next(c)}a&&e.complete()},l=()=>{i=null,a&&e.complete()};t.subscribe(cr(e,c=>{r=!0,n=c,i||ao(o(c)).subscribe(i=cr(e,s,l))},()=>{a=!0,(!r||!i||i.closed)&&e.complete()}))})}(()=>Hm(o,t))}let jD;try{jD=typeof Intl<"u"&&Intl.v8BreakIterator}catch{jD=!1}let ph,bi=(()=>{class o{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Qv(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!jD)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return o.\u0275fac=function(e){return new(e||o)(Z(Id))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const HR=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function VR(){if(ph)return ph;if("object"!=typeof document||!document)return ph=new Set(HR),ph;let o=document.createElement("input");return ph=new Set(HR.filter(t=>(o.setAttribute("type",t),o.type===t))),ph}let af,tu,UD;function Ml(o){return function zie(){if(null==af&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>af=!0}))}finally{af=af||!1}return af}()?o:!!o.capture}function Yie(){if(null==tu){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return tu=!1,tu;if("scrollBehavior"in document.documentElement.style)tu=!0;else{const o=Element.prototype.scrollTo;tu=!!o&&!/\{\s*\[native code\]\s*\}/.test(o.toString())}}return tu}function WD(o){if(function jie(){if(null==UD){const o=typeof document<"u"?document.head:null;UD=!(!o||!o.createShadowRoot&&!o.attachShadow)}return UD}()){const t=o.getRootNode?o.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function sf(){let o=typeof document<"u"&&document?document.activeElement:null;for(;o&&o.shadowRoot;){const t=o.shadowRoot.activeElement;if(t===o)break;o=t}return o}function Ga(o){return o.composedPath?o.composedPath()[0]:o.target}function GD(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const Uie=new me("cdk-dir-doc",{providedIn:"root",factory:function Wie(){return to(bt)}}),Gie=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let qa=(()=>{class o{constructor(e){if(this.value="ltr",this.change=new ee,e){const n=e.documentElement?e.documentElement.dir:null;this.value=function qie(o){const t=o?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?Gie.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||n||"ltr")}}ngOnDestroy(){this.change.complete()}}return o.\u0275fac=function(e){return new(e||o)(Z(Uie,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),lf=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({}),o})(),$R=(()=>{class o{constructor(e,r,n){this._ngZone=e,this._platform=r,this._scrolled=new Ae,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const r=this.scrollContainers.get(e);r&&(r.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Nt(r=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(NR(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Xe()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(e,r){const n=this.getAncestorScrollContainers(e);return this.scrolled(r).pipe(Gr(i=>!i||n.indexOf(i)>-1))}getAncestorScrollContainers(e){const r=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,e)&&r.push(i)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,r){let n=Po(r),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>So(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return o.\u0275fac=function(e){return new(e||o)(Z(ct),Z(bi),Z(bt,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),qD=(()=>{class o{constructor(e,r,n){this._platform=e,this._change=new Ae,this._changeListener=i=>{this._change.next(i)},this._document=n,r.runOutsideAngular(()=>{if(e.isBrowser){const i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:r,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+r,height:n,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,r=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||r.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||r.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(NR(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return o.\u0275fac=function(e){return new(e||o)(Z(bi),Z(ct),Z(bt,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),ru=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({}),o})(),zR=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[lf,ru,lf,ru]}),o})();function cu(o,...t){return t.length?t.some(e=>o[e]):o.altKey||o.shiftKey||o.ctrlKey||o.metaKey}function KD(o,t=Nm){return zr((e,r)=>{let n=null,i=null,a=null;const s=()=>{if(n){n.unsubscribe(),n=null;const c=i;i=null,r.next(c)}};function l(){const c=a+o,h=t.now();if(h{i=c,a=t.now(),n||(n=t.schedule(l,o),r.add(n))},()=>{s(),r.complete()},void 0,()=>{i=n=null}))})}let YR=(()=>{class o{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),sae=(()=>{class o{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){const r=Po(e);return new Nt(n=>{const a=this._observeElement(r).subscribe(n);return()=>{a.unsubscribe(),this._unobserveElement(r)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const r=new Ae,n=this._mutationObserverFactory.create(i=>r.next(i));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:r,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:r,stream:n}=this._observedElements.get(e);r&&r.disconnect(),n.complete(),this._observedElements.delete(e)}}}return o.\u0275fac=function(e){return new(e||o)(Z(YR))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),jR=(()=>{class o{constructor(e,r,n){this._contentObserver=e,this._elementRef=r,this._ngZone=n,this.event=new ee,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=oo(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=c1(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(KD(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return o.\u0275fac=function(e){return new(e||o)(O(sae),O(dt),O(ct))},o.\u0275dir=Se({type:o,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),o})(),_1=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[YR]}),o})();const UR=new Set;let hh,lae=(()=>{class o{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):dae}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function cae(o){if(!UR.has(o))try{hh||(hh=document.createElement("style"),hh.setAttribute("type","text/css"),document.head.appendChild(hh)),hh.sheet&&(hh.sheet.insertRule(`@media ${o} {body{ }}`,0),UR.add(o))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return o.\u0275fac=function(e){return new(e||o)(Z(bi))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function dae(o){return{matches:"all"===o||""===o,media:o,addListener:()=>{},removeListener:()=>{}}}let uae=(()=>{class o{constructor(e,r){this._mediaMatcher=e,this._zone=r,this._queries=new Map,this._destroySubject=new Ae}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return WR(rf(e)).some(n=>this._registerQuery(n).mql.matches)}observe(e){let i=Cm(WR(rf(e)).map(a=>this._registerQuery(a).observable));return i=Xp(i.pipe(mr(1)),i.pipe(dD(1),KD(0))),i.pipe(Je(a=>{const s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const r=this._mediaMatcher.matchMedia(e),i={observable:new Nt(a=>{const s=l=>this._zone.run(()=>a.next(l));return r.addListener(s),()=>{r.removeListener(s)}}).pipe(Yo(r),Je(({matches:a})=>({query:e,matches:a})),fr(this._destroySubject)),mql:r};return this._queries.set(e,i),i}}return o.\u0275fac=function(e){return new(e||o)(Z(lae),Z(ct))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function WR(o){return o.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}class mae extends class gae{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ae,this._typeaheadSubscription=M.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Ae,this.change=new Ae,t instanceof Pd&&t.changes.subscribe(e=>{if(this._activeItem){const n=e.toArray().indexOf(this._activeItem);n>-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(co(e=>this._pressedLetters.push(e)),KD(t),Gr(()=>this._pressedLetters.length>0),Je(()=>this._pressedLetters.join(""))).subscribe(e=>{const r=this._getItemsArray();for(let n=1;n!t[i]||this._allowedModifierKeys.indexOf(i)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&n){this.setNextItemActive();break}return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||cu(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),r="number"==typeof t?t:e.indexOf(t);this._activeItem=e[r]??null,this._activeItemIndex=r}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let r=1;r<=e.length;r++){const n=(this._activeItemIndex+t*r+e.length)%e.length;if(!this._skipPredicateFn(e[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const r=this._getItemsArray();if(r[t]){for(;this._skipPredicateFn(r[t]);)if(!r[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof Pd?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let v1=(()=>{class o{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function _ae(o){return!!(o.offsetWidth||o.offsetHeight||"function"==typeof o.getClientRects&&o.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const r=function fae(o){try{return o.frameElement}catch{return null}}(function Mae(o){return o.ownerDocument&&o.ownerDocument.defaultView||window}(e));if(r&&(-1===ZR(r)||!this.isVisible(r)))return!1;let n=e.nodeName.toLowerCase(),i=ZR(e);return e.hasAttribute("contenteditable")?-1!==i:!("iframe"===n||"object"===n||this._platform.WEBKIT&&this._platform.IOS&&!function xae(o){let t=o.nodeName.toLowerCase(),e="input"===t&&o.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===n?!!e.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,r){return function Dae(o){return!function yae(o){return function Cae(o){return"input"==o.nodeName.toLowerCase()}(o)&&"hidden"==o.type}(o)&&(function vae(o){let t=o.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(o)||function bae(o){return function wae(o){return"a"==o.nodeName.toLowerCase()}(o)&&o.hasAttribute("href")}(o)||o.hasAttribute("contenteditable")||KR(o))}(e)&&!this.isDisabled(e)&&(r?.ignoreVisibility||this.isVisible(e))}}return o.\u0275fac=function(e){return new(e||o)(Z(bi))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function KR(o){if(!o.hasAttribute("tabindex")||void 0===o.tabIndex)return!1;let t=o.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function ZR(o){if(!KR(o))return null;const t=parseInt(o.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class kae{constructor(t,e,r,n,i=!1){this._element=t,this._checker=e,this._ngZone=r,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const r=this._getFirstTabbableElement(e);return r?.focus(t),!!r}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let r=0;r=0;r--){const n=e[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[r]):null;if(n)return n}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(mr(1)).subscribe(t)}}let y1=(()=>{class o{constructor(e,r,n){this._checker=e,this._ngZone=r,this._document=n}create(e,r=!1){return new kae(e,this._checker,this._ngZone,this._document,r)}}return o.\u0275fac=function(e){return new(e||o)(Z(v1),Z(ct),Z(bt))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Eae=(()=>{class o{constructor(e,r,n){this._elementRef=e,this._focusTrapFactory=r,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=oo(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=oo(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const r=e.autoCapture;r&&!r.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=sf(),this.focusTrap.focusInitialElementWhenReady()}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(y1),O(bt))},o.\u0275dir=Se({type:o,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Lr]}),o})();function b1(o){return 0===o.buttons||0===o.offsetX&&0===o.offsetY}function C1(o){const t=o.touches&&o.touches[0]||o.changedTouches&&o.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const Tae=new me("cdk-input-modality-detector-options"),Fae={ignoreKeys:[18,17,224,91,16]},gh=Ml({passive:!0,capture:!0});let Sae=(()=>{class o{constructor(e,r,n,i){this._platform=e,this._mostRecentTarget=null,this._modality=new Jr(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ga(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(b1(a)?"keyboard":"mouse"),this._mostRecentTarget=Ga(a))},this._onTouchstart=a=>{C1(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ga(a))},this._options={...Fae,...i},this.modalityDetected=this._modality.pipe(dD(1)),this.modalityChanged=this.modalityDetected.pipe(function jy(o,t=lt){return o=o??oJ,zr((e,r)=>{let n,i=!0;e.subscribe(cr(r,a=>{const s=t(a);(i||!o(n,s))&&(i=!1,n=s,r.next(a))}))})}()),e.isBrowser&&r.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,gh),n.addEventListener("mousedown",this._onMousedown,gh),n.addEventListener("touchstart",this._onTouchstart,gh)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,gh),document.removeEventListener("mousedown",this._onMousedown,gh),document.removeEventListener("touchstart",this._onTouchstart,gh))}}return o.\u0275fac=function(e){return new(e||o)(Z(bi),Z(ct),Z(bt),Z(Tae,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const Iae=new me("cdk-focus-monitor-default-options"),w1=Ml({passive:!0,capture:!0});let Pc=(()=>{class o{constructor(e,r,n,i,a){this._ngZone=e,this._platform=r,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ae,this._rootNodeFocusAndBlurListener=s=>{for(let c=Ga(s);c;c=c.parentElement)"focus"===s.type?this._onFocus(s,c):this._onBlur(s,c)},this._document=i,this._detectionMode=a?.detectionMode||0}monitor(e,r=!1){const n=Po(e);if(!this._platform.isBrowser||1!==n.nodeType)return Xe(null);const i=WD(n)||this._getDocument(),a=this._elementInfo.get(n);if(a)return r&&(a.checkChildren=!0),a.subject;const s={checkChildren:r,subject:new Ae,rootNode:i};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const r=Po(e),n=this._elementInfo.get(r);n&&(n.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(n))}focusVia(e,r,n){const i=Po(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([s,l])=>this._originChanged(s,r,l)):(this._setOrigin(r),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused","touch"===r),e.classList.toggle("cdk-keyboard-focused","keyboard"===r),e.classList.toggle("cdk-mouse-focused","mouse"===r),e.classList.toggle("cdk-program-focused","program"===r)}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&r,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,r){const n=this._elementInfo.get(r),i=Ga(e);!n||!n.checkChildren&&r!==i||this._originChanged(r,this._getFocusOrigin(i),n)}_onBlur(e,r){const n=this._elementInfo.get(r);!n||n.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(n,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const r=e.rootNode,n=this._rootNodeFocusListenerCount.get(r)||0;n||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,w1),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,w1)}),this._rootNodeFocusListenerCount.set(r,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(fr(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(e){const r=e.rootNode;if(this._rootNodeFocusListenerCount.has(r)){const n=this._rootNodeFocusListenerCount.get(r);n>1?this._rootNodeFocusListenerCount.set(r,n-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,w1),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,w1),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,n){this._setClasses(e,r),this._emitOrigin(n,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){const r=[];return this._elementInfo.forEach((n,i)=>{(i===e||n.checkChildren&&i.contains(e))&&r.push([i,n])}),r}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:r,mostRecentModality:n}=this._inputModalityDetector;if("mouse"!==n||!r||r===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const i=e.labels;if(i)for(let a=0;a{class o{constructor(e,r){this._elementRef=e,this._focusMonitor=r,this._focusOrigin=null,this.cdkFocusChange=new ee}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(Pc))},o.\u0275dir=Se({type:o,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),o})();const JR="cdk-high-contrast-black-on-white",QR="cdk-high-contrast-white-on-black",ZD="cdk-high-contrast-active";let eL=(()=>{class o{constructor(e,r){this._platform=e,this._document=r,this._breakpointSubscription=to(uae).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const r=this._document.defaultView||window,n=r&&r.getComputedStyle?r.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(e.remove(),i){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(ZD,JR,QR),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();1===r?e.add(ZD,JR):2===r&&e.add(ZD,QR)}}}return o.\u0275fac=function(e){return new(e||o)(Z(bi),Z(bt))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),XD=(()=>{class o{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return o.\u0275fac=function(e){return new(e||o)(Z(eL))},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[_1]}),o})();const Rae=new me("mat-sanity-checks",{providedIn:"root",factory:function Oae(){return!0}});let Io=(()=>{class o{constructor(e,r,n){this._sanityChecks=r,this._document=n,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!GD()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return o.\u0275fac=function(e){return new(e||o)(Z(eL),Z(Rae,8),Z(bt))},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[lf,lf]}),o})();function JD(o){return class extends o{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=oo(t)}}}function df(o,t){return class extends o{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const r=e||this.defaultColor;r!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),r&&this._elementRef.nativeElement.classList.add(`mat-${r}`),this._color=r)}}}function QD(o){return class extends o{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=oo(t)}}}function Bae(o){return class extends o{constructor(...t){super(...t),this.errorState=!1}updateErrorState(){const t=this.errorState,i=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);i!==t&&(this.errorState=i,this.stateChanges.next())}}}const oL=new me("MAT_DATE_LOCALE",{providedIn:"root",factory:function Nae(){return to(Ms)}});class wn{constructor(){this._localeChanges=new Ae,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let r=this.isValid(t),n=this.isValid(e);return r&&n?!this.compareDate(t,e):r==n}return t==e}clampDate(t,e,r){return e&&this.compareDate(t,e)<0?e:r&&this.compareDate(t,r)>0?r:t}}const du=new me("mat-date-formats");let nL=(()=>{class o{isErrorState(e,r){return!!(e&&e.invalid&&(e.touched||r&&r.submitted))}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class Hae{constructor(t,e,r,n=!1){this._renderer=t,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const iL={enterDuration:225,exitDuration:150},eM=Ml({passive:!0}),aL=["mousedown","touchstart"],sL=["mouseup","mouseleave","touchend","touchcancel"];class $ae{constructor(t,e,r,n){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Po(r))}fadeInRipple(t,e,r={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i={...iL,...r.animation};r.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);const a=r.radius||function zae(o,t,e){const r=Math.max(Math.abs(o-e.left),Math.abs(o-e.right)),n=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(r*r+n*n)}(t,e,n),s=t-n.left,l=e-n.top,c=i.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=s-a+"px",h.style.top=l-a+"px",h.style.height=2*a+"px",h.style.width=2*a+"px",null!=r.color&&(h.style.backgroundColor=r.color),h.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(h);const _=window.getComputedStyle(h),k=_.transitionDuration,A="none"===_.transitionProperty||"0s"===k||"0s, 0s"===k,B=new Hae(this,h,r,A);h.style.transform="scale3d(1, 1, 1)",B.state=0,r.persistent||(this._mostRecentTransientRipple=B);let z=null;return!A&&(c||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const W=()=>this._finishRippleTransition(B),q=()=>this._destroyRipple(B);h.addEventListener("transitionend",W),h.addEventListener("transitioncancel",q),z={onTransitionEnd:W,onTransitionCancel:q}}),this._activeRipples.set(B,z),(A||!c)&&this._finishRippleTransition(B),B}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,r={...iL,...t.config.animation};e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Po(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(aL))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(sL),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:r}=t.config;t.state=1,!r&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=b1(t),r=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,eM)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(aL.forEach(t=>{this._triggerElement.removeEventListener(t,this,eM)}),this._pointerUpEventsRegistered&&sL.forEach(t=>{this._triggerElement.removeEventListener(t,this,eM)}))}}const Yae=new me("mat-ripple-global-options");let x1=(()=>{class o{constructor(e,r,n,i,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new $ae(this,r,e,n)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,r=0,n){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,r,{...this.rippleConfig,...n}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(ct),O(bi),O(Yae,8),O(uc,8))},o.\u0275dir=Se({type:o,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,r){2&e&&ut("mat-ripple-unbounded",r.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),o})(),D1=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Io,Io]}),o})();class lL{}const kl="*";function Ic(o,t){return{type:7,name:o,definitions:t,options:{}}}function Jn(o,t=null){return{type:4,styles:t,timings:o}}function cL(o,t=null){return{type:3,steps:o,options:t}}function dL(o,t=null){return{type:2,steps:o,options:t}}function Qr(o){return{type:6,styles:o,offset:null}}function ua(o,t,e){return{type:0,name:o,styles:t,options:e}}function uL(o){return{type:5,steps:o}}function Qn(o,t,e=null){return{type:1,expr:o,animation:t,options:e}}function pL(o=null){return{type:9,options:o}}function hL(o,t,e=null){return{type:11,selector:o,animation:t,options:e}}function gL(o){Promise.resolve().then(o)}class pf{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){gL(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}}class mL{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,r=0,n=0;const i=this.players.length;0==i?gL(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==i&&this._onFinish()}),a.onDestroy(()=>{++r==i&&this._onDestroy()}),a.onStart(()=>{++n==i&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(r=>{const n=r.totalTime?Math.min(1,e/r.totalTime):1;r.setPosition(n)})}getPosition(){const t=this.players.reduce((e,r)=>null===e||r.totalTime>e.totalTime?r:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}}let Wae=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Nr,Io,ru,ru,Io]}),o})(),M1=(()=>{class o{constructor(e){this.nuviotClient=e}getPublicContentItemsByKey(e){return this.nuviotClient.request(`/api/sitecontent/public/${e}/all`)}getPublicContentItemByKey(e,r){return this.nuviotClient.request(`/api/sitecontent/${e}/${r}/public`)}getContentTypes(){return this.nuviotClient.request("/api/sitecontent/contenttypes")}getFilteredSiteContent(e){return this.nuviotClient.getListResponse(`/api/sitecontent/${e}/all`)}getSiteContentItemsForOrgNS(e,r){return this.nuviotClient.request(`/api/sitecontent/${e}/${r}/all`)}getSiteContentForOrgNS(e,r,n){return this.nuviotClient.request(`/api/content/${e}/${r}/${n}`)}getAllSiteContent(){return this.nuviotClient.getListResponse("/api/sitecontent/all")}createSiteContent(){return this.nuviotClient.getFormResponse("/api/sitecontent/factory")}getSiteContent(e){return this.nuviotClient.request(`/api/sitecontent/${e}`)}getSiteContentForEditing(e){return this.nuviotClient.getFormResponse(`/api/sitecontent/${e}/edit`)}editRevision(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/sitecontent/revision/factory");return n.model=e,n.isEditing=!0,n})()}addSiteContent(e){return this.nuviotClient.post("/api/sitecontent",e)}publishSiteContent(e){return this.nuviotClient.updateWithFormResponse("/api/sitecontent/revision/publish",e)}updateSiteContent(e){return this.nuviotClient.update("/api/sitecontent",e)}contentTypes(){return this.nuviotClient.request("/api/sitecontent/contenttypes")}deleteSiteContent(e){return this.nuviotClient.delete(`/api/sitecontent/${e}`)}getSharedContentItems(e){return this.nuviotClient.getListResponse(`/api/sharedcontent/${e}/list`)}getSharedContent(e){return this.nuviotClient.getFormResponse(`/api/sharedcontent/${e}`)}getRawSharedContent(e){return this.nuviotClient.request(`/api/sharedcontent/${e}/raw`)}createSharedContent(e){return this.nuviotClient.getFormResponse(`/api/sharedcontent/${e}/factory`)}addSharedContent(e){return this.nuviotClient.post("/api/sharedcontent",e)}updateSharedContent(e){return this.nuviotClient.update("/api/sharedcontent",e)}deleteSharedContent(e){return this.nuviotClient.delete(`/api/sharedcontent/${e}`)}saveSharedContent(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateSharedContent(e.model);{let n=yield r.addSharedContent(e.model);return n.successful&&(e.isEditing=!0),n}})()}createNewSiteContent(){var e=this;return E(function*(){return e.nuviotClient.getFormResponse("/api/sitecontent/new")})()}saveSiteContent(e){var r=this;return E(function*(){return r.nuviotClient.post("/api/sitecontent/create",e.model)})()}addDocumentTemplate(e){var r=this;return E(function*(){return r.nuviotClient.post("/api/documenttemplate",e)})()}updateDocumentTemplate(e){var r=this;return E(function*(){return r.nuviotClient.post("/api/documenttemplate",e)})()}getDocumentTemplate(e){var r=this;return E(function*(){return r.nuviotClient.getFormResponse(`/api/documenttemplate/${e}`)})()}createDocumentTemplate(){var e=this;return E(function*(){return e.nuviotClient.getFormResponse("/api/documenttemplate/factory")})()}getDocumentTemplates(){var e=this;return E(function*(){return e.nuviotClient.getListResponse("/api/documenttemplates")})()}getDocumentTemplatesByType(e){var r=this;return E(function*(){return r.nuviotClient.getListResponse(`/api/documenttemplates/${e}`)})()}deleteDocumentTemplate(e){var r=this;return E(function*(){return r.nuviotClient.delete(`/api/documenttemplate/${e}`)})()}saveDocumentTemplate(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateDocumentTemplate(e.model);{let n=yield r.addDocumentTemplate(e.model);return n.successful&&(e.isEditing=!0),n}})()}getProposalTemplateTags(){return this.nuviotClient.request("/api/business/proposal/tags")}getDocumentTags(e,r){return this.nuviotClient.request(`/api/document/${e}/tags?signature=${r}`)}getProposalPreviewHtml(e){return this.nuviotClient.postWithResponse("/api/business/proposal/template/preview",e)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),rM=(()=>{class o{constructor(e){this.contentService=e}transform(e,r){var n=this;return E(function*(){if(e.startsWith("sharedcontentid=")){let i=e.replace("sharedcontentid=","");return(yield n.contentService.getRawSharedContent(i)).result}return e})()}}return o.\u0275fac=function(e){return new(e||o)(O(M1,16))},o.\u0275pipe=ur({name:"sharedContent",type:o,pure:!0}),o})();class uu extends Error{}class Kae extends uu{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Zae extends uu{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Xae extends uu{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class hf extends uu{}class fL extends uu{constructor(t){super(`Invalid unit ${t}`)}}class pa extends uu{}class Ac extends uu{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Ka="short",zi="long",oM={year:Ke,month:Ke,day:Ke},_L={year:Ke,month:Ka,day:Ke},Jae={year:Ke,month:Ka,day:Ke,weekday:Ka},vL={year:Ke,month:zi,day:Ke},yL={year:Ke,month:zi,day:Ke,weekday:zi},bL={hour:Ke,minute:Ke},CL={hour:Ke,minute:Ke,second:Ke},wL={hour:Ke,minute:Ke,second:Ke,timeZoneName:Ka},xL={hour:Ke,minute:Ke,second:Ke,timeZoneName:zi},DL={hour:Ke,minute:Ke,hourCycle:"h23"},ML={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},kL={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Ka},EL={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:zi},TL={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},FL={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},SL={year:Ke,month:Ka,day:Ke,hour:Ke,minute:Ke},PL={year:Ke,month:Ka,day:Ke,hour:Ke,minute:Ke,second:Ke},Qae={year:Ke,month:Ka,day:Ke,weekday:Ka,hour:Ke,minute:Ke},IL={year:Ke,month:zi,day:Ke,hour:Ke,minute:Ke,timeZoneName:Ka},AL={year:Ke,month:zi,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Ka},OL={year:Ke,month:zi,day:Ke,weekday:zi,hour:Ke,minute:Ke,timeZoneName:zi},RL={year:Ke,month:zi,day:Ke,weekday:zi,hour:Ke,minute:Ke,second:Ke,timeZoneName:zi};function vr(o){return typeof o>"u"}function pu(o){return"number"==typeof o}function k1(o){return"number"==typeof o&&o%1==0}function LL(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function BL(o,t,e){if(0!==o.length)return o.reduce((r,n)=>{const i=[t(n),n];return r&&e(r[0],i[0])===r[0]?r:i},null)[1]}function mh(o,t){return Object.prototype.hasOwnProperty.call(o,t)}function El(o,t,e){return k1(o)&&o>=t&&o<=e}function Uo(o,t=2){let r;return r=o<0?"-"+(""+-o).padStart(t,"0"):(""+o).padStart(t,"0"),r}function Oc(o){if(!vr(o)&&null!==o&&""!==o)return parseInt(o,10)}function hu(o){if(!vr(o)&&null!==o&&""!==o)return parseFloat(o)}function nM(o){if(!vr(o)&&null!==o&&""!==o){const t=1e3*parseFloat("0."+o);return Math.floor(t)}}function iM(o,t,e=!1){const r=10**t;return(e?Math.trunc:Math.round)(o*r)/r}function gf(o){return o%4==0&&(o%100!=0||o%400==0)}function mf(o){return gf(o)?366:365}function E1(o,t){const e=function nse(o,t){return o-t*Math.floor(o/t)}(t-1,12)+1;return 2===e?gf(o+(t-e)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][e-1]}function aM(o){let t=Date.UTC(o.year,o.month-1,o.day,o.hour,o.minute,o.second,o.millisecond);return o.year<100&&o.year>=0&&(t=new Date(t),t.setUTCFullYear(t.getUTCFullYear()-1900)),+t}function T1(o){const t=(o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400))%7,e=o-1,r=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7;return 4===t||3===r?53:52}function sM(o){return o>99?o:o>60?1900+o:2e3+o}function NL(o,t,e,r=null){const n=new Date(o),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a={timeZoneName:t,...i},s=new Intl.DateTimeFormat(e,a).formatToParts(n).find(l=>"timezonename"===l.type.toLowerCase());return s?s.value:null}function F1(o,t){let e=parseInt(o,10);Number.isNaN(e)&&(e=0);const r=parseInt(t,10)||0;return 60*e+(e<0||Object.is(e,-0)?-r:r)}function HL(o){const t=Number(o);if("boolean"==typeof o||""===o||Number.isNaN(t))throw new pa(`Invalid unit value ${o}`);return t}function S1(o,t){const e={};for(const r in o)if(mh(o,r)){const n=o[r];if(null==n)continue;e[t(r)]=HL(n)}return e}function ff(o,t){const e=Math.trunc(Math.abs(o/60)),r=Math.trunc(Math.abs(o%60)),n=o>=0?"+":"-";switch(t){case"short":return`${n}${Uo(e,2)}:${Uo(r,2)}`;case"narrow":return`${n}${e}${r>0?`:${r}`:""}`;case"techie":return`${n}${Uo(e,2)}${Uo(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function P1(o){return function ose(o,t){return t.reduce((e,r)=>(e[r]=o[r],e),{})}(o,["hour","minute","second","millisecond"])}const VL=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,ise=["January","February","March","April","May","June","July","August","September","October","November","December"],$L=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ase=["J","F","M","A","M","J","J","A","S","O","N","D"];function zL(o){switch(o){case"narrow":return[...ase];case"short":return[...$L];case"long":return[...ise];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const YL=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],jL=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],sse=["M","T","W","T","F","S","S"];function UL(o){switch(o){case"narrow":return[...sse];case"short":return[...jL];case"long":return[...YL];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const WL=["AM","PM"],lse=["Before Christ","Anno Domini"],cse=["BC","AD"],dse=["B","A"];function GL(o){switch(o){case"narrow":return[...dse];case"short":return[...cse];case"long":return[...lse];default:return null}}function qL(o,t){let e="";for(const r of o)e+=r.literal?r.val:t(r.val);return e}const fse={D:oM,DD:_L,DDD:vL,DDDD:yL,t:bL,tt:CL,ttt:wL,tttt:xL,T:DL,TT:ML,TTT:kL,TTTT:EL,f:TL,ff:SL,fff:IL,ffff:OL,F:FL,FF:PL,FFF:AL,FFFF:RL};class ei{static create(t,e={}){return new ei(t,e)}static parseFormat(t){let e=null,r="",n=!1;const i=[];for(let a=0;a0&&i.push({literal:n,val:r}),e=null,r="",n=!n):n||s===e?r+=s:(r.length>0&&i.push({literal:!1,val:r}),r=s,e=s)}return r.length>0&&i.push({literal:n,val:r}),i}static macroTokenToFormatOpts(t){return fse[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}formatDateTime(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e}).format()}formatDateTimeParts(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e}).formatToParts()}resolvedOptions(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e}).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Uo(t,e);const r={...this.opts};return e>0&&(r.padTo=e),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,e){const r="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,i=(k,A)=>this.loc.extract(t,k,A),a=k=>t.isOffsetFixed&&0===t.offset&&k.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,k.format):"",l=(k,A)=>r?function hse(o,t){return zL(t)[o.month-1]}(t,k):i(A?{month:k}:{month:k,day:"numeric"},"month"),c=(k,A)=>r?function pse(o,t){return UL(t)[o.weekday-1]}(t,k):i(A?{weekday:k}:{weekday:k,month:"long",day:"numeric"},"weekday"),h=k=>{const A=ei.macroTokenToFormatOpts(k);return A?this.formatWithSystemDefault(t,A):k},_=k=>r?function gse(o,t){return GL(t)[o.year<0?0:1]}(t,k):i({era:k},"era");return qL(ei.parseFormat(e),k=>{switch(k){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return r?function use(o){return WL[o.hour<12?0:1]}(t):i({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return n?i({day:"numeric"},"day"):this.num(t.day);case"dd":return n?i({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?i({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?i({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return n?i({month:"numeric"},"month"):this.num(t.month);case"MM":return n?i({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return n?i({year:"numeric"},"year"):this.num(t.year);case"yy":return n?i({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?i({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?i({year:"numeric"},"year"):this.num(t.year,6);case"G":return _("short");case"GG":return _("long");case"GGGGG":return _("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return h(k)}})}formatDurationFromString(t,e){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},i=ei.parseFormat(e),a=i.reduce((l,{literal:c,val:h})=>c?l:l.concat(h),[]);return qL(i,(l=>c=>{const h=r(c);return h?this.num(l.get(h),c.length):c})(t.shiftTo(...a.map(r).filter(l=>l))))}}class Za{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}class _f{get type(){throw new Ac}get name(){throw new Ac}get ianaName(){return this.name}get isUniversal(){throw new Ac}offsetName(t,e){throw new Ac}formatOffset(t,e){throw new Ac}offset(t){throw new Ac}equals(t){throw new Ac}get isValid(){throw new Ac}}let lM=null;class I1 extends _f{static get instance(){return null===lM&&(lM=new I1),lM}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:r}){return NL(t,e,r)}formatOffset(t,e){return ff(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let A1={};const vse={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let O1={};class Tl extends _f{static create(t){return O1[t]||(O1[t]=new Tl(t)),O1[t]}static resetCache(){O1={},A1={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Tl.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:r}){return NL(t,e,r,this.name)}formatOffset(t,e){return ff(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const r=function _se(o){return A1[o]||(A1[o]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:o,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),A1[o]}(this.name);let[n,i,a,s,l,c,h]=r.formatToParts?function bse(o,t){const e=o.formatToParts(t),r=[];for(let n=0;n=0?A:1e3+A,(aM({year:n,month:i,day:a,hour:24===l?0:l,minute:c,second:h,millisecond:0})-k)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let cM=null;class ti extends _f{static get utcInstance(){return null===cM&&(cM=new ti(0)),cM}static instance(t){return 0===t?ti.utcInstance:new ti(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ti(F1(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ff(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ff(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ff(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Cse extends _f{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Rc(o,t){if(vr(o)||null===o)return t;if(o instanceof _f)return o;if(function ese(o){return"string"==typeof o}(o)){const r=o.toLowerCase();return"default"===r?t:"local"===r||"system"===r?I1.instance:"utc"===r||"gmt"===r?ti.utcInstance:ti.parseSpecifier(r)||Tl.create(o)}return pu(o)?ti.instance(o):"object"==typeof o&&o.offset&&"number"==typeof o.offset?o:new Cse(o)}let e6,KL=()=>Date.now(),ZL="system",XL=null,JL=null,QL=null;class rn{static get now(){return KL}static set now(t){KL=t}static set defaultZone(t){ZL=t}static get defaultZone(){return Rc(ZL,I1.instance)}static get defaultLocale(){return XL}static set defaultLocale(t){XL=t}static get defaultNumberingSystem(){return JL}static set defaultNumberingSystem(t){JL=t}static get defaultOutputCalendar(){return QL}static set defaultOutputCalendar(t){QL=t}static get throwOnInvalid(){return e6}static set throwOnInvalid(t){e6=t}static resetCaches(){po.resetCache(),Tl.resetCache()}}let t6={},dM={};function uM(o,t={}){const e=JSON.stringify([o,t]);let r=dM[e];return r||(r=new Intl.DateTimeFormat(o,t),dM[e]=r),r}let pM={},hM={},vf=null;function R1(o,t,e,r,n){const i=o.listingMode(e);return"error"===i?null:"en"===i?r(t):n(t)}class Pse{constructor(t,e,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:n,floor:i,...a}=r;if(!e||Object.keys(a).length>0){const s={useGrouping:!1,...r};r.padTo>0&&(s.minimumIntegerDigits=r.padTo),this.inf=function xse(o,t={}){const e=JSON.stringify([o,t]);let r=pM[e];return r||(r=new Intl.NumberFormat(o,t),pM[e]=r),r}(t,s)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Uo(this.floor?Math.floor(t):iM(t,3),this.padTo)}}class Ise{constructor(t,e,r){let n;if(this.opts=r,t.zone.isUniversal){const a=t.offset/60*-1,s=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;0!==t.offset&&Tl.create(s).valid?(n=s,this.dt=t):(n="UTC",this.dt=r.timeZoneName||0===t.offset?t:At.fromMillis(t.ts+60*t.offset*1e3))}else"system"===t.zone.type?this.dt=t:(this.dt=t,n=t.zone.name);const i={...this.opts};n&&(i.timeZone=n),this.dtf=uM(e,i)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ase{constructor(t,e,r){this.opts={style:"long",...r},!e&&LL()&&(this.rtf=function Dse(o,t={}){const{base:e,...r}=t,n=JSON.stringify([o,r]);let i=hM[n];return i||(i=new Intl.RelativeTimeFormat(o,t),hM[n]=i),i}(t,r))}format(t,e){return this.rtf?this.rtf.format(t,e):function mse(o,t,e="always",r=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(o);if("auto"===e&&i){const _="days"===o;switch(t){case 1:return _?"tomorrow":`next ${n[o][0]}`;case-1:return _?"yesterday":`last ${n[o][0]}`;case 0:return _?"today":`this ${n[o][0]}`}}const a=Object.is(t,-0)||t<0,s=Math.abs(t),l=1===s,c=n[o],h=r?l?c[1]:c[2]||c[1]:l?n[o][0]:o;return a?`${s} ${h} ago`:`in ${s} ${h}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}class po{static fromOpts(t){return po.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,e,r,n=!1){const i=t||rn.defaultLocale,a=i||(n?"en-US":function Mse(){return vf||(vf=(new Intl.DateTimeFormat).resolvedOptions().locale,vf)}());return new po(a,e||rn.defaultNumberingSystem,r||rn.defaultOutputCalendar,i)}static resetCache(){vf=null,dM={},pM={},hM={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:r}={}){return po.create(t,e,r)}constructor(t,e,r,n){const[i,a,s]=function kse(o){const t=o.indexOf("-u-");if(-1===t)return[o];{let e;const r=o.substring(0,t);try{e=uM(o).resolvedOptions()}catch{e=uM(r).resolvedOptions()}const{numberingSystem:n,calendar:i}=e;return[r,n,i]}}(t);this.locale=i,this.numberingSystem=e||a||null,this.outputCalendar=r||s||null,this.intl=function Ese(o,t,e){return(e||t)&&(o+="-u",e&&(o+=`-ca-${e}`),t&&(o+=`-nu-${t}`)),o}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=function Sse(o){return(!o.numberingSystem||"latn"===o.numberingSystem)&&("latn"===o.numberingSystem||!o.locale||o.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(o.intl).resolvedOptions().numberingSystem)}(this)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?po.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1,r=!0){return R1(this,t,r,zL,()=>{const n=e?{month:t,day:"numeric"}:{month:t},i=e?"format":"standalone";return this.monthsCache[i][t]||(this.monthsCache[i][t]=function Tse(o){const t=[];for(let e=1;e<=12;e++){const r=At.utc(2016,e,1);t.push(o(r))}return t}(a=>this.extract(a,n,"month"))),this.monthsCache[i][t]})}weekdays(t,e=!1,r=!0){return R1(this,t,r,UL,()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=e?"format":"standalone";return this.weekdaysCache[i][t]||(this.weekdaysCache[i][t]=function Fse(o){const t=[];for(let e=1;e<=7;e++){const r=At.utc(2016,11,13+e);t.push(o(r))}return t}(a=>this.extract(a,n,"weekday"))),this.weekdaysCache[i][t]})}meridiems(t=!0){return R1(this,void 0,t,()=>WL,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[At.utc(2016,11,13,9),At.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(t,e=!0){return R1(this,t,e,GL,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[At.utc(-40,1,1),At.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[t]})}extract(t,e,r){const a=this.dtFormatter(t,e).formatToParts().find(s=>s.type.toLowerCase()===r);return a?a.value:null}numberFormatter(t={}){return new Pse(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ise(t,this.intl,e)}relFormatter(t={}){return new Ase(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function wse(o,t={}){const e=JSON.stringify([o,t]);let r=t6[e];return r||(r=new Intl.ListFormat(o,t),t6[e]=r),r}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}function fh(...o){const t=o.reduce((e,r)=>e+r.source,"");return RegExp(`^${t}$`)}function _h(...o){return t=>o.reduce(([e,r,n],i)=>{const[a,s,l]=i(t,n);return[{...e,...a},s||r,l]},[{},null,1]).slice(0,2)}function vh(o,...t){if(null==o)return[null,null];for(const[e,r]of t){const n=e.exec(o);if(n)return r(n)}return[null,null]}function r6(...o){return(t,e)=>{const r={};let n;for(n=0;nvoid 0!==k&&(A||k&&h)?-k:k;return[{years:C(hu(e)),months:C(hu(r)),weeks:C(hu(n)),days:C(hu(i)),hours:C(hu(a)),minutes:C(hu(s)),seconds:C(hu(l),"-0"===l),milliseconds:C(nM(c),_)}]}const Wse={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function fM(o,t,e,r,n,i,a){const s={year:2===t.length?sM(Oc(t)):Oc(t),month:$L.indexOf(e)+1,day:Oc(r),hour:Oc(n),minute:Oc(i)};return a&&(s.second=Oc(a)),o&&(s.weekday=o.length>3?YL.indexOf(o)+1:jL.indexOf(o)+1),s}const Gse=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qse(o){const[,t,e,r,n,i,a,s,l,c,h,_]=o,C=fM(t,n,r,e,i,a,s);let k;return k=l?Wse[l]:c?0:F1(h,_),[C,new ti(k)]}const Zse=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Xse=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Jse=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function a6(o){const[,t,e,r,n,i,a,s]=o;return[fM(t,n,r,e,i,a,s),ti.utcInstance]}function Qse(o){const[,t,e,r,n,i,a,s]=o;return[fM(t,s,e,r,n,i,a),ti.utcInstance]}const ele=fh(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,mM),tle=fh(/(\d{4})-?W(\d\d)(?:-?(\d))?/,mM),rle=fh(/(\d{4})-?(\d{3})/,mM),ole=fh(n6),s6=_h(function zse(o,t){return[{year:yh(o,t),month:yh(o,t+1,1),day:yh(o,t+2,1)},null,t+3]},bh,yf,bf),nle=_h(Nse,bh,yf,bf),ile=_h(Hse,bh,yf,bf),ale=_h(bh,yf,bf),ule=_h(bh),hle=fh(/(\d{4})-(\d\d)-(\d\d)/,$se),gle=fh(i6),mle=_h(bh,yf,bf),l6={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},vle={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...l6},ha=365.2425,Ch=30.436875,yle={years:{quarters:4,months:12,weeks:ha/7,days:ha,hours:24*ha,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:ha/28,days:ha/4,hours:24*ha/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:Ch/7,days:Ch,hours:24*Ch,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...l6},gu=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ble=gu.slice(0).reverse();function Lc(o,t,e=!1){const r={values:e?t.values:{...o.values,...t.values||{}},loc:o.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||o.conversionAccuracy,matrix:t.matrix||o.matrix};return new br(r)}function c6(o,t,e,r,n){const i=o[n][e],a=t[e]/i,l=Math.sign(a)!==Math.sign(r[n])&&0!==r[n]&&Math.abs(a)<=1?function Cle(o){return o<0?Math.floor(o):Math.ceil(o)}(a):Math.trunc(a);r[n]+=l,t[e]-=l*i}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let r=e?yle:vle;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||po.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new pa("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:S1(t,br.normalizeUnit),loc:po.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(pu(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new pa(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[r]=function dle(o){return vh(o,[jse,Use])}(t);return r?br.fromObject(r,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[r]=function ple(o){return vh(o,[Yse,ule])}(t);return r?br.fromObject(r,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new pa("need to specify a reason the Duration is invalid");const r=t instanceof Za?t:new Za(t,e);if(rn.throwOnInvalid)throw new Xae(r);return new br({invalid:r})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!e)throw new fL(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const r={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ei.create(this.loc,r).formatDurationFromString(this,t):"Invalid Duration"}toHuman(t={}){const e=gu.map(r=>{const n=this.values[r];return vr(n)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(n)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(t+=iM(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t};const r=this.shiftTo("hours","minutes","seconds","milliseconds");let n="basic"===t.format?"hhmm":"hh:mm";(!t.suppressSeconds||0!==r.seconds||0!==r.milliseconds)&&(n+="basic"===t.format?"ss":":ss",(!t.suppressMilliseconds||0!==r.milliseconds)&&(n+=".SSS"));let i=r.toFormat(n);return t.includePrefix&&(i="T"+i),i}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),r={};for(const n of gu)(mh(e.values,n)||mh(this.values,n))&&(r[n]=e.get(n)+this.get(n));return Lc(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const r of Object.keys(this.values))e[r]=HL(t(this.values[r],r));return Lc(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){return this.isValid?Lc(this,{values:{...this.values,...S1(t,br.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:r,matrix:n}={}){return Lc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:r})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return function wle(o,t){ble.reduce((e,r)=>vr(t[r])?e:(e&&c6(o,t,e,t,r),r),null)}(this.matrix,t),Lc(this,{values:t},!0)}rescale(){return this.isValid?Lc(this,{values:function xle(o){const t={};for(const[e,r]of Object.entries(o))0!==r&&(t[e]=r);return t}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(a=>br.normalizeUnit(a));const e={},r={},n=this.toObject();let i;for(const a of gu)if(t.indexOf(a)>=0){i=a;let s=0;for(const c in r)s+=this.matrix[c][a]*r[c],r[c]=0;pu(n[a])&&(s+=n[a]);const l=Math.trunc(s);e[a]=l,r[a]=(1e3*s-1e3*l)/1e3;for(const c in n)gu.indexOf(c)>gu.indexOf(a)&&c6(this.matrix,n,c,e,a)}else pu(n[a])&&(r[a]=n[a]);for(const a in r)0!==r[a]&&(e[i]+=a===i?r[a]:r[a]/this.matrix[i][a]);return Lc(this,{values:e},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return Lc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function e(r,n){return void 0===r||0===r?void 0===n||0===n:r===n}for(const r of gu)if(!e(this.values[r],t.values[r]))return!1;return!0}}const Cf="Invalid Interval";class Ao{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new pa("need to specify a reason the Interval is invalid");const r=t instanceof Za?t:new Za(t,e);if(rn.throwOnInvalid)throw new Zae(r);return new Ao({invalid:r})}static fromDateTimes(t,e){const r=Df(t),n=Df(e),i=function Dle(o,t){return o&&o.isValid?t&&t.isValid?tt}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?Ao.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(Df).filter(a=>this.contains(a)).sort(),r=[];let{s:n}=this,i=0;for(;n+this.e?this.e:a;r.push(Ao.fromDateTimes(n,s)),n=s,i+=1}return r}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:r}=this,n=1;const a=[];for(;rl*n));i=+s>+this.e?this.e:s,a.push(Ao.fromDateTimes(r,i)),r=i,n+=1}return a}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,r=this.e=r?null:Ao.fromDateTimes(e,r)}union(t){return this.isValid?Ao.fromDateTimes(this.st.e?this.e:t.e):this}static merge(t){const[e,r]=t.sort((n,i)=>n.s-i.s).reduce(([n,i],a)=>i?i.overlaps(a)||i.abutsStart(a)?[n,i.union(a)]:[n.concat([i]),a]:[n,a],[[],null]);return r&&e.push(r),e}static xor(t){let e=null,r=0;const n=[],i=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),s=Array.prototype.concat(...i).sort((l,c)=>l.time-c.time);for(const l of s)r+="s"===l.type?1:-1,1===r?e=l.time:(e&&+e!=+l.time&&n.push(Ao.fromDateTimes(e,l.time)),e=null);return Ao.merge(n)}difference(...t){return Ao.xor([this].concat(t)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Cf}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Cf}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Cf}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Cf}toFormat(t,{separator:e=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Cf}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return Ao.fromDateTimes(t(this.s),t(this.e))}}class L1{static hasDST(t=rn.defaultZone){const e=At.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Tl.isValidZone(t)}static normalizeZone(t){return Rc(t,rn.defaultZone)}static months(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||po.create(e,r,i)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||po.create(e,r,i)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null}={}){return(n||po.create(e,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null}={}){return(n||po.create(e,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return po.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return po.create(e,null,"gregory").eras(t)}static features(){return{relative:LL()}}}function d6(o,t){const e=n=>n.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=e(t)-e(o);return Math.floor(br.fromMillis(r).as("days"))}const _M={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},u6={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ele=_M.hanidec.replace(/[\[|\]]/g,"").split("");function Xa({numberingSystem:o},t=""){return new RegExp(`${_M[o||"latn"]}${t}`)}function Ir(o,t=(e=>e)){return{regex:o,deser:([e])=>t(function Tle(o){let t=parseInt(o,10);if(isNaN(t)){t="";for(let e=0;e=i&&r<=a&&(t+=r-i)}}return parseInt(t,10)}return t}(e))}}const p6=`[ ${String.fromCharCode(160)}]`,h6=new RegExp(p6,"g");function Sle(o){return o.replace(/\./g,"\\.?").replace(h6,p6)}function g6(o){return o.replace(/\./g,"").replace(h6," ").toLowerCase()}function Ja(o,t){return null===o?null:{regex:RegExp(o.map(Sle).join("|")),deser:([e])=>o.findIndex(r=>g6(e)===g6(r))+t}}function m6(o,t){return{regex:o,deser:([,e,r])=>F1(e,r),groups:t}}function vM(o){return{regex:o,deser:([t])=>t}}function Ple(o){return o.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}const Ale={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let yM=null;function f6(o,t){return Array.prototype.concat(...o.map(e=>function Hle(o,t){if(o.literal)return o;const r=v6(ei.macroTokenToFormatOpts(o.val),t);return null==r||r.includes(void 0)?o:r}(e,t)))}function _6(o,t,e){const r=f6(ei.parseFormat(e),o),n=r.map(a=>function Ile(o,t){const e=Xa(t),r=Xa(t,"{2}"),n=Xa(t,"{3}"),i=Xa(t,"{4}"),a=Xa(t,"{6}"),s=Xa(t,"{1,2}"),l=Xa(t,"{1,3}"),c=Xa(t,"{1,6}"),h=Xa(t,"{1,9}"),_=Xa(t,"{2,4}"),C=Xa(t,"{4,6}"),k=z=>({regex:RegExp(Ple(z.val)),deser:([W])=>W,literal:!0}),B=(z=>{if(o.literal)return k(z);switch(z.val){case"G":return Ja(t.eras("short",!1),0);case"GG":return Ja(t.eras("long",!1),0);case"y":return Ir(c);case"yy":case"kk":return Ir(_,sM);case"yyyy":case"kkkk":return Ir(i);case"yyyyy":return Ir(C);case"yyyyyy":return Ir(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Ir(s);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Ir(r);case"MMM":return Ja(t.months("short",!0,!1),1);case"MMMM":return Ja(t.months("long",!0,!1),1);case"LLL":return Ja(t.months("short",!1,!1),1);case"LLLL":return Ja(t.months("long",!1,!1),1);case"o":case"S":return Ir(l);case"ooo":case"SSS":return Ir(n);case"u":return vM(h);case"uu":return vM(s);case"uuu":case"E":case"c":return Ir(e);case"a":return Ja(t.meridiems(),0);case"EEE":return Ja(t.weekdays("short",!1,!1),1);case"EEEE":return Ja(t.weekdays("long",!1,!1),1);case"ccc":return Ja(t.weekdays("short",!0,!1),1);case"cccc":return Ja(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return m6(new RegExp(`([+-]${s.source})(?::(${r.source}))?`),2);case"ZZZ":return m6(new RegExp(`([+-]${s.source})(${r.source})?`),2);case"z":return vM(/[a-z_+-/]{1,256}?/i);default:return k(z)}})(o)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return B.token=o,B}(a,o)),i=n.find(a=>a.invalidReason);if(i)return{input:t,tokens:r,invalidReason:i.invalidReason};{const[a,s]=function Rle(o){return[`^${o.map(e=>e.regex).reduce((e,r)=>`${e}(${r.source})`,"")}$`,o]}(n),l=RegExp(a,"i"),[c,h]=function Lle(o,t,e){const r=o.match(t);if(r){const n={};let i=1;for(const a in e)if(mh(e,a)){const s=e[a],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(n[s.token.val[0]]=s.deser(r.slice(i,i+l))),i+=l}return[r,n]}return[r,{}]}(t,l,s),[_,C,k]=h?function Ble(o){let r,e=null;return vr(o.z)||(e=Tl.create(o.z)),vr(o.Z)||(e||(e=new ti(o.Z)),r=o.Z),vr(o.q)||(o.M=3*(o.q-1)+1),vr(o.h)||(o.h<12&&1===o.a?o.h+=12:12===o.h&&0===o.a&&(o.h=0)),0===o.G&&o.y&&(o.y=-o.y),vr(o.u)||(o.S=nM(o.u)),[Object.keys(o).reduce((i,a)=>{const s=(i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(a);return s&&(i[s]=o[a]),i},{}),e,r]}(h):[null,null,void 0];if(mh(h,"a")&&mh(h,"H"))throw new hf("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:c,matches:h,result:_,zone:C,specificOffset:k}}}function v6(o,t){return o?ei.create(t,o).formatDateTimeParts(function Nle(){return yM||(yM=At.fromMillis(1555555555555)),yM}()).map(n=>function Ole(o,t,e){const{type:r,value:n}=o;if("literal"===r)return{literal:!0,val:n};let a=Ale[r];return"object"==typeof a&&(a=a[e[r]]),a?{literal:!1,val:a}:void 0}(n,0,o)):null}const y6=[0,31,59,90,120,151,181,212,243,273,304,334],b6=[0,31,60,91,121,152,182,213,244,274,305,335];function ga(o,t){return new Za("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${o}, which is invalid`)}function C6(o,t,e){const r=new Date(Date.UTC(o,t-1,e));o<100&&o>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const n=r.getUTCDay();return 0===n?7:n}function w6(o,t,e){return e+(gf(o)?b6:y6)[t-1]}function x6(o,t){const e=gf(o)?b6:y6,r=e.findIndex(i=>iT1(t)?(s=t+1,a=1):s=t,{weekYear:s,weekNumber:a,weekday:i,...P1(o)}}function D6(o){const{weekYear:t,weekNumber:e,weekday:r}=o,n=C6(t,1,4),i=mf(t);let s,a=7*e+r-n-3;a<1?(s=t-1,a+=mf(s)):a>i?(s=t+1,a-=mf(t)):s=t;const{month:l,day:c}=x6(s,a);return{year:s,month:l,day:c,...P1(o)}}function CM(o){const{year:t,month:e,day:r}=o;return{year:t,ordinal:w6(t,e,r),...P1(o)}}function M6(o){const{year:t,ordinal:e}=o,{month:r,day:n}=x6(t,e);return{year:t,month:r,day:n,...P1(o)}}function k6(o){const t=k1(o.year),e=El(o.month,1,12),r=El(o.day,1,E1(o.year,o.month));return t?e?!r&&ga("day",o.day):ga("month",o.month):ga("year",o.year)}function E6(o){const{hour:t,minute:e,second:r,millisecond:n}=o,i=El(t,0,23)||24===t&&0===e&&0===r&&0===n,a=El(e,0,59),s=El(r,0,59),l=El(n,0,999);return i?a?s?!l&&ga("millisecond",n):ga("second",r):ga("minute",e):ga("hour",t)}const wM="Invalid DateTime",T6=864e13;function B1(o){return new Za("unsupported zone",`the zone "${o.name}" is not supported`)}function xM(o){return null===o.weekData&&(o.weekData=bM(o.c)),o.weekData}function wf(o,t){const e={ts:o.ts,zone:o.zone,c:o.c,o:o.o,loc:o.loc,invalid:o.invalid};return new At({...e,...t,old:e})}function F6(o,t,e){let r=o-60*t*1e3;const n=e.offset(r);if(t===n)return[r,t];r-=60*(n-t)*1e3;const i=e.offset(r);return n===i?[r,n]:[o-60*Math.min(n,i)*1e3,Math.max(n,i)]}function S6(o,t){const e=new Date(o+=60*t*1e3);return{year:e.getUTCFullYear(),month:e.getUTCMonth()+1,day:e.getUTCDate(),hour:e.getUTCHours(),minute:e.getUTCMinutes(),second:e.getUTCSeconds(),millisecond:e.getUTCMilliseconds()}}function N1(o,t,e){return F6(aM(o),t,e)}function P6(o,t){const e=o.o,r=o.c.year+Math.trunc(t.years),n=o.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),i={...o.c,year:r,month:n,day:Math.min(o.c.day,E1(r,n))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},a=br.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),s=aM(i);let[l,c]=F6(s,e,o.zone);return 0!==a&&(l+=a,c=o.zone.offset(l)),{ts:l,o:c}}function xf(o,t,e,r,n,i){const{setZone:a,zone:s}=e;if(o&&0!==Object.keys(o).length){const l=t||s,c=At.fromObject(o,{...e,zone:l,specificOffset:i});return a?c:c.setZone(s)}return At.invalid(new Za("unparsable",`the input "${n}" can't be parsed as ${r}`))}function H1(o,t,e=!0){return o.isValid?ei.create(po.create("en-US"),{allowZ:e,forceSimple:!0}).formatDateTimeFromString(o,t):null}function DM(o,t){const e=o.c.year>9999||o.c.year<0;let r="";return e&&o.c.year>=0&&(r+="+"),r+=Uo(o.c.year,e?6:4),t?(r+="-",r+=Uo(o.c.month),r+="-",r+=Uo(o.c.day)):(r+=Uo(o.c.month),r+=Uo(o.c.day)),r}function I6(o,t,e,r,n,i){let a=Uo(o.c.hour);return t?(a+=":",a+=Uo(o.c.minute),(0!==o.c.second||!e)&&(a+=":")):a+=Uo(o.c.minute),(0!==o.c.second||!e)&&(a+=Uo(o.c.second),(0!==o.c.millisecond||!r)&&(a+=".",a+=Uo(o.c.millisecond,3))),n&&(o.isOffsetFixed&&0===o.offset&&!i?a+="Z":o.o<0?(a+="-",a+=Uo(Math.trunc(-o.o/60)),a+=":",a+=Uo(Math.trunc(-o.o%60))):(a+="+",a+=Uo(Math.trunc(o.o/60)),a+=":",a+=Uo(Math.trunc(o.o%60)))),i&&(a+="["+o.zone.ianaName+"]"),a}const A6={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Yle={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},jle={ordinal:1,hour:0,minute:0,second:0,millisecond:0},O6=["year","month","day","hour","minute","second","millisecond"],Ule=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Wle=["year","ordinal","hour","minute","second","millisecond"];function R6(o){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[o.toLowerCase()];if(!t)throw new fL(o);return t}function L6(o,t){const e=Rc(t.zone,rn.defaultZone),r=po.fromObject(t),n=rn.now();let i,a;if(vr(o.year))i=n;else{for(const c of O6)vr(o[c])&&(o[c]=A6[c]);const s=k6(o)||E6(o);if(s)return At.invalid(s);const l=e.offset(n);[i,a]=N1(o,l,e)}return new At({ts:i,zone:e,loc:r,o:a})}function B6(o,t,e){const r=!!vr(e.round)||e.round,n=(a,s)=>(a=iM(a,r||e.calendary?0:2,!0),t.loc.clone(e).relFormatter(e).format(a,s)),i=a=>e.calendary?t.hasSame(o,a)?0:t.startOf(a).diff(o.startOf(a),a).get(a):t.diff(o,a).get(a);if(e.unit)return n(i(e.unit),e.unit);for(const a of e.units){const s=i(a);if(Math.abs(s)>=1)return n(s,a)}return n(o>t?-0:0,e.units[e.units.length-1])}function N6(o){let e,t={};return o.length>0&&"object"==typeof o[o.length-1]?(t=o[o.length-1],e=Array.from(o).slice(0,o.length-1)):e=Array.from(o),[t,e]}class At{constructor(t){const e=t.zone||rn.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Za("invalid input"):null)||(e.isValid?null:B1(e));this.ts=vr(t.ts)?rn.now():t.ts;let n=null,i=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,i]=[t.old.c,t.old.o];else{const s=e.offset(this.ts);n=S6(this.ts,s),r=Number.isNaN(n.year)?new Za("invalid input"):null,n=r?null:n,i=r?null:s}this._zone=e,this.loc=t.loc||po.create(),this.invalid=r,this.weekData=null,this.c=n,this.o=i,this.isLuxonDateTime=!0}static now(){return new At({})}static local(){const[t,e]=N6(arguments),[r,n,i,a,s,l,c]=e;return L6({year:r,month:n,day:i,hour:a,minute:s,second:l,millisecond:c},t)}static utc(){const[t,e]=N6(arguments),[r,n,i,a,s,l,c]=e;return t.zone=ti.utcInstance,L6({year:r,month:n,day:i,hour:a,minute:s,second:l,millisecond:c},t)}static fromJSDate(t,e={}){const r=function tse(o){return"[object Date]"===Object.prototype.toString.call(o)}(t)?t.valueOf():NaN;if(Number.isNaN(r))return At.invalid("invalid input");const n=Rc(e.zone,rn.defaultZone);return n.isValid?new At({ts:r,zone:n,loc:po.fromObject(e)}):At.invalid(B1(n))}static fromMillis(t,e={}){if(pu(t))return t<-T6||t>T6?At.invalid("Timestamp out of range"):new At({ts:t,zone:Rc(e.zone,rn.defaultZone),loc:po.fromObject(e)});throw new pa(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(pu(t))return new At({ts:1e3*t,zone:Rc(e.zone,rn.defaultZone),loc:po.fromObject(e)});throw new pa("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const r=Rc(e.zone,rn.defaultZone);if(!r.isValid)return At.invalid(B1(r));const n=rn.now(),i=vr(e.specificOffset)?r.offset(n):e.specificOffset,a=S1(t,R6),s=!vr(a.ordinal),l=!vr(a.year),c=!vr(a.month)||!vr(a.day),h=l||c,_=a.weekYear||a.weekNumber,C=po.fromObject(e);if((h||s)&&_)throw new hf("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&s)throw new hf("Can't mix ordinal dates with month/day");const k=_||a.weekday&&!h;let A,B,z=S6(n,i);k?(A=Ule,B=Yle,z=bM(z)):s?(A=Wle,B=jle,z=CM(z)):(A=O6,B=A6);let W=!1;for(const ye of A)vr(a[ye])?a[ye]=W?B[ye]:z[ye]:W=!0;const q=k?function $le(o){const t=k1(o.weekYear),e=El(o.weekNumber,1,T1(o.weekYear)),r=El(o.weekday,1,7);return t?e?!r&&ga("weekday",o.weekday):ga("week",o.week):ga("weekYear",o.weekYear)}(a):s?function zle(o){const t=k1(o.year),e=El(o.ordinal,1,mf(o.year));return t?!e&&ga("ordinal",o.ordinal):ga("year",o.year)}(a):k6(a),G=q||E6(a);if(G)return At.invalid(G);const X=k?D6(a):s?M6(a):a,[oe,de]=N1(X,i,r),fe=new At({ts:oe,zone:r,o:de,loc:C});return a.weekday&&h&&t.weekday!==fe.weekday?At.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${fe.toISO()}`):fe}static fromISO(t,e={}){const[r,n]=function sle(o){return vh(o,[ele,s6],[tle,nle],[rle,ile],[ole,ale])}(t);return xf(r,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[r,n]=function lle(o){return vh(function Kse(o){return o.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(o),[Gse,qse])}(t);return xf(r,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[r,n]=function cle(o){return vh(o,[Zse,a6],[Xse,a6],[Jse,Qse])}(t);return xf(r,n,e,"HTTP",e)}static fromFormat(t,e,r={}){if(vr(t)||vr(e))throw new pa("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:i=null}=r,a=po.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0}),[s,l,c,h]=function Vle(o,t,e){const{result:r,zone:n,specificOffset:i,invalidReason:a}=_6(o,t,e);return[r,n,i,a]}(a,t,e);return h?At.invalid(h):xf(s,l,r,`format ${e}`,t,c)}static fromString(t,e,r={}){return At.fromFormat(t,e,r)}static fromSQL(t,e={}){const[r,n]=function fle(o){return vh(o,[hle,s6],[gle,mle])}(t);return xf(r,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new pa("need to specify a reason the DateTime is invalid");const r=t instanceof Za?t:new Za(t,e);if(rn.throwOnInvalid)throw new Kae(r);return new At({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const r=v6(t,po.fromObject(e));return r?r.map(n=>n?n.val:null).join(""):null}static expandFormat(t,e={}){return f6(ei.parseFormat(t),po.fromObject(e)).map(n=>n.val).join("")}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?xM(this).weekYear:NaN}get weekNumber(){return this.isValid?xM(this).weekNumber:NaN}get weekday(){return this.isValid?xM(this).weekday:NaN}get ordinal(){return this.isValid?CM(this.c).ordinal:NaN}get monthShort(){return this.isValid?L1.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?L1.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?L1.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?L1.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}get isInLeapYear(){return gf(this.year)}get daysInMonth(){return E1(this.year,this.month)}get daysInYear(){return this.isValid?mf(this.year):NaN}get weeksInWeekYear(){return this.isValid?T1(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:r,calendar:n}=ei.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:r,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(ti.instance(t),e)}toLocal(){return this.setZone(rn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:r=!1}={}){if((t=Rc(t,rn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||r){const i=t.offset(this.ts),a=this.toObject();[n]=N1(a,i,t)}return wf(this,{ts:n,zone:t})}return At.invalid(B1(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:r}={}){return wf(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:r})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=S1(t,R6),r=!vr(e.weekYear)||!vr(e.weekNumber)||!vr(e.weekday),n=!vr(e.ordinal),i=!vr(e.year),a=!vr(e.month)||!vr(e.day);if((i||a||n)&&(e.weekYear||e.weekNumber))throw new hf("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&n)throw new hf("Can't mix ordinal dates with month/day");let c;r?c=D6({...bM(this.c),...e}):vr(e.ordinal)?(c={...this.toObject(),...e},vr(e.day)&&(c.day=Math.min(E1(c.year,c.month),c.day))):c=M6({...CM(this.c),...e});const[h,_]=N1(c,this.o,this.zone);return wf(this,{ts:h,o:_})}plus(t){return this.isValid?wf(this,P6(this,br.fromDurationLike(t))):this}minus(t){return this.isValid?wf(this,P6(this,br.fromDurationLike(t).negate())):this}startOf(t){if(!this.isValid)return this;const e={},r=br.normalizeUnit(t);switch(r){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}if("weeks"===r&&(e.weekday=1),"quarters"===r){const n=Math.ceil(this.month/3);e.month=3*(n-1)+1}return this.set(e)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,e={}){return this.isValid?ei.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):wM}toLocaleString(t=oM,e={}){return this.isValid?ei.create(this.loc.clone(e),t).formatDateTime(this):wM}toLocaleParts(t={}){return this.isValid?ei.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:r=!1,includeOffset:n=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const a="extended"===t;let s=DM(this,a);return s+="T",s+=I6(this,a,e,r,n,i),s}toISODate({format:t="extended"}={}){return this.isValid?DM(this,"extended"===t):null}toISOWeekDate(){return H1(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:r=!0,includePrefix:n=!1,extendedZone:i=!1,format:a="extended"}={}){return this.isValid?(n?"T":"")+I6(this,"extended"===a,e,t,r,i):null}toRFC2822(){return H1(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return H1(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?DM(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:r=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(r&&(n+=" "),e?n+="z":t&&(n+="ZZ")),H1(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():wM}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",r={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=function rse(o){return Array.isArray(o)?o:[o]}(e).map(br.normalizeUnit),a=t.valueOf()>this.valueOf(),c=function kle(o,t,e,r){let[n,i,a,s]=function Mle(o,t,e){const r=[["years",(s,l)=>l.year-s.year],["quarters",(s,l)=>l.quarter-s.quarter+4*(l.year-s.year)],["months",(s,l)=>l.month-s.month+12*(l.year-s.year)],["weeks",(s,l)=>{const c=d6(s,l);return(c-c%7)/7}],["days",d6]],n={};let i,a;for(const[s,l]of r)if(e.indexOf(s)>=0){i=s;let c=l(o,t);a=o.plus({[s]:c}),a>t?(o=o.plus({[s]:c-1}),c-=1):o=a,n[s]=c}return[o,n,a,i]}(o,t,e);const l=t-n,c=e.filter(_=>["hours","minutes","seconds","milliseconds"].indexOf(_)>=0);0===c.length&&(a0?br.fromMillis(l,r).shiftTo(...c).plus(h):h}(a?this:t,a?t:this,i,n);return a?c.negate():c}diffNow(t="milliseconds",e={}){return this.diff(At.now(),t,e)}until(t){return this.isValid?Ao.fromDateTimes(this,t):this}hasSame(t,e){if(!this.isValid)return!1;const r=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e)<=r&&r<=n.endOf(e)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||At.fromObject({},{zone:this.zone}),r=t.padding?thise.valueOf(),Math.min)}static max(...t){if(!t.every(At.isDateTime))throw new pa("max requires all arguments be DateTimes");return BL(t,e=>e.valueOf(),Math.max)}static fromFormatExplain(t,e,r={}){const{locale:n=null,numberingSystem:i=null}=r;return _6(po.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,r={}){return At.fromFormatExplain(t,e,r)}static get DATE_SHORT(){return oM}static get DATE_MED(){return _L}static get DATE_MED_WITH_WEEKDAY(){return Jae}static get DATE_FULL(){return vL}static get DATE_HUGE(){return yL}static get TIME_SIMPLE(){return bL}static get TIME_WITH_SECONDS(){return CL}static get TIME_WITH_SHORT_OFFSET(){return wL}static get TIME_WITH_LONG_OFFSET(){return xL}static get TIME_24_SIMPLE(){return DL}static get TIME_24_WITH_SECONDS(){return ML}static get TIME_24_WITH_SHORT_OFFSET(){return kL}static get TIME_24_WITH_LONG_OFFSET(){return EL}static get DATETIME_SHORT(){return TL}static get DATETIME_SHORT_WITH_SECONDS(){return FL}static get DATETIME_MED(){return SL}static get DATETIME_MED_WITH_SECONDS(){return PL}static get DATETIME_MED_WITH_WEEKDAY(){return Qae}static get DATETIME_FULL(){return IL}static get DATETIME_FULL_WITH_SECONDS(){return AL}static get DATETIME_HUGE(){return OL}static get DATETIME_HUGE_WITH_SECONDS(){return RL}}function Df(o){if(At.isDateTime(o))return o;if(o&&o.valueOf&&pu(o.valueOf()))return At.fromJSDate(o);if(o&&"object"==typeof o)return At.fromObject(o);throw new pa(`Unknown datetime argument: ${o}, of type ${typeof o}`)}let H6=(()=>{class o{constructor(){this.timezone=Intl.DateTimeFormat().resolvedOptions().timeZone}getLocalDateTime(e){if(10==e.length){let r=new Date(e);return At.fromJSDate(r)}return At.fromISO(e,{zone:"utc"}).setZone(this.timezone)}formatDate(e,r="M/d/yyyy"){var n=this.getLocalDateTime(e);return n.year>1900?n.toFormat(r):"-"}transform(e,r){return e?this.formatDate(e,r):"-"}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=ur({name:"datePrinter",type:o,pure:!0}),o})(),V6=(()=>{class o{transform(e,r){return 0==e||e?(e=parseFloat(e)).toLocaleString("en-US",{style:"currency",currency:"USD"}):""}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=ur({name:"moneyPrinter",type:o,pure:!0}),o})(),$6=(()=>{class o{transform(e){return null==e||null==e?"-":"true"==e.toString()?"Yes":"No"}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=ur({name:"trueFalsePrinter",type:o,pure:!0}),o})(),z6=(()=>{class o{constructor(e){this.sanitizer=e}transform(e){let r=this.sanitizer.bypassSecurityTrustResourceUrl(e);return console.log(r),r}}return o.\u0275fac=function(e){return new(e||o)(O(fc,16))},o.\u0275pipe=ur({name:"safeNuviotLink",type:o,pure:!0}),o})(),MM=(()=>{class o{transform(e){if(e){let a=new Date(e),l=+new Date(Date.now())-+a;var r=6e4,n=60*r,i=24*n;if(l>i){let c=Math.floor(l/i);return 1==c?`${Math.floor(l/i)} day ago`:c<8?`${Math.floor(l/i)} days ago`:a.toLocaleDateString()}return l>n?`${Math.floor(l/n)} hour(s) ago`:l>r?`${Math.floor(l/r)} minute(s) ago`:"just now"}return"-"}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=ur({name:"lastAccessPrinter",type:o,pure:!0}),o})(),Y6=(()=>{class o{transform(e,r){if(e){const n=e.indexOf(":");let i=0,a=0;-1!==n?(i=parseInt(e.substr(0,n)),a=parseInt(e.substr(n+1))):(i=parseInt(e.substr(0,2)),a=parseInt(e.substr(2)));let s="am",l=a.toString();return i>11&&(s="pm",i>12&&(i-=12)),a<10&&(l="0"+a),console.log("hh",i,a,l,s),`${i}:${l} ${s}`}return"-"}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=ur({name:"timePrinter",type:o,pure:!0}),o})(),j6=(()=>{class o{transform(e,r){return e>1048576?(e/1048576).toFixed(2)+" MB":e>1024?(e/1024).toFixed(2)+" KB":e>0?e+" Bytes":void 0}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=ur({name:"fileSize",type:o,pure:!0}),o})(),kM=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({}),o})(),EM=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Nr]}),o})(),TM=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Io,Io]}),o})(),U6=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Nr]}),o})(),Jle=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Ts,Nr,TM,$D,EM,U6]}),o})(),Ct=(()=>{class o{constructor(){this.debug=!1,this.isEnabled=!0,this.inputType="text",this.hasValue=!1,this.isValid=!0,this.showValidationErrors=!1}get field(){return this._field}set field(e){this._field=e,this.fieldSet(e)}fieldSet(e){}onFocus(e){this.validate(),this.showValidationErrors=!0}onBlur(e){this.validate()}changed(e){this.field.propertyChanged&&this.field.propertyChanged(this.field),this.field.internalValueChanged&&this.field.internalValueChanged(this.field)}validateRegEx(){return this.isRegexInvalid=null!==this.field.value&&this.field.value.length>0&&!!this.field.regEx&&null===this.field.value.match(this.regEx),this.debug&&console.log("is reg ex valid",this.isRegexInvalid,this.field.value,this.regEx,this.regExMessage),this.isRegexInvalid}textChanged(e){this.validate()}validate(){return this.showValidationErrors=!0,"EntityHeaderPicker"===this.field.fieldType||"ProductPicker"===this.field.fieldType||"UserPicker"===this.field.fieldType?(this.debug&&console.log(this.field),this.hasValue=this.field.value&&this.field.value.id&&this.field.value.text,this.isValid=!0):(this.hasValue=0===this.field.value||!!this.field.value&&("0"==this.field.value.toString()||this.field.value.toString().length>0),this.debug&&console.log("Validating field",this.field.name,"value=",this.field.value,"isRequired=",this.field.isRequired,"hasValue=",this.hasValue),this.hasValue&&(this.isValid=!this.validateRegEx())),this.debug&&console.log(`Validating ${this.field.name}`,"valid=",this.isValid,"hv=",this.hasValue),this.isValid&&(this.hasValue||!this.field.isRequired)}ngOnInit(){this.field.host=this,this.popupId=`#popupHelp${this.field.name}`,this.isDirty=!1,this.isRegexInvalid=!1,this.field.regEx?(this.regEx=this.field.regEx,this.regExMessage=this.field.regExMessage):"Decimal"===this.field.fieldType?(this.regEx="^[-+]?[0-9]*.?[0-9]+$",this.regExMessage="Please enter a valid decimal number.",this.inputType="number"):"Integer"===this.field.fieldType&&(this.regEx="^\\d+$",this.regExMessage="Please enter a valid integer number.",this.inputType="number")}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-form-field-base"]],inputs:{field:"field",model:"model",view:"view",host:"host",form:"form"},decls:2,vars:0,template:function(e,r){1&e&&(d(0,"p"),v(1," form-field-base works!\n"),u())}}),o})(),rr=(()=>{class o{constructor(){}ngOnInit(){this.ariaLabel="popupHelp"+this.field.name,this.modalName="myModel"+this.field}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-form-field-help"]],inputs:{field:"field"},decls:12,vars:4,consts:[["tabindex","-1","role","dialog","data-backdrop","false",1,"modal","fade",3,"id"],["role","document",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title",2,"color","var(--color-primary)"],["data-dismiss","modal","aria-label","Close",1,"action"],["aria-hidden","true",2,"font-size","48px"],[1,"modal-body"],[2,"white-space","pre-wrap"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h4",4),v(5),u(),d(6,"span",5)(7,"span",6),v(8,"\xd7"),u()()(),d(9,"div",7)(10,"p",8),v(11),u()()()()()),2&e&&(cc("id","popupHelp",r.field.name,""),Re("aria-labelledby",r.ariaLabel),p(5),ce(" Help - ",r.field.label," "),p(6),ae(r.field.help))},styles:[".modal-dialog[_ngcontent-%COMP%], .modal-content[_ngcontent-%COMP%]{background-color:-var(--color-bg);color:-var(--color-fg)}.modal-header[_ngcontent-%COMP%], .modal-body[_ngcontent-%COMP%]{color:#000}"]}),o})();function Qle(o,t){if(1&o&&(d(0,"div",2),v(1),u()),2&o){const e=m(2);p(1),ce(" ",e.requiredMessage," ")}}function ece(o,t){if(1&o&&(d(0,"div",2),v(1),u()),2&o){const e=m(2);p(1),ce(" ",e.regExMessage," ")}}function tce(o,t){if(1&o&&(d(0,"div"),b(1,Qle,2,1,"div",1),b(2,ece,2,1,"div",1),u()),2&o){const e=m();p(1),g("ngIf",!e.hasValue&&e.isRequired),p(1),g("ngIf",e.isRegexInvalid&&e.hasValue)}}let ar=(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-form-field-validation-section"]],inputs:{isRequired:"isRequired",hasValue:"hasValue",showValidationErrors:"showValidationErrors",isRegexInvalid:"isRegexInvalid",requiredMessage:"requiredMessage",regExMessage:"regExMessage"},decls:1,vars:1,consts:[[4,"ngIf"],["style","color:red",4,"ngIf"],[2,"color","red"]],template:function(e,r){1&e&&b(0,tce,3,2,"div",0),2&e&&g("ngIf",r.showValidationErrors)},dependencies:[ve]}),o})();const rce=["keyField"];function oce(o,t){if(1&o&&(d(0,"h6"),P(1,"i",4),v(2),u()),2&o){const e=m();p(2),ce(" ",e.field.value,"\n")}}function nce(o,t){1&o&&P(0,"i",9),2&o&&Re("data-target",m(2).popupId)}function ice(o,t){if(1&o){const e=j();d(0,"div",5)(1,"input",6,7),T("ngModelChange",function(n){return F(e),S(m().field.value=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){F(e);const i=m();return i.onBlur(n),S(i.isEditing=!1)}),u(),b(3,nce,1,1,"i",8),u()}if(2&o){const e=m();p(1),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.field.value)("type",e.inputType)("disabled",!e.field.isUserEditable),p(2),g("ngIf",e.field.help)}}let ace=(()=>{class o extends Ct{constructor(){super(),this.isEditing=!1}showEdit(){this.isEditing=!0,setTimeout(()=>{this.nameInput.nativeElement.focus(),this.nameInput.nativeElement.select()},0)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-key"]],viewQuery:function(e,r){if(1&e&&Yt(rce,5),2&e){let n;ze(n=Ye())&&(r.nameInput=n.first)}},features:[Te],decls:4,vars:9,consts:[[4,"ngIf"],["class","input-group",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[1,"fa","fa-key"],[1,"input-group"],[1,"form-control",3,"name","id","ngModel","type","disabled","placeholder","ngModelChange","change","input","focus","blur"],["keyField",""],["class","fa fa-question","data-toggle","modal","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],["data-toggle","modal",1,"fa","fa-question",2,"cursor","pointer","color","#A0A0A0"]],template:function(e,r){1&e&&(b(0,oce,3,1,"h6",0),b(1,ice,4,9,"div",1),P(2,"app-form-field-validation-section",2)(3,"app-form-field-help",3)),2&e&&(g("ngIf",!r.isEditing),p(1),g("ngIf",r.isEditing),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,mt,It,ve,rr,ar]}),o})();const sce=["nameField"];function lce(o,t){if(1&o){const e=j();d(0,"div",6),T("click",function(){return F(e),S(m().showEdit())}),v(1),P(2,"i",7),u()}if(2&o){const e=m();p(1),ce(" ",e.field.value," ")}}function cce(o,t){if(1&o){const e=j();d(0,"input",8,9),T("ngModelChange",function(n){return F(e),S(m().field.value=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){F(e);const i=m();return i.onBlur(n),S(i.isEditing=!1)}),u()}if(2&o){const e=m();Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.field.value)("type",e.inputType)("disabled",!e.field.isUserEditable)}}function dce(o,t){1&o&&P(0,"i",10),2&o&&Re("data-target",m().popupId)}let uce=(()=>{class o extends Ct{constructor(){super(),this.isEditing=!1}ngOnInit(){super.ngOnInit(),this.field.value||this.showEdit()}showEdit(){this.isEditing=!0,setTimeout(()=>{this.nameInput.nativeElement.focus(),this.nameInput.nativeElement.select()},0)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-name"]],viewQuery:function(e,r){if(1&e&&Yt(sce,5),2&e){let n;ze(n=Ye())&&(r.nameInput=n.first)}},features:[Te],decls:6,vars:10,consts:[["class","read-only-name",3,"click",4,"ngIf"],[1,"form-group"],["class","form-control",3,"name","id","ngModel","type","disabled","background-color","placeholder","ngModelChange","change","input","focus","blur",4,"ngIf"],["class","fa fa-question","data-toggle","modal","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[1,"read-only-name",3,"click"],[1,"fa","fas","fa-pencil"],[1,"form-control",3,"name","id","ngModel","type","disabled","placeholder","ngModelChange","change","input","focus","blur"],["nameField",""],["data-toggle","modal",1,"fa","fa-question",2,"cursor","pointer","color","#A0A0A0"]],template:function(e,r){1&e&&(b(0,lce,3,1,"div",0),d(1,"div",1),b(2,cce,2,8,"input",2),b(3,dce,1,1,"i",3),u(),P(4,"app-form-field-validation-section",4)(5,"app-form-field-help",5)),2&e&&(g("ngIf",!r.isEditing),p(2),g("ngIf",r.isEditing),p(1),g("ngIf",r.field.help),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,mt,It,ve,rr,ar],styles:[".read-only-name[_ngcontent-%COMP%], input[_ngcontent-%COMP%]{font-size:24px}.read-only-name[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:none}.read-only-name[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{display:inline}"]}),o})(),wh=(()=>{class o{constructor(e,r){this.nuviotClient=e,this.storage=r}getTimeEntriesForTask(e,r,n,i){return this.nuviotClient.postForListResponse("/api/time/entries",{startDate:e,endDate:r,userId:i,workTaskId:n})}getTimeEntriesForUser(e,r,n){return this.nuviotClient.postForListResponse("/api/time/entries",{startDate:e,endDate:r,userId:n})}addTimeEntry(e){var r=this;return E(function*(){const n={project:e.project,workTask:e.workTask},i=yield r.storage.getItemAsync("time-entry-mru");if(i){const a=JSON.parse(i),s=a.find(l=>l.workTask.id===n.workTask.id);s&&a.splice(a.indexOf(s),1),a.splice(10),a.unshift(n),yield r.storage.setItemAsync("time-entry-mru",JSON.stringify(a))}else{const a=[];a.unshift(n),yield r.storage.setItemAsync("time-entry-mru",JSON.stringify(a))}return yield r.nuviotClient.postWithResponse("/api/time/entry",e)})()}updateTimeEntry(e){return this.nuviotClient.updateWithResponse("/api/time/entry",e)}deleteTimeEntry(e){return this.nuviotClient.delete(`/api/time/entry/${e}`)}getExpensesForTask(e,r,n,i){return this.nuviotClient.postForListResponse("/api/expense",{startDate:e,endDate:r,userId:i,taskId:n})}createLocationDiagram(){return this.nuviotClient.getFormResponse("/api/customer/diagram/factory")}getExpensesForUser(e,r,n){return this.nuviotClient.postForListResponse("/api/expense",{startDate:e,endDate:r,userId:n})}addExpenses(e){return this.nuviotClient.postWithResponse("/api/expense",e)}updateExpenses(e){return this.nuviotClient.updateWithResponse("/api/expense",e)}deleteExpenses(e){return this.nuviotClient.delete(`/api/expense/${e}`)}getCallLogForCustomer(e){return this.nuviotClient.getListResponse(`/api/customer/${e}/calllogs`)}getCallLogForCustomerContact(e,r){return this.nuviotClient.getListResponse(`/api/customer/${e}/contact/${r}/calllogs`)}createWorkRole(){return this.nuviotClient.getFormResponse("/api/workrole/factory")}getWorkRole(e){return this.nuviotClient.getFormResponse(`/api/workrole/${e}`)}addWorkRole(e){return this.nuviotClient.post("/api/workrole",e)}updateWorkRole(e){return this.nuviotClient.update("/api/workrole",e)}getWorkRoles(){return this.nuviotClient.getListResponse("/api/workroles")}createBudgetItem(e,r){return this.nuviotClient.getFormResponse(`/api/budget/lineitem/${e}/${r}/factory`)}getBudgetItem(e){return this.nuviotClient.getFormResponse(`/api/budget/lineitem/${e}`)}deleteBudgetItem(e){return this.nuviotClient.delete(`/api/budget/lineitem/${e}`)}addBudgetItem(e){return this.nuviotClient.post("/api/budget/lineitem",e)}updateBudgetItem(e){return this.nuviotClient.update("/api/budget/lineitem",e)}getBudgetItemsForMonth(e,r){return this.nuviotClient.request(`/api/budget/month/${e}/${r}`)}getBudgetItemsForYear(e){return this.nuviotClient.request(`/api/budget/year/${e}`)}cloneBudgetItemsForMonth(e,r,n,i){return this.nuviotClient.request(`/api/budget/clone/${e}/${r}/to/${n}/${i}`)}createIndustry(){return this.nuviotClient.getFormResponse("/api/industry/factory")}getIndustry(e){return this.nuviotClient.getFormResponse(`/api/industry/${e}`)}getIndustriesForPicker(){return this.nuviotClient.request("/api/industries/picker")}getIndustryNichesForPicker(e){return this.nuviotClient.request(`/api/industry/${e}/niches/picker`)}addIndustry(e){return this.nuviotClient.post("/api/industry",e)}updateIndustry(e){return this.nuviotClient.update("/api/industry",e)}generateVPC(e,r){return this.nuviotClient.request(`/api/persona/vpc/generate?q=${encodeURIComponent(e)}&r=${encodeURIComponent(r)}`)}createPersona(){return this.nuviotClient.getFormResponse("/api/persona/factory")}getPersona(e){return this.nuviotClient.getFormResponse(`/api/persona/${e}`)}getPersonas(){return this.nuviotClient.getListResponse("/api/personas")}addPersona(e){return this.nuviotClient.post("/api/persona",e)}updatePersona(e){return this.nuviotClient.update("/api/persona",e)}savePersona(e){var r=this;return E(function*(){if(e.isEditing)return yield r.nuviotClient.updateWithResponse("/api/persona",e.model);{let n=yield r.nuviotClient.postWithResponse("/api/persona",e.model);return n&&n.successful&&(e.isEditing=!0),n}})()}getIndustries(){return this.nuviotClient.getListResponse("/api/industries")}createFollowup(e){return this.nuviotClient.getFormResponse(`/api/customer/${e}/followup/factory`)}editFollowup(e,r){var n=this;return E(function*(){let i=yield n.nuviotClient.getFormResponse(`/api/customer/${e}/followup/factory`);return i.model=r,i.isEditing=!0,i})()}getFollowups(){return this.nuviotClient.getListResponse("/api/customer/followups")}getCustomerStatusOptions(){return this.nuviotClient.request("/api/customer/status/types")}getCustomerStageOptions(){return this.nuviotClient.request("/api/customer/stage/types")}saveIndustry(e){return e.isEditing?this.nuviotClient.update("/api/industry",e.model):this.nuviotClient.post("/api/industry",e.model)}getPaymentAccounts(e){return this.nuviotClient.request(`/api/user/${e}/paymentaccounts`)}savePaymentAccounts(e,r){return this.nuviotClient.post(`/api/user/${e}/paymentaccounts`,r)}getTimePeriods(e){return this.nuviotClient.getListResponse(`/api/time/timeperiods/${e}`)}getAllTimePeriods(){return this.nuviotClient.getListResponse("/api/time/timeperiods")}createTimePeriods(e){return this.nuviotClient.getListResponse(`/api/time/timeperiods/${e}/create`)}rateSalesScript(e,r){var n=this;return E(function*(){return n.nuviotClient.request(`/api/sales/script/${e}/stars/${r}`)})()}clearScriptRating(e){var r=this;return E(function*(){return r.nuviotClient.request(`/api/sales/script/${e}/stars/clear`)})()}addLessonLearned(e,r){var n=this;return E(function*(){return n.nuviotClient.post(`/api/sales/script/${e}/lessonslearned`,r)})()}addObjectionHandler(e,r){var n=this;return E(function*(){return n.nuviotClient.post(`/api/sales/script/${e}/objectionhandler`,r)})()}updateObjectionHandler(e,r){var n=this;return E(function*(){return n.nuviotClient.updateWithResponse(`/api/sales/script/${e}/objectionhandler`,r)})()}updateSalesScriptContent(e,r){var n=this;return E(function*(){return n.nuviotClient.updateWithResponse(`/api/sales/script/${e}/content`,r)})()}getSalesScripts(){var e=this;return E(function*(){return e.nuviotClient.getListResponse("/api/sales/scripts")})()}createSalesScript(){var e=this;return E(function*(){return e.nuviotClient.getFormResponse("/api/sales/script/factory")})()}createSalesScriptContent(){var e=this;return E(function*(){return e.nuviotClient.getFormResponse("/api/sales/script/content/factory")})()}createSalesScriptObjectionHandler(){var e=this;return E(function*(){return e.nuviotClient.getFormResponse("/api/sales/script/objectionhandler/factory")})()}getSalesScript(e){var r=this;return E(function*(){return r.nuviotClient.getFormResponse(`/api/sales/script/${e}`)})()}editSalesScriptContentRevision(e){var r=this;return E(function*(){var n=yield r.nuviotClient.getFormResponse("/api/sales/script/content/factory");return n.model=e,n})()}publishSalesScriptContent(e){var r=this;return E(function*(){return r.nuviotClient.updateWithFormResponse("/api/sales/script/content/publish",e)})()}saveSalesScript(e){var r=this;return E(function*(){return e.isEditing?r.updateSalesScript(e.model):r.addSalesScript(e.model)})()}addSalesScript(e){var r=this;return E(function*(){return r.nuviotClient.post("/api/sales/script",e)})()}updateSalesScript(e){var r=this;return E(function*(){return r.nuviotClient.update("/api/sales/script",e)})()}createCustomer(){return this.nuviotClient.getFormResponse("/api/customer/factory")}createCustomerLocation(){return this.nuviotClient.getFormResponse("/api/customer/location/factory")}getCustomerLocation(e){return this.nuviotClient.getFormResponse(`/api/customer/location/${e}`)}editCustomerLocation(e){var r=this;return E(function*(){let n=yield r.createCustomerLocation();return n.model=e,n.isEditing=!0,n})()}createCustomerContact(){return this.nuviotClient.getFormResponse("/api/customer/contact/factory")}editCustomerContact(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/customer/contact/factory");return n.model=e,n.isEditing=!0,n})()}getCustomers(e="-1",r="-1"){let n="/api/customers";return"-1"!=e&&"-1"!=r?n+=`?industry=${r}&stage=${e}`:"-1"!=e?n+=`?stage=${e}`:"-1"!=r&&(n+=`?industry=${r}`),this.nuviotClient.getListResponse(n)}getYearEndTaxReport(e,r){return this.nuviotClient.postWithResponse("/api/reports/taxes/yearend",{startDate:e,endDate:r})}getIncomeStatement(e,r){return this.nuviotClient.request(`/api/business/reports/incomestatment?month=${e}&year=${r}`)}getPayrollForYear(e){return this.nuviotClient.request(`/api/payroll/year/${e}`)}generatePayroll(e){return this.nuviotClient.request(`/api/payroll/generate/${e}`)}getPaymentsForPeriod(e){return this.nuviotClient.request(`/api/payroll/payments/${e}`)}sendPaystub(e){return this.nuviotClient.get(`/api/payroll/paystub/${e}/email`)}getMyPayments(){return this.nuviotClient.request("/api/payroll/payments/my")}updatePayment(e){return this.nuviotClient.updateWithResponse("/api/payment/update",e)}generatePaymentsForPeriod(e){return this.nuviotClient.requestForInvokeResultEx(`/api/payroll/generate/${e}`)}addCustomer(e){return this.nuviotClient.postWithResponse("/api/customer",e)}updateCustomer(e){return this.nuviotClient.updateWithResponse("/api/customer",e)}saveCustomer(e){return e.isEditing?this.nuviotClient.updateWithResponse("/api/customer",e.model):this.nuviotClient.postWithResponse("/api/customer",e.model)}setCustomerAccount(e){return this.nuviotClient.get(`/api/auth/customer/${e}`)}getCustomer(e){return this.nuviotClient.getFormResponse(`/api/customer/${e}`)}getCommunicationTypes(){return this.nuviotClient.request("/api/customer/communication/types")}getCustomerReadOnly(e){return this.nuviotClient.request(`/api/customer/${e}/view`)}createCustomerCommunications(){return this.nuviotClient.request("/api/customer/communications/factory")}deleteCustomer(e){return this.nuviotClient.delete(`/api/customer/${e}`)}getActiveAgreements(e){return this.nuviotClient.request(`/api/agreements/${e}`)}getAgreements(e){return this.nuviotClient.request(`/api/agreements/${e}/active`)}getActiveAgreementSummaries(e){return this.nuviotClient.request(`/api/agreements/${e}/active`)}getAgreementSummariesForCustomer(e){return this.nuviotClient.request(`/api/agreements/${e}`)}getAgreementSummaries(){return this.nuviotClient.request("/api/agreements")}createAgreement(e){return this.nuviotClient.request(`/api/agreement/${e}/factory`)}createAgreementFromProposal(e){return this.nuviotClient.request(`/api/business/proposal/${e}/agreement`)}getAgreement(e){return this.nuviotClient.request(`/api/agreement/${e}`)}addAgreement(e){return this.nuviotClient.postWithResponse("/api/agreement",e)}updateAgreement(e){return this.nuviotClient.updateWithResponse("/api/agreement",e)}saveAgreement(e){return e.isEditing?this.updateAgreement(e.model):this.addAgreement(e.model)}deleteAgreement(e){return this.nuviotClient.delete(`/api/agreement/${e}`)}getCurrentPayRate(e){return this.nuviotClient.request(`/api/payrate/user/${e}/current`)}getUserPayRates(e){return this.nuviotClient.getListResponse(`/api/payrate/user/${e}`)}getPayRate(e){return this.nuviotClient.request(`/api/payrate/${e}`)}savePayRate(e){return e.id?this.nuviotClient.updateWithResponse("/api/payrate",e):this.nuviotClient.postWithResponse("/api/payrate",e)}deletePayRate(e){return this.nuviotClient.delete(`/api/payrate/${e}`)}getTimeReport(e){return this.nuviotClient.postWithResponse("/api/reports/time",e)}downloadExcel(e){let r=`${He.siteUri}/api/reports/time/xlsx?entityGroupBy=${e.entityGroupBy}`;e.startDate&&(r+=`&startDate=${encodeURIComponent(e.startDate)}`),e.endDate&&(r+=`&endDate=${encodeURIComponent(e.endDate)}`),e.userId&&(r+=`&userId=${encodeURIComponent(e.userId)}`),e.clientId&&(r+=`&userId=${encodeURIComponent(e.clientId)}`),e.agreementId&&(r+=`&userId=${encodeURIComponent(e.agreementId)}`),e.projectId&&(r+=`&projectId=${encodeURIComponent(e.projectId)}`),e.workTaskId&&(r+=`&workTaskId=${encodeURIComponent(e.workTaskId)}`),e.includeFinancial&&(r+="&includeFinancial=true"),e.includeTaskDetails&&(r+="&includeTaskDetails=true"),e.timePeriodId&&(r+=`&timePeriodId=${encodeURIComponent(e.timePeriodId)}`),window.open(r,"_blank")}lockTimePeriod(e){return this.nuviotClient.request(`/api/time/timeperiod/${e}/lock`)}unlockTimePeriod(e){return this.nuviotClient.request(`/api/time/timeperiod/${e}/unlock`)}getInvoices(){return this.nuviotClient.request("/api/invoices")}getInvoiceStatusList(){return this.nuviotClient.request("/api/invoice/status/options")}getInvoicesForCustomer(e){return this.nuviotClient.request(`/api/customer/${e}/invoices`)}getInvoicesForAgreement(e){return this.nuviotClient.request(`/api/agreement/${e}/invoices`)}getChildInvoices(e){return this.nuviotClient.request(`/api/invoice/${e}/splits`)}getInvoicesForSubscription(e){return this.nuviotClient.request(`/api/subscription/${e}/invoices`)}getInvoice(e){return this.nuviotClient.request(`/api/invoice/${e}`)}deleteInvoice(e){return this.nuviotClient.delete(`/api/invoice/${e}`)}updateInvoice(e){return this.nuviotClient.update("/api/invoice",e)}updateInvoiceNotes(e,r){return this.nuviotClient.get(`/api/invoice/${e}/notes?notes=${encodeURIComponent(r)}`)}updateInvoiceDueDate(e,r){return this.nuviotClient.get(`/api/invoice/${e}/dueDate/${encodeURIComponent(r)}`)}updateInvoiceStatus(e,r){return this.nuviotClient.get(`/api/invoice/${e}/status/${r}`)}createInvoice(e,r,n){return this.nuviotClient.request(`/api/invoice/${e}/${r}/${n}`)}generatePreviewInvoice(e,r,n){window.open(`${He.siteUri}/api/invoice/${e}/${r}/${n}/preview`)}createSplitInvoiceRequest(){return this.nuviotClient.getFormResponse("/api/invoice/split/request/factory")}splitInvoice(e,r){return this.nuviotClient.postForListResponse(`/api/invoice/${e}/split`,r)}removeSplitInvoice(e){return this.nuviotClient.delete(`/api/invoice/${e}/split`)}getAccounts(){return this.nuviotClient.getListResponse("/api/accounts")}getActiveAccounts(){return this.nuviotClient.getListResponse("/api/accounts/active")}getAccount(e){return this.nuviotClient.request(`/api/account/${e}`)}getAccountTransactions(e,r,n){var i=this;return E(function*(){return yield i.nuviotClient.getListResponse(`/api/account/${e}/transactions`,{start:r,end:n})})()}addAccount(e){return this.nuviotClient.postWithResponse("/api/account",e)}updateAccount(e){return this.nuviotClient.updateWithResponse("/api/account",e)}getTransactionCategories(){return this.nuviotClient.getListResponse("/api/account/transaction/categories")}createTransactionCategory(){return this.nuviotClient.getFormResponse("/api/account/transaction/category/factory")}getTransactionCategory(e){return this.nuviotClient.getFormResponse(`/api/account/transaction/category/${e}`)}getActiveTransactionCategories(){return this.nuviotClient.getListResponse("/api/account/transaction/categories/active")}addTransactionCategory(e){return this.nuviotClient.postWithResponse("/api/account/transaction/category",e)}updateTransactionCategory(e){return this.nuviotClient.updateWithResponse("/api/account/transaction/category",e)}getVendors(){return this.nuviotClient.getListResponse("/api/vendors")}createVendor(){return this.nuviotClient.getFormResponse("/api/vendor/factory")}getVendor(e){return this.nuviotClient.getFormResponse(`/api/vendor/${e}`)}getActiveVendors(){return this.nuviotClient.getListResponse("/api/vendors/active")}addVendor(e){return this.nuviotClient.postWithResponse("/api/vendor",e)}updateVendor(e){return this.nuviotClient.updateWithResponse("/api/vendor",e)}saveVendor(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateVendor(e.model);{let n=yield r.addVendor(e.model);return n.successful&&(e.isEditing=!0),n}})()}getTransaction(e,r){return this.nuviotClient.request(`/api/account/${e}/transaction/${r}`)}addTransaction(e,r){return this.nuviotClient.postWithResponse(`/api/account/${e}/transaction`,r)}updateTransaction(e,r){return this.nuviotClient.updateWithResponse(`/api/account/${e}/transaction`,r)}voidTransaction(e,r){return this.nuviotClient.deleteWithResponse(`/api/account/${e}/transaction/${r}/void`)}createCalendarEvent(){return this.nuviotClient.getFormResponse("/api/calendar/event/factory")}getCalendarEvent(e){return this.nuviotClient.getFormResponse(`/api/calendar/event/${e}`)}addCalendarEvent(e){return this.nuviotClient.postWithResponse("/api/calendar/event",e)}updateCalendarEvent(e){return this.nuviotClient.updateWithResponse("/api/calendar/event",e)}getCalendarEventsForMonth(e,r){return this.nuviotClient.getListResponse(`/api/calendar/month/${e}/${r}`)}getCalendarEventsForWeek(e,r,n){return this.nuviotClient.getListResponse(`/api/calendar/week/${e}/${r}/${n}`)}getCalendarEventsForDay(e,r,n){return this.nuviotClient.getListResponse(`/api/calendar/day/${e}/${r}/${n}`)}getExpensesForMonth(e,r){return this.nuviotClient.getListResponse(`/api/expenses/${e}/${r}`)}getExpenseDetailsForMonthForCategory(e,r,n){return this.nuviotClient.getListResponse(`/api/expenses/${e}/${r}/category/${n}`)}getExpenseDetailsForYearForCategory(e,r){return this.nuviotClient.getListResponse(`/api/expenses/${e}/category/${r}`)}getExpensesSummariesForMonth(e,r){return this.nuviotClient.getListResponse(`/api/expenses/${e}/${r}/summary/category`)}getExpensesForYear(e){return this.nuviotClient.getListResponse(`/api/expenses/${e}`)}getExpensesSummariesForYear(e){return this.nuviotClient.getListResponse(`/api/expenses/${e}/summary/category`)}validatePhoneNumber(e){return this.nuviotClient.request(`/api/customer/contact/phone/${e}/verify`)}sendEmailAsync(e,r,n){return this.nuviotClient.postWithResponse(`/api/customer/${e}/${r}/email`,n)}getCustomerMetricsByIndustryNiche(e){return this.nuviotClient.request(`/api/customers/counts?onlytargetted=${e}`)}addSalesScriptDiscussion(e,r){var n=this;return E(function*(){let i=yield n.nuviotClient.request("/api/discussion/factory");return i.note=r,(yield n.nuviotClient.postWithResponse(`/api/sales/script/${e}/discussion`,i)).result})()}getEmailCommunicationsLog(e){var r=this;return E(function*(){return r.nuviotClient.getListResponse(`/api/customer/communications/email/${e}`)})()}addEmailTemplate(e){return this.nuviotClient.post("/api/sales/emailtemplate",e)}getEmailTemplates(){return this.nuviotClient.getListResponse("/api/sales/emailtemplates")}renderEmail(e){return this.nuviotClient.postWithResponse("/api/sales/emailtemplate/render",e)}sendTestEmail(e){return this.nuviotClient.post("/api/sales/emailtemplates/testsend",e)}getEmailTemplate(e){return this.nuviotClient.request(`/api/sales/emailtemplate/${e}`)}updateEmailTemplate(e){return this.nuviotClient.update("/api/sales/emailtemplate",e)}deleteEmailTemplate(e){return this.nuviotClient.delete(`/api/sales/emailtemplate/${e}`)}saveEmailTemplate(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateEmailTemplate(e.model);{let n=yield r.addEmailTemplate(e.model);return e.isEditing=!0,n}})()}createEmailTemplateLayout(){return this.nuviotClient.getFormResponse("/api/sales/emailtemplate/layout/factory")}addEmailTemplateLayout(e){return this.nuviotClient.post("/api/sales/emailtemplate/layout",e)}getEmailTemplateLayouts(){return this.nuviotClient.getListResponse("/api/sales/emailtemplate/layouts")}getEmailTemplateLayout(e){return this.nuviotClient.request(`/api/sales/emailtemplate/layout/${e}`)}updateEmailTemplateLayout(e){return this.nuviotClient.update("/api/sales/emailtemplate/layout",e)}deleteEmailTemplateLayout(e){return this.nuviotClient.delete(`/api/sales/emailtemplate/layout/${e}`)}saveEmailTemplateLayout(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateEmailTemplateLayout(e.model);{let n=yield r.addEmailTemplateLayout(e.model);return e.isEditing=!0,n}})()}createEmailTemplateColorPalette(){return this.nuviotClient.getFormResponse("/api/sales/emailtemplate/palette/factory")}addEmailTemplateColorPalette(e){return this.nuviotClient.post("/api/sales/emailtemplate/palette",e)}getEmailTemplateColorPalettes(){return this.nuviotClient.getListResponse("/api/sales/emailtemplate/palettes")}getEmailTemplateColorPalette(e){return this.nuviotClient.request(`/api/sales/emailtemplate/palette/${e}`)}updateEmailTemplateColorPalette(e){return this.nuviotClient.update("/api/sales/emailtemplate/palette",e)}deleteEmailTemplateColorPalette(e){return this.nuviotClient.delete(`/api/sales/emailtemplate/palette/${e}`)}saveEmailTemplateColorPalette(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateEmailTemplateColorPalette(e.model);{let n=yield r.addEmailTemplateColorPalette(e.model);return e.isEditing=!0,n}})()}createEmailTemplate(){return this.nuviotClient.getFormResponse("/api/sales/emailtemplate/factory")}getEmailTokenForm(){return this.nuviotClient.request("/api/sales/emailtemplate/tokenform/factory")}getSendEmailForm(){return this.nuviotClient.request("/api/email/send/factory")}sendEmail(e){return this.nuviotClient.post("/api/email/send",e)}refreshEmailLinks(e,r){var n=this;return E(function*(){return yield n.nuviotClient.postWithResponse("/api/email/refreshlinks",{body:e,pageLinks:r})})()}moveCustomer(e){return this.nuviotClient.post("/api/customer/move",e)}getIndustriesForOrgAsync(e){return this.nuviotClient.getListResponse(`/api/industries/org/${e}`)}getIndustryForOtherOrgAsync(e){return this.nuviotClient.request(`/api/industry/crossorg/${e}`)}createRecipient(){return this.nuviotClient.getFormResponse("/api/recipient/factory")}createContactIntake(e,r,n,i,a,s,l,c,h,_=null,C=null,k){let A="/api/public/contacts/intake?t=1";return e&&(A+=`&ons=${e}`),r&&(A+=`&o=${r}`),n&&(A+=`&l=${n}`),i&&(A+=`&c=${i}`),a&&(A+=`&p=${a}`),s&&(A+=`&i=${s}`),l&&(A+=`&n=${l}`),h&&(A+=`&ipr=${h}`),c&&(A+=`&npr=${c}`),_&&(A+=`&e=${_}`),C&&(A+=`&t=${C}`),k&&(A+=`&s=${k}`),this.nuviotClient.request(A)}saveContact(e){return this.nuviotClient.postWithResponse("/api/public/contact/intake",e)}getLandingPagesForIndustry(e){return this.nuviotClient.getListResponse(`/api/industry/${e}/landingpages`)}getLandingPagesForIndustryPersona(e,r){return this.nuviotClient.getListResponse(`/api/industry/${e}/persona/${r}/landingpages`)}getLandingPagesForIndustryNiche(e,r){return this.nuviotClient.getListResponse(`/api/industry/${e}/niche/${r}/landingpages`)}getLandingPagesForIndustryNichePersona(e,r,n){return this.nuviotClient.getListResponse(`/api/industry/${e}/niche/${r}/persona/${n}/landingpages`)}createPaymentProcessor(){return this.nuviotClient.getFormResponse("/api/paymentprocessor/factory")}getPaymentProcessors(){return this.nuviotClient.getListResponse("/api/paymentprocessors")}getPaymentProcessor(e){return this.nuviotClient.getFormResponse(`/api/paymentprocessor/${e}`)}addPaymentProcessor(e){return this.nuviotClient.post("/api/paymentprocessor",e)}updatePaymentProcessor(e){return this.nuviotClient.update("/api/paymentprocessor",e)}savePaymentProcessor(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updatePaymentProcessor(e.model);{let n=r.addPaymentProcessor(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}initApplePaySession(e,r){var n=this;return E(function*(){return n.nuviotClient.request(`/api/paymentprocessor/${e}/applepay/${r}/init`)})()}createCustomerOpportunity(){return this.nuviotClient.getFormResponse("/api/customer/opportunity/factory")}getCustomerOpportunities(){return this.nuviotClient.getListResponse("/api/customer/opportunities")}getOpportunitiesForCustomer(e){return this.nuviotClient.getListResponse(`/api/customer/${e}/opportunities`)}getCustomerOpportunity(e){return this.nuviotClient.getFormResponse(`/api/customer/opportunity/${e}`)}addCustomerOpportunity(e){return this.nuviotClient.post("/api/customer/opportunity",e)}updateCustomerOpportunity(e){return this.nuviotClient.update("/api/customer/opportunity",e)}saveCustomerOpportunity(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateCustomerOpportunity(e.model);{let n=r.addCustomerOpportunity(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}createCustomerOpportunityBlocker(){return this.nuviotClient.getFormResponse("/api/customer/opportunity/blocker/factory")}createCustomerOpportunityNextStep(){return this.nuviotClient.getFormResponse("/api/customer/opportunity/nextstep/factory")}getProposalPreview(e){return this.nuviotClient.request(`/api/business/proposal/${e}/preview`)}createProposal(){return this.nuviotClient.getFormResponse("/api/business/proposal/factory")}createProposalForCustomer(e){return this.nuviotClient.getFormResponse(`/api/business/proposal/${e}/factory`)}getAllProposals(){return this.nuviotClient.getListResponse("/api/business/proposals")}getProposalForCustomers(e){return this.nuviotClient.getListResponse(`/api/business/proposals/${e}`)}getProposal(e){return this.nuviotClient.getFormResponse(`/api/business/proposal/${e}`)}addProposal(e){return this.nuviotClient.post("/api/business/proposal",e)}updateProposal(e){return this.nuviotClient.update("/api/business/proposal",e)}saveProposal(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateProposal(e.model);{let n=r.addProposal(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}createProposalLineItem(e,r){return this.nuviotClient.getFormResponse(`/api/business/proposal/${e}/lineitem/${r}/factory`)}editProposalLineItem(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/business/proposal/lineitem/factory");return n.model=e,n.isEditing=!0,n})()}deleteProposal(e){return this.nuviotClient.delete(`/api/business/proposal/${e}`)}createProjection(){return this.nuviotClient.getFormResponse("/api/projection/factory")}createProductSale(){return this.nuviotClient.getFormResponse("/api/projection/product/factory")}createMonthlyProjection(){return this.nuviotClient.getFormResponse("/api/projection/month/factory")}getProjections(){return this.nuviotClient.getListResponse("/api/projections")}getProjection(e){return this.nuviotClient.getFormResponse(`/api/projection/${e}`)}addProjection(e){return this.nuviotClient.post("/api/projection",e)}calculateProjection(e){return this.nuviotClient.updateWithResponse("/api/projection/calculate",e)}updateProjection(e){return this.nuviotClient.update("/api/projection",e)}saveProjection(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateProjection(e.model);{let n=r.addProjection(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}addCapTable(e){return this.nuviotClient.post("/api/captable",e)}updateCapTable(e){return this.nuviotClient.update("/api/captable",e)}getCapTable(e){return this.nuviotClient.getFormResponse(`/api/captable/${e}`)}createCapTable(){return this.nuviotClient.getFormResponse("/api/captable/factory")}createShareHolder(){return this.nuviotClient.getFormResponse("/api/captable/shareholder/factory")}createCapTableTransaction(){return this.nuviotClient.request("/api/captable/transaction/factory")}getCapTableTransactionTypes(){return this.nuviotClient.request("/api/captable/transaction/types")}getCurrentUserDistributions(){return this.nuviotClient.getListResponse("/api/captable/distributions/my")}getUserDistributions(e,r){return this.nuviotClient.request(`/api/captable/${e}/distributions/${r}`)}saveCapTable(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateCapTable(e.model);{let n=r.addCapTable(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}getCapTables(){return this.nuviotClient.getListResponse("/api/captables")}addCapTableTransaction(e,r){return this.nuviotClient.post(`/api/captable/${e}/transaction`,r)}addShareHolder(e,r){return this.nuviotClient.post(`/api/captable/${e}/shareholder`,r)}updateShareHolder(e,r){return this.nuviotClient.update(`/api/captable/${e}shareholder`,r)}saveShareHolder(e,r){var n=this;return E(function*(){if(r.isEditing)return yield n.updateShareHolder(e,r.model);{let i=yield n.addShareHolder(e,r.model);return i.successful&&(r.isEditing=!0),i}})()}createSignedDocument(){return this.nuviotClient.getFormResponse("/api/business/signeddocument/factory")}addSignedDocument(e){return this.nuviotClient.post("/api/business/signeddocument",e)}updateSignedDocument(e){return this.nuviotClient.update("/api/business/signeddocument",e)}saveSignedDocument(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateSignedDocument(e.model);let n=r.addSignedDocument(e.model);return(yield n).successful&&(e.isEditing=!0),n})()}deleteSignedDocument(e){return this.nuviotClient.delete(`/api/business/signeddocument/${e}`)}getSignedDocument(e){return this.nuviotClient.getFormResponse(`/api/business/signeddocument/${e}`)}getSignedDocuments(){return this.nuviotClient.getListResponse("/api/business/signeddocuments")}getSignedDocumentsForCustomer(e,r){let n=`/api/business/signeddocuments/customer/${e}`;return r&&(n+=`?type=${r}`),this.nuviotClient.getListResponse(n)}getSignedDocumentsForAppUser(e){return this.nuviotClient.getListResponse(`/api/business/signeddocuments/appuser/${e}`)}createSignee(){return this.nuviotClient.getFormResponse("/api/business/signeddocument/signee/factory")}attachSignee(e,r){return this.nuviotClient.post(`/api/business/signeddocument/${e}/signee`,r)}updateSignee(e,r){return this.nuviotClient.updateWithResponse(`/api/business/signeddocument/${e}/signee`,r)}requestSignatures(e){return this.nuviotClient.request(`/api/business/signeddocument/${e}/signees/request`)}sentPinViaEmail(e,r){return this.nuviotClient.request(`/api/business/signeddocument/${e}/signee/${r}/pin/email/send`)}sentPinViaPhone(e,r){return this.nuviotClient.request(`/api/business/signeddocument/${e}/signee/${r}/pin/email/send`)}completeSignature(e,r){return this.nuviotClient.post(`/api/business/signeddocument/${e}/signee/complete`,r)}getDocumentToSign(e,r){return this.nuviotClient.request(`/api/business/signeddocument/${e}/signee/${r}/sign`)}createUserAgreement(e,r){return this.nuviotClient.postWithResponse(`/api/customer/useragreement/${e}/factory`,r)}createServicesAgreement(e,r){return this.nuviotClient.postWithResponse(`/api/customer/servicesagreement/${e}/factory`,r)}getSalesProcesses(){return this.nuviotClient.getListResponse("/api/sales/processes")}addSalesProcess(e){return this.nuviotClient.post("/api/sales/process",e)}updateSalesProcess(e){return this.nuviotClient.update("/api/sales/process",e)}getSalesProcess(e){return this.nuviotClient.getFormResponse(`/api/sales/process/${e}`)}deleteSalesProcess(e){return this.nuviotClient.delete(`/api/sales/process/${e}`)}createSalesProcess(){return this.nuviotClient.getFormResponse("/api/sales/process/factory")}createSalesProcessMileStone(){return this.nuviotClient.getFormResponse("/api/sales/process/milestone/factory")}saveSalesProcess(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateSalesProcess(e.model);{let n=r.addSalesProcess(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}getLandingPages(){return this.nuviotClient.getListResponse("/api/landingpages")}addLandingPage(e){return this.nuviotClient.post("/api/landingpage",e)}updateLandingPage(e){return this.nuviotClient.update("/api/landingpage",e)}getLandingPage(e){return this.nuviotClient.getFormResponse(`/api/landingpage/${e}`)}deleteLandingPage(e){return this.nuviotClient.delete(`/api/landingpage/${e}`)}createLandingPage(){return this.nuviotClient.getFormResponse("/api/landingpage/factory")}saveLandingPage(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateLandingPage(e.model);{let n=r.addLandingPage(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}getLandingPagePalettes(){return this.nuviotClient.getListResponse("/api/landingpage/palettes")}addLandingPagePalette(e){return this.nuviotClient.post("/api/landingpage/palette",e)}updateLandingPagePalette(e){return this.nuviotClient.update("/api/landingpage/palette",e)}getLandingPagePalette(e){return this.nuviotClient.getFormResponse(`/api/landingpage/palette/${e}`)}deleteLandingPagePalette(e){return this.nuviotClient.delete(`/api/landingpage/palette/${e}`)}createLandingPagePalette(){return this.nuviotClient.getFormResponse("/api/landingpage/palette/factory")}saveLandingPagePalette(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateLandingPagePalette(e.model);{let n=r.addLandingPagePalette(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}getProductPageLayouts(){return this.nuviotClient.getListResponse("/api/productpage/layouts")}addProductPageLayout(e){return this.nuviotClient.post("/api/productpage/layout",e)}updateProductPageLayout(e){return this.nuviotClient.update("/api/productpage/layout",e)}getProductPageLayout(e){return this.nuviotClient.getFormResponse(`/api/productpage/layout/${e}`)}deleteProductPageLayout(e){return this.nuviotClient.delete(`/api/productpage/layout/${e}`)}createProductPageLayout(){return this.nuviotClient.getFormResponse("/api/productpage/layout/factory")}saveProductPageLayout(e){var r=this;return E(function*(){if(e.isEditing)return yield r.addProductPageLayout(e.model);{let n=r.updateProductPageLayout(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}getLandingPageLayouts(){return this.nuviotClient.getListResponse("/api/landingpage/layouts")}addLandingPageLayout(e){return this.nuviotClient.post("/api/landingpage/layout",e)}updateLandingPageLayout(e){return this.nuviotClient.update("/api/landingpage/layout",e)}getLandingPageLayout(e){return this.nuviotClient.getFormResponse(`/api/landingpage/layout/${e}`)}deleteLandingPageLayout(e){return this.nuviotClient.delete(`/api/landingpage/layout/${e}`)}createLandingPageLayout(){return this.nuviotClient.getFormResponse("/api/landingpage/layout/factory")}saveLandingPageLayout(e){var r=this;return E(function*(){if(e.isEditing)return yield r.addLandingPageLayout(e.model);{let n=r.updateLandingPageLayout(e.model);return(yield n).successful&&(e.isEditing=!0),n}})()}getLandingPageMenus(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/landingpage/menus")})()}getLandingPageMenu(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/landingpage/menu/${e}`)})()}createLandingPageMenu(){var e=this;return E(function*(){return yield e.nuviotClient.getFormResponse("/api/landingpage/menu/factory")})()}addLandingPageMenu(e){return this.nuviotClient.insert("/api/landingpage/menu",e)}updateLandingPageMenu(e){return this.nuviotClient.insert("/api/landingpage/menu",e)}deleteLandingPageMenu(e){return this.nuviotClient.delete(`/api/landingpage/menu/${e}`)}saveLandingPageMenu(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateLandingPageMenu(e.model);var n=yield r.addLandingPageMenu(e.model);return e.isEditing=!0,n})()}createPageLink(){return this.nuviotClient.getFormResponse("/api/pagelink/factory")}editPageLink(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/pagelink/factory");return n.model=e,n.isEditing=!0,n})()}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft),Z(Hi))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),pce=(()=>{class o{constructor(e,r){this.activeModal=e,this.businessService=r,this.itemSelected=new ee,this.selectedLandingPage="-1",this.nicheOptions=void 0}ngOnInit(){var e=this;return E(function*(){alert("OBSOLETE!"),console.error("landing pages are stand alone and should be queried at the top level."),e.industryOptions=yield e.businessService.getIndustriesForPicker(),e.industryId&&"-1"!=e.industryId&&(e.nicheOptions=yield e.businessService.getIndustryNichesForPicker(e.industryId))})()}}return o.\u0275fac=function(e){return new(e||o)(O(xo),O(wh))},o.\u0275cmp=ne({type:o,selectors:[["app-landing-page-picker"]],inputs:{industryId:"industryId",nicheId:"nicheId",personaId:"personaId"},outputs:{itemSelected:"itemSelected"},decls:0,vars:0,template:function(e,r){}}),o})();function hce(o,t){1&o&&(d(0,"span",3),v(1,"*"),u())}function gce(o,t){if(1&o){const e=j();d(0,"span",4),T("click",function(){F(e);const n=m();return S(null==n.ai?null:n.ai.emit())}),P(1,"i",5),v(2,"AI"),u()}}let or=(()=>{class o{constructor(){this.ai=new ee,this.aiButton=!1}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-form-field-label"]],inputs:{name:"name",isRequired:"isRequired",label:"label",aiButton:"aiButton"},outputs:{ai:"ai"},decls:4,vars:4,consts:[[3,"for"],["style","color:red",4,"ngIf"],["style","font-weight: normal;font-family: serif;margin-left:10px","class","action",3,"click",4,"ngIf"],[2,"color","red"],[1,"action",2,"font-weight","normal","font-family","serif","margin-left","10px",3,"click"],[1,"fa","fa-user-robot"]],template:function(e,r){1&e&&(d(0,"label",0),v(1),b(2,hce,2,0,"span",1),b(3,gce,3,0,"span",2),u()),2&e&&(Ne("for",r.name),p(1),ce(" ",r.label," "),p(1),g("ngIf",r.isRequired),p(1),g("ngIf",r.aiButton))},dependencies:[ve]}),o})();function mce(o,t){if(1&o){const e=j();d(0,"span",14),T("click",function(n){return F(e),m(3).clearLandingPage(),S(n.stopPropagation())}),P(1,"i",15),u()}}const fce=function(o){return{"picker-link":o}};function _ce(o,t){if(1&o){const e=j();d(0,"span",11),T("click",function(){return F(e),S(m(2).pickLandingPage())}),d(1,"span",12),v(2),u(),b(3,mce,2,0,"span",13),u()}if(2&o){const e=m(2);p(1),g("ngClass",St(3,fce,e.field.isUserEditable)),p(1),ae(e.field.value?null==e.field.value.page?null:e.field.value.page.text:e.field.watermark),p(1),g("ngIf",e.field.value&&!e.field.isRequired&&e.field.isUserEditable)}}function vce(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function yce(o,t){if(1&o){const e=j();d(0,"div")(1,"a",16),v(2),u(),d(3,"i",17),T("click",function(){F(e);const n=m(2);return S(n.copyToClipboard(n.buildLink()))}),u(),P(4,"qrcode",18),u()}if(2&o){const e=m(2);p(1),Ne("href",e.buildLink,Zo),p(1),ae(e.buildLink()),p(2),g("qrdata",e.buildLink())("allowEmptyString",!0)("ariaLabel","QR Code image with the following content...")("cssClass","center")("colorDark","#000000ff")("colorLight","#ffffffff")("elementType","canvas")("errorCorrectionLevel","M")("imageHeight",75)("imageWidth",75)("margin",4)("scale",1)("title","QR Code")("width",300)}}function bce(o,t){1&o&&(d(0,"span",19),P(1,"span",20),u()),2&o&&Re("data-target",m(2).popupId)}function Cce(o,t){if(1&o&&(d(0,"div",3)(1,"div",4)(2,"div",5),P(3,"app-form-field-label",6),d(4,"div",7),b(5,_ce,4,5,"span",8),b(6,vce,2,1,"div",9),u(),b(7,yce,5,16,"div",9),u(),d(8,"div"),b(9,bce,2,1,"span",10),u()()()),2&o){const e=m();p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled),p(1),g("ngIf",e.field.value),p(2),g("ngIf",e.field.help)}}let wce=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.userService=r}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){e().call(r),r.model=r.host.model,console.log(r.form),"SampleEmailInformation"==r.form.modelName?r.emailTemplateId=r.form.parent.model.id:"CampaignPromotion"==r.form.modelName&&(r.promoId=r.model.id,r.campaignId=r.form.parent.model.id);let n=yield r.userService.getCurrentOrg();r.orgId=n.id})()}pickLandingPage(){var e=this;return E(function*(){let r=e.form.parent?.view.industry?Dt.resolveOption(e.form.parent.view.industry):void 0,n=e.view.industryNiche?Dt.resolveOption(e.view.industryNiche):void 0;console.log(r,n);const i=e.modalService.open(pce,{size:"lg"}).componentInstance;i.nicheId=n?n.id:"-1",i.industryId=r?r.id:"-1",i.itemSelected.subscribe(a=>{e.field.value=a,e.field.display=a.page.text,e.changed(e.field),console.log(a)})})()}copyToClipboard(e){Dt.copyToClipboard(e)}clearLandingPage(){this.field.value=void 0}buildLink(){if(!this.field.value||!this.field.value.link)return;let e=`${this.field.value.link}?o=${this.orgId}`;return this.campaignId&&(e+=`&c=${this.campaignId}`),this.promoId&&(e+=`&p=${this.promoId}`),this.emailTemplateId&&(e+=`&t=${this.emailTemplateId}`),e}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(uo))},o.\u0275cmp=ne({type:o,selectors:[["app-landing-page-field"]],features:[Te],decls:3,vars:8,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[3,"click"],[3,"ngClass"],["class","picker-link-remove","style","margin-left:20px",3,"click",4,"ngIf"],[1,"picker-link-remove",2,"margin-left","20px",3,"click"],[1,"fa","fa-trash","action-danger"],["target","_blank",3,"href"],[1,"fa","fa-copy","action",3,"click"],[3,"qrdata","allowEmptyString","ariaLabel","cssClass","colorDark","colorLight","elementType","errorCorrectionLevel","imageHeight","imageWidth","margin","scale","title","width"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&(b(0,Cce,10,7,"div",0),P(1,"app-form-field-validation-section",1)(2,"app-form-field-help",2)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Fo,ve,OR,rr,or,ar],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})(),W6=(()=>{class o{constructor(e){this.nuviotClient=e}addComponent(e){return this.nuviotClient.post("/api/mfg/component",e)}updateComponent(e){return this.nuviotClient.update("/api/mfg/component",e)}getComponent(e){return this.nuviotClient.getFormResponse(`/api/mfg/component/${e}`)}getComponentCategories(){var e=this;return E(function*(){return(yield e.nuviotClient.getListResponse("/api/categories/component")).model.map(n=>({id:n.id,key:n.key,text:n.name}))})()}saveComponent(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateComponent(e.model);{let n=yield r.addComponent(e.model);return n.successful&&(e.isEditing=!0),n}})()}populateComponent(e){return this.nuviotClient.postWithResponse("/api/mfg/digikey/partlookup",e)}createComponent(){return this.nuviotClient.getFormResponse("/api/mfg/component/factory")}getComponents(){return this.nuviotClient.get("/api/mfg/components")}getComponentForCategory(e){return this.nuviotClient.get(`/api/mfg/components?componentType=${e}`)}createComponentPurchase(){return this.nuviotClient.getFormResponse("/api/mfg/component/purchase/factory")}addComponentPackage(e){return this.nuviotClient.post("/api/mfg/component/package",e)}updateComponentPackage(e){return this.nuviotClient.update("/api/mfg/component/package",e)}getComponentPackage(e){return this.nuviotClient.getFormResponse(`/api/mfg/component/package/${e}`)}saveComponentPackage(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateComponentPackage(e.model);{let n=yield r.addComponentPackage(e.model);return n.successful&&(e.isEditing=!0),n}})()}createComponentPackage(){return this.nuviotClient.getFormResponse("/api/mfg/component/package/factory")}getComponentPackages(){return this.nuviotClient.get("/api/mfg/component/packages")}createAutoFeederTemplate(){return this.nuviotClient.getFormResponse("/api/mfg/autofeeder/template/factory")}getAutoFeederTemplates(){return this.nuviotClient.get("/api/mfg/autofeeder/templates")}addAutoFeederTemplate(e){return this.nuviotClient.post("/api/mfg/autofeeder/template",e)}updateAutoFeederTemplate(e){return this.nuviotClient.update("/api/mfg/autofeeder/template",e)}getAutoFeederTemplate(e){return this.nuviotClient.getFormResponse(`/api/mfg/autofeeder/template/${e}`)}saveAutoFeederTemplate(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateAutoFeederTemplate(e.model);{let n=yield r.addAutoFeederTemplate(e.model);return n.successful&&(e.isEditing=!0),n}})()}createAutoFeeder(){return this.nuviotClient.getFormResponse("/api/mfg/autofeeder/factory")}createAutoFeederFromTemplate(e){return this.nuviotClient.getFormResponse(`/api/mfg/autofeeder/template/${e}/factory`)}getAutoFeeders(){return this.nuviotClient.get("/api/mfg/autofeeders")}addAutoFeeder(e){return this.nuviotClient.post("/api/mfg/autofeeder",e)}updateAutoFeeder(e){return this.nuviotClient.update("/api/mfg/autofeeder",e)}getAutoFeeder(e){return this.nuviotClient.getFormResponse(`/api/mfg/autofeeder/${e}`)}saveAutoFeeder(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateAutoFeeder(e.model);{let n=yield r.addAutoFeeder(e.model);return n.successful&&(e.isEditing=!0),n}})()}createMachine(){return this.nuviotClient.getFormResponse("/api/mfg/machine/factory")}getMachines(){return this.nuviotClient.get("/api/mfg/machines")}getStripFeedersForMachine(e,r=!1){return this.nuviotClient.getListResponse(`/api/mfg/machine/${e}/stripfeeders?loadcomponents=${r}`)}addMachine(e){return this.nuviotClient.post("/api/mfg/machine",e)}updateMachine(e){return this.nuviotClient.update("/api/mfg/machine",e)}getMachine(e){return this.nuviotClient.getFormResponse(`/api/mfg/machine/${e}`)}saveMachine(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateMachine(e.model);{let n=yield r.addMachine(e.model);return n.successful&&(e.isEditing=!0),n}})()}createStripFeeder(){return this.nuviotClient.getFormResponse("/api/mfg/stripfeeder/factory")}createStripFeederFromTemplate(e){return this.nuviotClient.getFormResponse(`/api/mfg/stripfeeder/template/${e}/factory`)}getStripFeeders(){return this.nuviotClient.get("/api/mfg/stripfeeders")}addStripFeeder(e){return this.nuviotClient.post("/api/mfg/stripfeeder",e)}updateStripFeeder(e){return this.nuviotClient.update("/api/mfg/stripfeeder",e)}getStripFeeder(e,r=!1){return this.nuviotClient.getFormResponse(`/api/mfg/stripfeeder/${e}?loadcomponent=${r}`)}saveStripFeeder(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateStripFeeder(e.model);{let n=yield r.addStripFeeder(e.model);return n.successful&&(e.isEditing=!0),n}})()}createStripFeederTemplate(){return this.nuviotClient.getFormResponse("/api/mfg/stripfeeder/template/factory")}getStripFeederTemplates(){return this.nuviotClient.get("/api/mfg/stripfeeder/templates")}addStripFeederTemplate(e){return this.nuviotClient.post("/api/mfg/stripfeeder/template",e)}updateStripFeederTemplate(e){return this.nuviotClient.update("/api/mfg/stripfeeder/template",e)}getStripFeederTemplate(e){return this.nuviotClient.getFormResponse(`/api/mfg/stripfeeder/template/${e}`)}saveStripFeederTemplate(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateStripFeederTemplate(e.model);{let n=yield r.addStripFeederTemplate(e.model);return n.successful&&(e.isEditing=!0),n}})()}associateStripFeeder(e,r,n,i,a){return this.nuviotClient.get(`/api/mfg/machine/${e}/stagingplate/${r}/${i}/${a}/stripfeeder/${n}/attach`)}createPartPack(){return this.nuviotClient.getFormResponse("/api/mfg/partpack/factory")}getPartPacks(){return this.nuviotClient.get("/api/mfg/partpacks")}addPartPack(e){return this.nuviotClient.post("/api/mfg/partpack",e)}updatePartPack(e){return this.nuviotClient.update("/api/mfg/partpack",e)}getPartPack(e){return this.nuviotClient.getFormResponse(`/api/mfg/partpack/${e}`)}savePartPack(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updatePartPack(e.model);{let n=yield r.addPartPack(e.model);return n.successful&&(e.isEditing=!0),n}})()}createPcb(){return this.nuviotClient.getFormResponse("/api/mfg/pcb/factory")}getPcbs(){return this.nuviotClient.get("/api/mfg/pcbs")}addPcb(e){return this.nuviotClient.post("/api/mfg/pcb",e)}updatePcb(e){return this.nuviotClient.update("/api/mfg/pcb",e)}getPcb(e){return this.nuviotClient.getFormResponse(`/api/mfg/pcb/${e}`)}savePcb(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updatePcb(e.model);{let n=yield r.addPcb(e.model);return n.successful&&(e.isEditing=!0),n}})()}createComponentOrder(){return this.nuviotClient.getFormResponse("/api/mfg/order/factory")}createComponentOrderLineItem(){return this.nuviotClient.getFormResponse("/api/mfg/order/lineitem")}getComponentOrders(){return this.nuviotClient.get("/api/mfg/orders")}addComponentOrder(e){return this.nuviotClient.post("/api/mfg/order",e)}updateComponentOrder(e){return this.nuviotClient.update("/api/mfg/order",e)}addComponentPurchase(e,r){return this.nuviotClient.post(`/api/mfg/component/${e}/purchase`,r)}receiveComponentOrder(e,r,n){return this.nuviotClient.update(`/api/mfg/component/${e}/purchase/${r}/receive/${n}`,{})}getComponentOrder(e){return this.nuviotClient.getFormResponse(`/api/mfg/order/${e}`)}saveComponentOrder(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateComponentOrder(e.model);{let n=yield r.addComponentOrder(e.model);return n.successful&&(e.isEditing=!0),n}})()}createPnpJob(){return this.nuviotClient.getFormResponse("/api/mfg/pnpjob/factory")}getPnpJobs(){return this.nuviotClient.get("/api/mfg/pnpjobs")}addPnpJob(e){return this.nuviotClient.post("/api/mfg/pnpjob",e)}updatePnpJob(e){return this.nuviotClient.update("/api/mfg/pnpjob",e)}getPnpJob(e){return this.nuviotClient.getFormResponse(`/api/mfg/pnpjob/${e}`)}savePnpJob(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updatePnpJob(e.model);{let n=yield r.addPnpJob(e.model);return n.successful&&(e.isEditing=!0),n}})()}editRevision(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/mfg/pcb/revision/factory");return n.isEditing=!0,n.model=e,n})()}testFitRevision(e,r){return this.nuviotClient.postWithResponse(`/api/mfg/machine/${e}/revision/testfit`,r)}createPnPJobFromPCB(e,r,n=""){let i=`/api/mfg/pcb/${e}/revision/${r}/job`;return n&&(i+=`?name=${n}`),this.nuviotClient.request(i)}createGCodeMapping(){return this.nuviotClient.getFormResponse("/api/mfg/gcodemapping/factory")}getGCodeMappings(){return this.nuviotClient.get("/api/mfg/gcodemappings")}addGCodeMapping(e){return this.nuviotClient.post("/api/mfg/gcodemapping",e)}updateGCodeMapping(e){return this.nuviotClient.update("/api/mfg/gcodemapping",e)}getGCodeMapping(e){return this.nuviotClient.getFormResponse(`/api/mfg/gcodemapping/${e}`)}saveGCodeMapping(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateGCodeMapping(e.model);{let n=yield r.addGCodeMapping(e.model);return n.successful&&(e.isEditing=!0),n}})()}createNozzleTip(){return this.nuviotClient.getFormResponse("/api/mfg/pnp/nozzletip/factory")}getNozzleTips(){return this.nuviotClient.get("/api/mfg/pnp/nozzletips")}addNozzleTip(e){return this.nuviotClient.post("/api/mfg/pnp/nozzletip",e)}updateNozzleTip(e){return this.nuviotClient.update("/api/mfg/pnp/nozzletip",e)}getNozzleTip(e){return this.nuviotClient.getFormResponse(`/api/mfg/pnp/nozzletip/${e}`)}saveNozzleTip(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateNozzleTip(e.model);{let n=yield r.addNozzleTip(e.model);return n.successful&&(e.isEditing=!0),n}})()}createInventoryLocation(){return this.nuviotClient.getFormResponse("/api/mfg/inventory/location/factory")}getInventoryLocations(){return this.nuviotClient.get("/api/mfg/inventory/locations")}addInventoryLocation(e){return this.nuviotClient.post("/api/mfg/inventory/location",e)}updateInventoryLocation(e){return this.nuviotClient.update("/api/mfg/inventory/location",e)}getInventoryLocation(e){return this.nuviotClient.getFormResponse(`/api/mfg/inventory/location/${e}`)}saveInventoryLocation(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateInventoryLocation(e.model);{let n=yield r.addInventoryLocation(e.model);return n.successful&&(e.isEditing=!0),n}})()}getGCodeForProject(e){return this.nuviotClient.postWithResponse("/api/mfg/gcode/generate",e)}createGCodeProject(){return this.nuviotClient.getFormResponse("/api/mfg/gcode/project/factory")}getGCodeProjects(){return this.nuviotClient.get("/api/mfg/gcode/projects")}addGCodeProject(e){return this.nuviotClient.post("/api/mfg/gcode/project",e)}updateGCoeProject(e){return this.nuviotClient.update("/api/mfg/gcode/project",e)}getGCodeProject(e){return this.nuviotClient.getFormResponse(`/api/mfg/gcode/project/${e}`)}saveGCodeProject(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateGCoeProject(e.model);{let n=yield r.addGCodeProject(e.model);return n.successful&&(e.isEditing=!0),n}})()}createAssemblyInstruction(){return this.nuviotClient.getFormResponse("/api/mfg/assembly/instruction/factory")}createAssemblyInstructionStep(){return this.nuviotClient.getFormResponse("/api/mfg/assembly/instructions/step/factory")}editAssemblyInstructionStep(e){var r=this;return E(function*(){let n=yield r.createAssemblyInstructionStep();return n.model=e,n})()}getAssemblyInstructions(){return this.nuviotClient.get("/api/mfg/assembly/instructions")}addAssemblyInstruction(e){return this.nuviotClient.post("/api/mfg/assembly/instruction",e)}updateAssemblyInstruction(e){return this.nuviotClient.update("/api/mfg/assembly/instruction",e)}getAssemblyInstruction(e){return this.nuviotClient.getFormResponse(`/api/mfg/assembly/instruction/${e}`)}saveAssemblyInstruction(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateAssemblyInstruction(e.model);{let n=yield r.addAssemblyInstruction(e.model);return n.successful&&(e.isEditing=!0),n}})()}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function xce(o,t){if(1&o&&(d(0,"option",5),v(1),u()),2&o){const e=t.$implicit;g("value",e.key),p(1),ae(e.text)}}function Dce(o,t){if(1&o){const e=j();d(0,"li",8),T("click",function(){const i=F(e).$implicit;return S(m(2).partSelected(i))}),v(1),u()}if(2&o){const e=t.$implicit;p(1),cl(" ",e.name," ",e.value," (",e.package,") ")}}function Mce(o,t){if(1&o&&(d(0,"ol",6),b(1,Dce,2,3,"li",7),u()),2&o){const e=m();p(1),g("ngForOf",e.parts)}}let kce=(()=>{class o{constructor(e,r,n){this.mfgService=e,this.activeModal=r,this.adminServices=n,this.itemSelected=new ee}ngOnInit(){var e=this;return E(function*(){let r=yield e.adminServices.getCategories("component");e.componentCategories=r.model.map(n=>({id:n.id,key:n.key,text:n.name})),e.componentCategories.unshift({id:"-1",key:"-1",text:"-select category-"}),e.selectedCategory=e.componentCategories[0].key})()}categorySelected(){var e=this;return E(function*(){e.parts="-1"==e.selectedCategory?void 0:(yield e.mfgService.getComponentForCategory(e.selectedCategory)).model})()}partSelected(e){var r=this;return E(function*(){r.itemSelected.emit({id:e.id,key:e.key,text:e.name}),r.activeModal.close()})()}}return o.\u0275fac=function(e){return new(e||o)(O(W6),O(xo),O(eu))},o.\u0275cmp=ne({type:o,selectors:[["app-component-picker"]],outputs:{itemSelected:"itemSelected"},decls:8,vars:3,consts:[[2,"margin","30px"],[2,"color","var(--color-primary-80)"],[1,"form-control","form-select",3,"ngModel","change","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["class","list-group",4,"ngIf"],[3,"value"],[1,"list-group"],["class","list-group-item",3,"click",4,"ngFor","ngForOf"],[1,"list-group-item",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"h3",1),v(2,"Select Component"),u(),d(3,"label"),v(4,"Select Category"),u(),d(5,"select",2),T("change",function(){return r.categorySelected()})("ngModelChange",function(i){return r.selectedCategory=i}),b(6,xce,2,2,"option",3),u(),b(7,Mce,2,1,"ol",4),u()),2&e&&(p(5),g("ngModel",r.selectedCategory),p(1),g("ngForOf",r.componentCategories),p(1),g("ngIf",r.parts))},dependencies:[Qo,en,No,mt,It,gt,ve]}),o})();function Ece(o,t){if(1&o){const e=j();d(0,"span",14),T("click",function(n){return F(e),m(3).clearComponent(),S(n.stopPropagation())}),P(1,"i",15),u()}}function Tce(o,t){if(1&o){const e=j();d(0,"span",11),T("click",function(){return F(e),S(m(2).pickComponent())}),d(1,"span",12),v(2),u(),b(3,Ece,2,0,"span",13),u()}if(2&o){const e=m(2);p(2),ae(e.field.display?e.field.display:e.field.watermark),p(1),g("ngIf",e.field.value&&!e.field.isRequired&&e.field.isUserEditable)}}function Fce(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function Sce(o,t){1&o&&(d(0,"span",16),P(1,"span",17),u()),2&o&&Re("data-target",m(2).popupId)}function Pce(o,t){if(1&o&&(d(0,"div",3)(1,"div",4)(2,"div",5),P(3,"app-form-field-label",6),d(4,"div",7),b(5,Tce,4,2,"span",8),b(6,Fce,2,1,"div",9),u()(),d(7,"div"),b(8,Sce,2,1,"span",10),u()()()),2&o){const e=m();p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled),p(2),g("ngIf",e.field.help)}}let Ice=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.userService=r}pickComponent(){this.modalService.open(kce,{size:"lg"}).componentInstance.itemSelected.subscribe(r=>{this.field.value=r,this.field.display=r,console.log(r),this.changed(this.field)})}clearComponent(){}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(uo))},o.\u0275cmp=ne({type:o,selectors:[["app-component-picker-field"]],features:[Te],decls:3,vars:8,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[3,"click"],[1,"picker-link"],["class","picker-link-remove","style","margin-left:20px",3,"click",4,"ngIf"],[1,"picker-link-remove",2,"margin-left","20px",3,"click"],[1,"fa","fa-trash","action-danger"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&(b(0,Pce,9,6,"div",0),P(1,"app-form-field-validation-section",1)(2,"app-form-field-help",2)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[ve,rr,or,ar],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})();function Ace(o,t){if(1&o&&(d(0,"option",6),v(1),u()),2&o){const e=t.$implicit;g("value",e.id),p(1),ae(e.text)}}function Oce(o,t){if(1&o&&(d(0,"option",7),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.id),p(1),ae(e.text)}}function Rce(o,t){if(1&o&&(d(0,"option",7),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.id),p(1),ae(e.text)}}function Lce(o,t){if(1&o&&(d(0,"option",7),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.id),p(1),ae(e.text)}}function Bce(o,t){if(1&o&&(d(0,"option",7),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.id),p(1),ae(e.text)}}let Nce=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.mfgService=r}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){e().call(r),r.rooms=[],r.shelfUnits=[],r.shelves=[],r.columns=[],r.roomId="-1",r.shelfUnitId="-1",r.shelfId="-1",r.columnId="-1";var n=yield r.mfgService.getInventoryLocations();if(r.locations=n.model.map(i=>({id:i.id,key:i.key,text:i.name})),r.locations.unshift({id:"-1",key:"-1",text:"-select location-"}),r.field.value){r.selectedLocation=r.field.value,r.locationId=r.selectedLocation.location.id;let i=yield r.mfgService.getInventoryLocation(r.locationId);if(i.successful&&(r.location=i.model,r.rooms=r.location.rooms.map(a=>({id:a.id,key:a.key,text:a.name})),r.roomId=r.selectedLocation.room?.id??"-1",r.roomId)){let a=r.location.rooms.find(s=>s.id==r.roomId);if(r.shelfUnits=a.shelfUnits.map(s=>({id:s.id,key:s.key,text:s.name})),r.shelfUnitId=r.selectedLocation.shelfUnit?.id??"-1","-1"!=r.shelfUnitId){let s=a.shelfUnits.find(l=>l.id==r.shelfUnitId);if(r.shelves=s.shelves.map(l=>({id:l.id,key:l.key,text:l.name})),r.shelfId=r.selectedLocation?.shelf?.id??"-1","-1"!=r.shelfId){let l=s.shelves.find(c=>c.id==r.shelfId);r.columns=l.columns.map(c=>({id:c.id,key:c.key,text:c.name})),r.columnId=r.selectedLocation?.column?.id??"-1"}}}}else r.locationId=r.locations[0].id;r.rooms.unshift({id:"-1",key:"-1",text:"-select room-"}),r.shelfUnits.unshift({id:"-1",key:"-1",text:"-select shelf unit-"}),r.shelves.unshift({id:"-1",key:"-1",text:"-select shelf-"}),r.columns.unshift({id:"-1",key:"-1",text:"-select column-"}),console.log(r.locationId)})()}updateField(){var e=this;return E(function*(){if(e.selectedLocation&&e.selectedLocation.location.id==e.locationId)if(e.roomId!=e.selectedLocation.room?.id)if(e.roomId&&"-1"!=e.roomId){let r=e.location.rooms.find(n=>n.id==e.roomId);e.selectedLocation.room=e.rooms.find(n=>n.id==e.roomId),e.shelfUnits=r.shelfUnits.map(n=>({id:n.id,key:n.key,text:n.name})),e.shelfUnits.unshift({id:"-1",key:"-1",text:"-select shelf unit-"})}else e.shelfUnits=[],e.shelfUnits.push({id:"-1",key:"-1",text:"-select shelf unit-"}),e.selectedLocation.room=void 0,e.selectedLocation.shelfUnit=void 0,e.selectedLocation.shelf=void 0,e.selectedLocation.column=void 0,e.selectedLocation.bin=void 0,e.shelfUnitId="-1",e.shelfId="-1",e.columnId="-1";else if(e.shelfUnitId!=e.selectedLocation.shelfUnit?.id){if(console.log(e.shelfUnitId),e.shelfUnitId&&"-1"!=e.shelfUnitId){let n=e.location.rooms.find(i=>i.id==e.roomId).shelfUnits.find(i=>i.id==e.shelfUnitId);e.selectedLocation.shelfUnit=e.shelfUnits.find(i=>i.id==e.shelfUnitId),e.shelves=n.shelves.map(i=>({id:i.id,key:i.key,text:i.name})),e.shelves.unshift({id:"-1",key:"-1",text:"-select shelf-"})}else e.shelves=[],e.shelves.push({id:"-1",key:"-1",text:"-select shelf-"}),e.selectedLocation.shelfUnit=void 0,e.selectedLocation.shelf=void 0,e.selectedLocation.column=void 0,e.selectedLocation.bin=void 0,e.shelfId="-1",e.columnId="-1";e.shelfId="-1"}else if(e.shelfId!=e.selectedLocation.shelf?.id){if(e.shelfUnitId&&"-1"!=e.shelfUnitId){let i=e.location.rooms.find(a=>a.id==e.roomId).shelfUnits.find(a=>a.id==e.shelfUnitId).shelves.find(a=>a.id==e.shelfId);e.selectedLocation.shelf=e.shelves.find(a=>a.id==e.shelfId),e.columns=i.columns.map(a=>({id:a.id,key:a.key,text:a.name})),e.columns.unshift({id:"-1",key:"-1",text:"-select column-"})}else e.columns=[],e.columns.push({id:"-1",key:"-1",text:"-select column-"}),e.selectedLocation.shelf=void 0,e.selectedLocation.column=void 0,e.selectedLocation.bin=void 0,e.columnId="-1";e.columnId="-1"}else e.columnId!=e.selectedLocation.column?.id&&(e.selectedLocation.column=e.columnId&&"-1"!=e.columnId?e.columns.find(r=>r.id==e.columnId):void 0);else if("-1"==e.locationId)e.selectedLocation=void 0,e.rooms=[],e.rooms.push({id:"-1",key:"-1",text:"-select room-"}),e.roomId="-1",e.shelfUnitId="-1",e.shelfId="-1",e.columnId="-1";else{e.selectedLocation={location:e.locations.find(n=>n.id==e.locationId)},e.field.value=e.selectedLocation;let r=yield e.mfgService.getInventoryLocation(e.locationId);e.location=r.model,e.rooms=e.location.rooms.map(n=>({id:n.id,key:n.key,text:n.name})),e.rooms.unshift({id:"-1",key:"-1",text:"-select room-"}),e.roomId="-1"}})()}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(W6))},o.\u0275cmp=ne({type:o,selectors:[["app-inventory-location-picker"]],features:[Te],decls:27,vars:15,consts:[[2,"display","flex"],[2,"width","20%"],[1,"form-control","form-select",3,"ngModel","ngModelChange","change"],[3,"value",4,"ngFor","ngForOf"],[1,"form-control","form-select",3,"disabled","ngModel","ngModelChange","change"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"value"],[3,"ngValue"]],template:function(e,r){1&e&&(d(0,"div")(1,"div",0)(2,"div",1)(3,"label"),v(4),u(),d(5,"select",2),T("ngModelChange",function(i){return r.locationId=i})("change",function(){return r.updateField()}),b(6,Ace,2,2,"option",3),u()(),d(7,"div",1)(8,"label"),v(9,"Room"),u(),d(10,"select",4),T("ngModelChange",function(i){return r.roomId=i})("change",function(){return r.updateField()}),b(11,Oce,2,2,"option",5),u()(),d(12,"div",1)(13,"label"),v(14,"Shelf Unit"),u(),d(15,"select",4),T("ngModelChange",function(i){return r.shelfUnitId=i})("change",function(){return r.updateField()}),b(16,Rce,2,2,"option",5),u()(),d(17,"div",1)(18,"label"),v(19,"Shelf"),u(),d(20,"select",4),T("ngModelChange",function(i){return r.shelfId=i})("change",function(){return r.updateField()}),b(21,Lce,2,2,"option",5),u()(),d(22,"div",1)(23,"label"),v(24,"Column"),u(),d(25,"select",4),T("ngModelChange",function(i){return r.columnId=i})("change",function(){return r.updateField()}),b(26,Bce,2,2,"option",5),u()()()()),2&e&&(p(4),ae(r.field.label),p(1),g("ngModel",r.locationId),p(1),g("ngForOf",r.locations),p(4),g("disabled",!r.locationId||"-1"==r.locationId)("ngModel",r.roomId),p(1),g("ngForOf",r.rooms),p(4),g("disabled",!r.roomId||"-1"==r.roomId)("ngModel",r.shelfUnitId),p(1),g("ngForOf",r.shelfUnits),p(4),g("disabled",!r.shelfUnitId||"-1"==r.shelfUnitId)("ngModel",r.shelfId),p(1),g("ngForOf",r.shelves),p(4),g("disabled",!r.shelfId||"-1"==r.shelfId)("ngModel",r.columnId),p(1),g("ngForOf",r.columns))},dependencies:[Qo,en,No,mt,It,gt],styles:["label[_ngcontent-%COMP%]{font-weight:700}select[_ngcontent-%COMP%]{margin-right:5px}"]}),o})();const Hce=["pickerModal"];function Vce(o,t){if(1&o){const e=j();d(0,"span",12),T("click",function(){return F(e),S(m(2).pickInvoice())}),d(1,"span",13),v(2),u()()}if(2&o){const e=m(2);p(2),ae(e.field.display?e.field.display:e.field.watermark)}}function $ce(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function zce(o,t){1&o&&(d(0,"span",14),P(1,"span",15),u()),2&o&&Re("data-target",m(2).popupId)}function Yce(o,t){if(1&o&&(d(0,"div",4)(1,"div",5)(2,"div",6),P(3,"app-form-field-label",7),d(4,"div",8),b(5,Vce,3,1,"span",9),b(6,$ce,2,1,"div",10),u()(),d(7,"div"),b(8,zce,2,1,"span",11),u()()()),2&o){const e=m();p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled),p(2),g("ngIf",e.field.help)}}function jce(o,t){if(1&o&&(d(0,"option",27),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.key),p(1),ae(e.name)}}function Uce(o,t){if(1&o&&(d(0,"option",27),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.key),p(1),ae(e.text)}}function Wce(o,t){if(1&o){const e=j();d(0,"div",6)(1,"label",18),v(2,"Niche:"),u(),d(3,"select",19),T("ngModelChange",function(n){return F(e),S(m(2).selectedNiche=n)})("change",function(n){return F(e),S(m(2).filterChanged(n))}),b(4,Uce,2,2,"option",20),u()()}if(2&o){const e=m(2);p(3),g("ngModel",e.selectedNiche),p(1),g("ngForOf",e.niches)}}function Gce(o,t){if(1&o&&(d(0,"option",27),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.key),p(1),ae(e.label)}}function qce(o,t){1&o&&(d(0,"li",33)(1,"span",34),v(2,"No customers found"),u()())}function Kce(o,t){if(1&o){const e=j();d(0,"li",35),T("click",function(){const i=F(e).$implicit;return S(m(4).selectCustomer(i))}),d(1,"div"),v(2),u()()}if(2&o){const e=t.$implicit;p(2),ae(e.name)}}function Zce(o,t){if(1&o&&(d(0,"ol",30),b(1,qce,3,0,"li",31),b(2,Kce,3,1,"li",32),u()),2&o){const e=m(3);p(1),g("ngIf",0===e.customers.model.length),p(1),g("ngForOf",e.customers.model)}}function Xce(o,t){1&o&&(d(0,"li",33)(1,"span",34),v(2,"No invoices found"),u()())}function Jce(o,t){if(1&o&&(d(0,"li",33),v(1),xr(2,"currency"),u()),2&o){const e=t.$implicit;p(1),cl(" ",e.invoiceNumber," - ",e.status," - ",Dr(2,3,e.total)," ")}}function Qce(o,t){if(1&o&&(d(0,"ol",30),b(1,Xce,3,0,"li",31),b(2,Jce,3,5,"li",36),u()),2&o){const e=m(3);p(1),g("ngIf",0===e.invoices.model.length),p(1),g("ngForOf",e.invoices.model)}}function ede(o,t){if(1&o&&(d(0,"div",28),b(1,Zce,3,2,"ol",29),b(2,Qce,3,2,"ol",29),u()),2&o){const e=m(2);p(1),g("ngIf",!e.invoices&&e.customers),p(1),g("ngIf",e.invoices)}}function tde(o,t){1&o&&(d(0,"div",37)(1,"h4"),v(2,"Please Wait"),u(),P(3,"i",38),u())}function rde(o,t){if(1&o){const e=j();d(0,"div")(1,"div",16)(2,"h3"),v(3,"Customer Picker"),u()(),d(4,"div",17)(5,"div",6)(6,"label",18),v(7,"Industry:"),u(),d(8,"select",19),T("ngModelChange",function(n){return F(e),S(m().selectedIndustry=n)})("change",function(n){return F(e),S(m().filterChanged(n))}),b(9,jce,2,2,"option",20),u()(),b(10,Wce,5,2,"div",21),d(11,"div",6)(12,"label",18),v(13,"Customer Status:"),u(),d(14,"select",19),T("ngModelChange",function(n){return F(e),S(m().selectedStage=n)})("change",function(n){return F(e),S(m().filterChanged(n))}),b(15,Gce,2,2,"option",20),u()()(),d(16,"div",22),b(17,ede,3,2,"div",23),b(18,tde,4,0,"div",24),u(),d(19,"div",25)(20,"button",26),T("click",function(){return F(e),S(m().closeModal())}),v(21,"Close"),u()()()}if(2&o){const e=m();p(8),g("ngModel",e.selectedIndustry),p(1),g("ngForOf",e.industries),p(1),g("ngIf",null!=e.selectedStage),p(4),g("ngModel",e.selectedStage),p(1),g("ngForOf",e.stageOptions),p(2),g("ngIf",!e.busy),p(1),g("ngIf",e.busy)}}let ode=(()=>{class o extends Ct{constructor(e,r,n,i){super(),this.modal=e,this.userService=r,this.businessService=n,this.storage=i,this.selectedIndustry="-1",this.selectedNiche="-1",this.selectedStage="-1",this.niches=[],this.busy=!1}ngOnInit(){}pickInvoice(){var e=this;return E(function*(){e.busy=!0,e.industries=(yield e.businessService.getIndustries()).model,e.stageOptions=yield e.businessService.getCustomerStageOptions(),e.selectedStage=yield e.storage.getItemAsync("customer-filter-status","-1"),e.selectedIndustry=yield e.storage.getItemAsync("customer-filter-industry","-1"),e.stageOptions.unshift(Dt.getAllOption()),e.industries.unshift(Dt.getAllOption()),e.customers=yield e.businessService.getCustomers(e.selectedStage,e.selectedIndustry),e.currentModal=e.modal.open(e.pickerModal,{size:"lg"}),e.busy=!1})()}filterChanged(e){var r=this;return E(function*(){r.storage.setItemAsync("customer-filter-status",r.selectedStage),r.storage.setItemAsync("customer-filter-industry",r.selectedIndustry),r.customers=yield r.businessService.getCustomers(r.selectedStage,r.selectedIndustry),r.setIndustry(r.selectedIndustry)})()}setIndustry(e){var r=this;return E(function*(){if(e&&"-1"!=e){let n=r.industries.find(a=>a.key===e).id,i=yield r.businessService.getIndustry(n);r.niches=i.model.niches.map(a=>({id:a.id,key:a.key,text:a.name})),r.niches.unshift(Dt.getSelectOption())}})()}selectCustomer(e){var r=this;return E(function*(){r.invoices=yield r.businessService.getInvoicesForCustomer(e.id)})()}closeModal(){}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(uo),O(wh),O(Hi))},o.\u0275cmp=ne({type:o,selectors:[["app-invoice-picker"]],viewQuery:function(e,r){if(1&e&&Yt(Hce,5),2&e){let n;ze(n=Ye())&&(r.pickerModal=n.first)}},features:[Te],decls:5,vars:8,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["pickerModal",""],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[3,"click"],[1,"picker-link"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"],[2,"border-bottom","1px solid silver","padding-top","10px","padding-right","10px","padding-left","10px"],[2,"display","flex","padding","20px"],[2,"display","inline","margin-right","5px"],[1,"form-control","form-select",2,"width","240px","display","inline",3,"ngModel","ngModelChange","change"],[3,"ngValue",4,"ngFor","ngForOf"],["style","flex-grow:1",4,"ngIf"],[2,"height","600px"],["style","padding:20px;background-color: white;",4,"ngIf"],["style","text-align:center;height: 550px; padding-top:50px;",4,"ngIf"],[2,"text-align","right","padding","10px","border-top","1pt solid silver"],[1,"btn","btn-secondary",3,"click"],[3,"ngValue"],[2,"padding","20px","background-color","white"],["class","list-group","style","max-height: 550px;overflow-y: auto;",4,"ngIf"],[1,"list-group",2,"max-height","550px","overflow-y","auto"],["class","list-group-item",4,"ngIf"],["class","list-group-item","style","cursor: pointer;",3,"click",4,"ngFor","ngForOf"],[1,"list-group-item"],[1,"text-muted"],[1,"list-group-item",2,"cursor","pointer",3,"click"],["class","list-group-item",4,"ngFor","ngForOf"],[2,"text-align","center","height","550px","padding-top","50px"],[1,"fa","fa-spinner","fa-spin","fa-3x"]],template:function(e,r){1&e&&(b(0,Yce,9,6,"div",0),P(1,"app-form-field-validation-section",1)(2,"app-form-field-help",2),b(3,rde,22,7,"ng-template",null,3,Sn)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Qo,en,No,mt,It,gt,ve,rr,or,ar,tI],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})(),nde=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.userService=r}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(uo))},o.\u0275cmp=ne({type:o,selectors:[["app-proposal-picker"]],features:[Te],decls:2,vars:0,template:function(e,r){1&e&&(d(0,"p"),v(1," proposal-picker works!\n"),u())}}),o})(),ide=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.userService=r}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(uo))},o.\u0275cmp=ne({type:o,selectors:[["app-agreement-picker"]],features:[Te],decls:2,vars:0,template:function(e,r){1&e&&(d(0,"p"),v(1," agreement-picker works!\n"),u())}}),o})(),ade=(()=>{class o{constructor(e){this.clientService=e}getCreateOrgForm(){var e=this;return E(function*(){return yield e.clientService.getFormResponse("/api/org/factory")})()}createOrganization(e){var r=this;return E(function*(){return yield r.clientService.post("/api/org",e)})()}getSubscriptions(){var e=this;return E(function*(){return yield e.clientService.getListResponse("/api/subscriptions")})()}getSubscription(e){var r=this;return E(function*(){return yield r.clientService.getFormResponse(`/api/subscription/${e}`)})()}createSubscription(){var e=this;return E(function*(){return yield e.clientService.getFormResponse("/api/subscription/factory")})()}updateSubscription(e){var r=this;return E(function*(){return yield r.clientService.update("/api/subscription",e)})()}addSubscription(e){var r=this;return E(function*(){return yield r.clientService.post("/api/subscription",e)})()}deleteSubscription(e){var r=this;return E(function*(){return yield r.clientService.delete(`/api/subscription/${e}`)})()}saveSubscription(e){var r=this;return E(function*(){return e.isEditing?yield r.updateSubscription(e.model):yield r.addSubscription(e.model)})()}getDistributionLists(){var e=this;return E(function*(){return yield e.clientService.getListResponse("/api/distros")})()}getDistributionListsForCustomerAsync(e){var r=this;return E(function*(){return yield r.clientService.getListResponse(`/api/distros/customer/${e}`)})()}getDistributionList(e){var r=this;return E(function*(){return yield r.clientService.getFormResponse(`/api/distro/${e}`)})()}confirmDistributionList(e){var r=this;return E(function*(){return yield r.clientService.getFormResponse(`/api/distro/${e}/sendconfirmmessage`)})()}createDistributionList(){var e=this;return E(function*(){return yield e.clientService.getFormResponse("/api/distro/factory")})()}updateDistributionList(e){var r=this;return E(function*(){return yield r.clientService.update("/api/distro",e)})()}addDistributionList(e){var r=this;return E(function*(){return yield r.clientService.post("/api/distro",e)})()}deleteDistributionList(e){var r=this;return E(function*(){return yield r.clientService.delete(`/api/distro/${e}`)})()}createExternalContact(){var e=this;return E(function*(){return yield e.clientService.getFormResponse("/api/distro/externalcontact/factory")})()}editExternalContact(e){var r=this;return E(function*(){let n=yield r.clientService.getFormResponse("/api/distro/externalcontact/factory");return n.model=e,n.isEditing=!0,n})()}saveDistributionList(e){var r=this;return E(function*(){return e.isEditing?yield r.updateDistributionList(e.model):yield r.addDistributionList(e.model)})()}getHolidaySets(){var e=this;return E(function*(){return yield e.clientService.getListResponse("/api/holidaysets")})()}getHolidaySet(e){var r=this;return E(function*(){return yield r.clientService.getFormResponse(`/api/holidayset/${e}`)})()}createHolidaySet(){var e=this;return E(function*(){return yield e.clientService.getFormResponse("/api/holidayset/factory")})()}updateHolidaySet(e){var r=this;return E(function*(){return yield r.clientService.update("/api/holidayset",e)})()}addHolidaySet(e){var r=this;return E(function*(){return yield r.clientService.post("/api/holidayset",e)})()}deleteHolidaySet(e){var r=this;return E(function*(){return yield r.clientService.delete(`/api/holidayset/${e}`)})()}saveHolidaySet(e){var r=this;return E(function*(){return e.isEditing?yield r.updateHolidaySet(e.model):yield r.addHolidaySet(e.model)})()}getAllOrgs(){var e=this;return E(function*(){return yield e.clientService.getListResponse("/sys/api/orgs/all")})()}searchOrgs(e){var r=this;return E(function*(){return yield r.clientService.getListResponse(`/sys/api/orgs/search?filter=${e}`)})()}deleteOrg(e){var r=this;return E(function*(){return yield r.clientService.delete(`/sys/api/org/${e}`)})()}getScheduledDowntimes(){var e=this;return E(function*(){return yield e.clientService.getListResponse("/api/scheduleddowntimes")})()}getScheduledDowntime(e){var r=this;return E(function*(){return yield r.clientService.getFormResponse(`/api/scheduleddowntime/${e}`)})()}createScheduledDowntime(){var e=this;return E(function*(){return yield e.clientService.getFormResponse("/api/scheduleddowntime/factory")})()}updateScheduledDowntime(e){var r=this;return E(function*(){return yield r.clientService.update("/api/scheduleddowntime",e)})()}addScheduledDowntime(e){var r=this;return E(function*(){return yield r.clientService.post("/api/scheduleddowntime",e)})()}deleteScheduledDowntime(e){var r=this;return E(function*(){return yield r.clientService.delete(`/api/scheduleddowntime/${e}`)})()}saveScheduledDowntime(e){var r=this;return E(function*(){return e.isEditing?yield r.updateScheduledDowntime(e.model):yield r.addScheduledDowntime(e.model)})()}getLocations(e){let r={};return e&&(r.categoryKey=e),this.clientService.getListResponse("/api/org/locations",r)}getLocationsForCustomer(e){return this.clientService.getListResponse(`/api/org/locations/customer/${e}`)}createLocation(){return this.clientService.getFormResponse("/api/org/location/factory")}getLocation(e){return this.clientService.getFormResponse(`/api/org/location/${e}`)}addLocation(e){return this.clientService.post("/api/org/location",e)}deleteLocation(e){return this.clientService.delete(`/api/org/location/${e}`)}updateLocation(e){return this.clientService.update("/api/org/location",e)}saveLocation(e){var r=this;return E(function*(){return e.isEditing?yield r.updateLocation(e.model):yield r.addLocation(e.model)})()}getLocationDiagrams(){return this.clientService.getListResponse("/api/org/location/diagrams")}getLocationDiagramsForCustomer(e){return this.clientService.getListResponse("/api/customer/diagrams")}getLocationDiagram(e){return this.clientService.getFormResponse(`/api/org/location/diagram/${e}`)}getLocationDiagramOnly(e){return this.clientService.request(`/device/notifications/diagram/${e}`)}createLocationDiagram(){return this.clientService.getFormResponse("/api/org/location/diagram/factory")}createLocationDiagramForCustomer(e){return this.clientService.getFormResponse(`/api/customer/${e}/diagram/factory`)}createLocationDiagramShape(){return this.clientService.getFormResponse("/api/org/location/diagram/shape/factory")}editLocationDiagramShape(e){var r=this;return E(function*(){let n=yield r.clientService.getFormResponse("/api/org/location/diagram/shape/factory",!1);return n.isEditing=!0,n.model=e,n})()}updateLocationDiagram(e){var r=this;return E(function*(){return yield r.clientService.update("/api/org/location/diagram",e)})()}addLocationDiagram(e){var r=this;return E(function*(){return yield r.clientService.post("/api/org/location/diagram",e)})()}saveLocationDiagram(e){var r=this;return E(function*(){return e.isEditing?yield r.updateLocationDiagram(e.model):yield r.addLocationDiagram(e.model)})()}createLocationDiagramGroup(){var e=this;return E(function*(){return e.clientService.getFormResponse("/api/org/location/diagram/group/factory")})()}createLocationDiagramLayer(){var e=this;return E(function*(){return e.clientService.getFormResponse("/api/org/location/diagram/layer/factory")})()}editLocationDiagramGroup(e){var r=this;return E(function*(){let n=yield r.clientService.getFormResponse("/api/org/location/diagram/shape/factory",!1);return n.isEditing=!0,n.model=e,n})()}editLocationDiagramLayer(e){var r=this;return E(function*(){let n=yield r.clientService.getFormResponse("/api/org/location/diagram/shape/factory",!1);return n.isEditing=!0,n.model=e,n})()}addOrgLocation(e,r){var n=this;return E(function*(){return yield n.clientService.post(`/api/org/location/${e}/diagram`,r)})()}updateOrgLocation(e,r){var n=this;return E(function*(){return yield n.clientService.post(`/api/org/location/${e}/diagram`,r)})()}deleteOrgLocation(e,r){var n=this;return E(function*(){return yield n.clientService.delete(`/api/org/location/${e}/diagram/${r}`)})()}getOwnedObjects(e){var r=this;return E(function*(){return yield r.clientService.getListResponse(`/sys/api/org/${e}/ownedobjects`)})()}getOrgUsers(e){var r=this;return E(function*(){return yield r.clientService.getListResponse(`/sys/api/org/${e}/users`)})()}getOrgDeployments(e){var r=this;return E(function*(){return yield r.clientService.getListResponse(`/sys/api/deployment/instances/${e}`)})()}getSysAdminOrgs(e){var r=this;return E(function*(){return yield r.clientService.request(`/sys/api/org/${e}`)})()}getPublicOrgInfo(e){var r=this;return E(function*(){return r.clientService.request(`/api/org/${e}/public/summary`)})()}sysAdminUpdateOrg(e){var r=this;return E(function*(){return yield r.clientService.update("/sys/api/org",e)})()}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function sde(o,t){if(1&o){const e=j();d(0,"span",9),T("click",function(){return F(e),S(m(2).editDiagram())}),d(1,"span",10),v(2),u()()}if(2&o){const e=m(2);p(2),ae(e.field.display?e.field.display:e.field.watermark)}}function lde(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function cde(o,t){1&o&&(d(0,"span",11),P(1,"span",12),u()),2&o&&Re("data-target",m(2).popupId)}function dde(o,t){if(1&o&&(d(0,"div",1)(1,"div",2)(2,"div",3),P(3,"app-form-field-label",4),d(4,"div",5),b(5,sde,3,1,"span",6),b(6,lde,2,1,"div",7),u()(),d(7,"div"),b(8,cde,2,1,"span",8),u()()()),2&o){const e=m();p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled),p(2),g("ngIf",e.field.help)}}let ude=(()=>{class o extends Ct{constructor(e,r,n,i){super(),this.modalService=e,this.businessService=r,this.orgService=n,this.userService=i}ngOnInit(){}editDiagram(){var e=this;return E(function*(){if(e.field.value)window.open(`/gla/c/diagram/${e.field.value.id}`,"_blank");else if(e.form.isEditing){let r=yield e.businessService.createLocationDiagram();r.model.name=`${e.model.name} Diagram`,r.model.key=`${e.model.key}diagram`,yield e.orgService.saveLocationDiagram(r),e.field.value={id:r.model.id,text:r.model.name,key:r.model.key},e.field.display=e.field.value,yield e.form.formHost.saveForm(!1),window.open(`/gla/c/diagram/${r.model.id}`,"_blank")}else alert("Please save your changes before editing the diagram")})()}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(wh),O(ade),O(uo))},o.\u0275cmp=ne({type:o,selectors:[["app-diagram"]],features:[Te],decls:1,vars:1,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[3,"click"],[1,"picker-link"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&b(0,dde,9,6,"div",0),2&e&&g("ngIf",r.field)},dependencies:[ve,or],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})(),pde=(()=>{class o{constructor(e){this.nuviotClient=e}getDomains(){var e=this;return E(function*(){return e.nuviotClient.request("/docs/metadata/domains")})()}getModels(e){var r=this;return E(function*(){return r.nuviotClient.request(`/docs/metadata/domains/${e}`)})()}getIcons(){var e=this;return E(function*(){return e.nuviotClient.request("/docs/metadata/domains/icons")})()}getNuvIoTCoreObjects(){var e=this;return E(function*(){return e.nuviotClient.request("/docs/metadata/entities/nuviot/coreobjects")})()}getAllNuvIoTObjects(){var e=this;return E(function*(){return e.nuviotClient.request("/docs/metadata/entities/all")})()}getModelDetail(e,r){var n=this;return E(function*(){return n.nuviotClient.request(`/docs/metadata/entity/${e}/${r}`)})()}createObject(e){var r=this;return E(function*(){return r.nuviotClient.getFormResponse(e)})()}getEntities(e){var r=this;return E(function*(){return r.nuviotClient.request(`/api/entities/${e}`)})()}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const hde=["entityPicker"];function gde(o,t){if(1&o){const e=j();d(0,"div",3)(1,"div",4)(2,"div",5),P(3,"app-form-field-label",6),d(4,"div",7)(5,"span",8),T("click",function(){return F(e),S(m().showEntityPicker())}),v(6),u()()()()()}if(2&o){const e=m();let r;p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(3),ae(e.field.value?e.field.value.text:null!==(r=e.field.watermark)&&void 0!==r?r:"-select-")}}function mde(o,t){if(1&o&&(d(0,"option",14),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.id),p(1),ce(" ",e.text," ")}}function fde(o,t){if(1&o&&(d(0,"option",14),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.id),p(1),ce(" ",e.text," ")}}function _de(o,t){if(1&o){const e=j();d(0,"div",11)(1,"label",22),v(2,"Filter Entities"),u(),d(3,"input",23),T("ngModelChange",function(n){return F(e),S(m(2).entityFilter=n)})("ngModelChange",function(){return F(e),S(m(2).applyEntityFilter())}),u()()}if(2&o){const e=m(2);p(3),g("ngModel",e.entityFilter)}}function vde(o,t){if(1&o&&(d(0,"span"),v(1),u()),2&o){const e=m(3);p(1),ce("(",e.filteredEntities.length,")")}}function yde(o,t){1&o&&(d(0,"div",28),v(1," No entities found. "),u())}function bde(o,t){if(1&o){const e=j();d(0,"li",30),T("click",function(){const i=F(e).$implicit;return S(m(4).selectEntity(i))}),v(1),u()}if(2&o){const e=t.$implicit,r=m(4);ut("selected",(null==r.selectedEntity?null:r.selectedEntity.id)===e.id),p(1),ce(" ",e.text," ")}}function Cde(o,t){if(1&o&&(d(0,"ul"),b(1,bde,2,3,"li",29),u()),2&o){const e=m(3);p(1),g("ngForOf",e.filteredEntities)}}function wde(o,t){if(1&o&&(d(0,"div",24)(1,"div",25)(2,"strong"),v(3,"Entities"),u(),b(4,vde,2,1,"span",26),u(),b(5,yde,2,0,"div",27),b(6,Cde,2,1,"ul",26),u()),2&o){const e=m(2);p(4),g("ngIf",e.filteredEntities.length),p(1),g("ngIf",!e.filteredEntities.length),p(1),g("ngIf",e.filteredEntities.length)}}function xde(o,t){if(1&o){const e=j();d(0,"div",9)(1,"div",10)(2,"div",11)(3,"label",12),v(4,"Domain Type"),u(),d(5,"select",13),T("ngModelChange",function(n){return F(e),S(m().selectedDomainTypeId=n)})("ngModelChange",function(n){return F(e),S(m().onDomainTypeChanged(n))}),d(6,"option",14),v(7,"-- Select Domain Type --"),u(),b(8,mde,2,2,"option",15),u()(),d(9,"div",11)(10,"label",16),v(11,"Entity Type"),u(),d(12,"select",17),T("ngModelChange",function(n){return F(e),S(m().selectedEntityTypeId=n)})("ngModelChange",function(n){return F(e),S(m().onEntityTypeChanged(n))}),d(13,"option",14),v(14,"-- Select Entity Type --"),u(),b(15,fde,2,2,"option",15),u()(),b(16,_de,4,1,"div",18),b(17,wde,7,3,"div",19),u(),d(18,"div",20)(19,"button",21),T("click",function(){return F(e),S(m().donePicking())}),v(20,"Done"),u()()()}if(2&o){const e=m();p(5),g("ngModel",e.selectedDomainTypeId),p(1),g("ngValue",null),p(2),g("ngForOf",e.domainTypes),p(4),g("ngModel",e.selectedEntityTypeId)("disabled",!e.selectedDomainTypeId),p(1),g("ngValue",null),p(2),g("ngForOf",e.filteredEntityTypes),p(1),g("ngIf",e.selectedEntityTypeId),p(1),g("ngIf",e.selectedEntityTypeId)}}let Dde=(()=>{class o extends Ct{constructor(e,r){super(),this.modal=e,this.metaDataService=r,this.domainTypes=[],this.entityTypesByDomain={},this.entitiesByEntityType={},this.selectedDomainTypeId=null,this.selectedEntityTypeId=null,this.selectedEntity=null,this.entityFilter="",this.filteredEntityTypes=[],this.allEntities=[],this.filteredEntities=[]}showEntityPicker(){this.entityPickerModal=this.modal.open(this.entityPickerForm,{size:"lg",backdrop:"static"})}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){e().call(r);let n=yield r.metaDataService.getDomains();r.domainTypes=n.map(i=>({id:i.key,text:i.name}))})()}donePicking(){this.entityPickerModal.close()}onDomainTypeChanged(e){var r=this;return E(function*(){r.selectedDomainTypeId=e,r.selectedEntityTypeId=null,r.selectedEntity=null,r.entityFilter="";let n=yield r.metaDataService.getModels(e);r.filteredEntityTypes=n.map(i=>({id:i.shortClassName,text:i.name})),r.allEntities=[],r.filteredEntities=[]})()}onEntityTypeChanged(e){var r=this;return E(function*(){r.selectedEntityTypeId=e,r.selectedEntity=null,r.entityFilter="";let n=yield r.metaDataService.getEntities(e);n.successful&&(r.allEntities=n.result.map(i=>({id:i.id,text:i.text,entityType:i.entityType})),r.filteredEntities=[...r.allEntities])})()}applyEntityFilter(){const e=(this.entityFilter||"").trim().toLowerCase();this.filteredEntities=e?this.allEntities.filter(r=>r.text.toLowerCase().includes(e)):[...this.allEntities]}selectEntity(e){this.selectedEntity=e,this.field.value=e,this.field.display=e.text}clearEntityHeaderValue(){this.field.clearEntityHeader&&this.field.isUserEditable?this.field.clearEntityHeader(this.field):(this.field.value=void 0,this.field.display=void 0),this.changed(this.field)}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(pde))},o.\u0275cmp=ne({type:o,selectors:[["app-global-entity-picker"]],viewQuery:function(e,r){if(1&e&&Yt(hde,5),2&e){let n;ze(n=Ye())&&(r.entityPickerForm=n.first)}},features:[Te],decls:3,vars:1,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],["class","modal","id","entityPicker"],["entityPicker",""],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[1,"picker-link",3,"click"],[2,"padding","10px"],[1,"entity-type-picker"],[1,"row"],["for","domainType"],["id","domainType",3,"ngModel","ngModelChange"],[3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],["for","entityType"],["id","entityType",3,"ngModel","disabled","ngModelChange"],["class","row",4,"ngIf"],["class","entity-list",4,"ngIf"],[2,"text-align","right"],[1,"btn","btn-danger",3,"click"],["for","entityFilter"],["id","entityFilter","type","text","placeholder","Type to filter by name...",3,"ngModel","ngModelChange"],[1,"entity-list"],[1,"entity-list-header"],[4,"ngIf"],["class","empty-state",4,"ngIf"],[1,"empty-state"],[3,"selected","click",4,"ngFor","ngForOf"],[3,"click"]],template:function(e,r){1&e&&(b(0,gde,7,4,"div",0),b(1,xde,21,9,"ng-template",1,2,Sn)),2&e&&g("ngIf",r.field)},dependencies:[Qo,en,Ht,No,mt,It,gt,ve,or],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}",".entity-type-picker[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;padding:20px;border:1px solid #d9dee7;border-radius:12px;background:#ffffff;max-width:720px}.entity-type-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:6px}.entity-type-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:13px;font-weight:600;color:#334155}.entity-type-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .entity-type-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:100%;min-height:40px;padding:0 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-size:14px;color:#0f172a;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.entity-type-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus, .entity-type-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.entity-type-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:disabled, .entity-type-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.entity-type-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#94a3b8}.entity-type-picker[_ngcontent-%COMP%] .entity-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;padding:12px}.entity-type-picker[_ngcontent-%COMP%] .entity-list[_ngcontent-%COMP%] .entity-list-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#334155}.entity-type-picker[_ngcontent-%COMP%] .entity-list[_ngcontent-%COMP%] .entity-list-header[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:700}.entity-type-picker[_ngcontent-%COMP%] .entity-list[_ngcontent-%COMP%] .entity-list-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:13px;color:#64748b}.entity-type-picker[_ngcontent-%COMP%] .entity-list[_ngcontent-%COMP%] .empty-state[_ngcontent-%COMP%]{padding:16px 12px;border:1px dashed #cbd5e1;border-radius:8px;background:#fff;font-size:14px;color:#64748b;text-align:center}.entity-type-picker[_ngcontent-%COMP%] .entity-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;max-height:320px;overflow-y:auto;border-radius:8px;background:#fff;border:1px solid #e2e8f0}.entity-type-picker[_ngcontent-%COMP%] .entity-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:12px 14px;font-size:14px;color:#0f172a;border-bottom:1px solid #eef2f7;cursor:pointer;transition:background-color .15s ease,color .15s ease}.entity-type-picker[_ngcontent-%COMP%] .entity-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-bottom:none}.entity-type-picker[_ngcontent-%COMP%] .entity-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background:#eff6ff}.entity-type-picker[_ngcontent-%COMP%] .entity-list[_ngcontent-%COMP%] li.selected[_ngcontent-%COMP%]{background:#2563eb;color:#fff;font-weight:600}"]}),o})();function Mde(o,t){if(1&o&&P(0,"app-landing-page-field",3),2&o){const e=m();g("form",e.form)("host",e.host)("field",e.field)("model",e.model)("view",e.view)}}function kde(o,t){if(1&o&&P(0,"app-component-picker-field",3),2&o){const e=m();g("form",e.form)("host",e.host)("field",e.field)("model",e.model)("view",e.view)}}function Ede(o,t){if(1&o&&P(0,"app-inventory-location-picker",4),2&o){const e=m();g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function Tde(o,t){if(1&o&&P(0,"app-invoice-picker",4),2&o){const e=m();g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function Fde(o,t){if(1&o&&P(0,"app-proposal-picker",4),2&o){const e=m();g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function Sde(o,t){if(1&o&&P(0,"app-agreement-picker",4),2&o){const e=m();g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function Pde(o,t){if(1&o&&P(0,"app-diagram",4),2&o){const e=m();g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function Ide(o,t){if(1&o&&P(0,"app-global-entity-picker",4),2&o){const e=m();g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}let Ade=(()=>{class o extends Ct{constructor(){super()}ngOnInit(){super.ngOnInit()}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-custom-field"]],inputs:{customFieldType:"customFieldType"},features:[Te],decls:9,vars:9,consts:[[2,"margin-bottom","15px",3,"ngSwitch"],[3,"form","host","field","model","view",4,"ngSwitchCase"],[3,"host","form","field","model","view",4,"ngSwitchCase"],[3,"form","host","field","model","view"],[3,"host","form","field","model","view"]],template:function(e,r){1&e&&(d(0,"div",0),b(1,Mde,1,5,"app-landing-page-field",1),b(2,kde,1,5,"app-component-picker-field",1),b(3,Ede,1,5,"app-inventory-location-picker",2),b(4,Tde,1,5,"app-invoice-picker",2),b(5,Fde,1,5,"app-proposal-picker",2),b(6,Sde,1,5,"app-agreement-picker",2),b(7,Pde,1,5,"app-diagram",2),b(8,Ide,1,5,"app-global-entity-picker",2),u()),2&e&&(g("ngSwitch",r.customFieldType),p(1),g("ngSwitchCase","landingpagepicker"),p(1),g("ngSwitchCase","componentpicker"),p(1),g("ngSwitchCase","inventorylocation"),p(1),g("ngSwitchCase","invoicepicker"),p(1),g("ngSwitchCase","proposalpicker"),p(1),g("ngSwitchCase","agreementpicker"),p(1),g("ngSwitchCase","diagram"),p(1),g("ngSwitchCase","globalentitypicker"))},dependencies:[gc,Kp,wce,Ice,Nce,ode,nde,ide,ude,Dde]}),o})();function Ode(o,t){1&o&&(d(0,"span",8),P(1,"span",9),u()),2&o&&Re("data-target",m(3).popupId)}function Rde(o,t){if(1&o){const e=j();d(0,"div",3)(1,"div",4)(2,"label",5)(3,"input",6),T("change",function(n){return F(e),S(m(2).changed(n))})("ngModelChange",function(n){return F(e),S(m(2).field.value=n)}),u(),v(4),u()(),d(5,"div"),b(6,Ode,2,1,"span",7),u()()}if(2&o){const e=m(2);p(2),Ne("for",e.field.name),p(1),Ne("name",e.field.name),Ne("id",e.field.name),g("ngModel",e.field.value),p(1),ce(" ",e.field.label," "),p(2),g("ngIf",e.field.help)}}function Lde(o,t){if(1&o&&(d(0,"div"),b(1,Rde,7,6,"div",2),u()),2&o){const e=m();p(1),g("ngIf",e.field.isVisible)}}let Bde=(()=>{class o extends Ct{constructor(){super()}ngOnInit(){super.ngOnInit()}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-checkbox"]],features:[Te],decls:2,vars:2,consts:[[4,"ngIf"],[3,"field"],["style","display:flex","class","checkbox",4,"ngIf"],[1,"checkbox",2,"display","flex"],[2,"flex-grow","1"],["click","toggle()",3,"for"],["type","checkbox",3,"name","id","ngModel","change","ngModelChange"],["data-toggle","modal",4,"ngIf"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&(b(0,Lde,2,1,"div",0),P(1,"app-form-field-help",1)),2&e&&(g("ngIf",!0),p(1),g("field",r.field))},dependencies:[fl,mt,It,ve,rr]}),o})();class FM{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Mf extends FM{constructor(t,e,r,n){super(),this.component=t,this.viewContainerRef=e,this.injector=r,this.componentFactoryResolver=n}}class SM extends FM{constructor(t,e,r,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=r,this.injector=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Nde extends FM{constructor(t){super(),this.element=t instanceof dt?t.nativeElement:t}}class PM{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Mf?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof SM?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Nde?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Hde extends PM{constructor(t,e,r,n,i){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=r,this._defaultInjector=n,this.attachDomPortal=a=>{const s=a.element,l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=i}attachComponentPortal(t){const r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=r.create(t.injector||this._defaultInjector||Zr.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let e=t.viewContainerRef,r=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return r.rootNodes.forEach(n=>this.outletElement.appendChild(n)),r.detectChanges(),this.setDisposeFn(()=>{let n=e.indexOf(r);-1!==n&&e.remove(n)}),this._attachedPortal=t,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let kf=(()=>{class o extends PM{constructor(e,r,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=r,this._isInitialized=!1,this.attached=new ee,this.attachDomPortal=i=>{const a=i.element,s=this._document.createComment("dom-portal");i.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=i,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,s)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const r=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=r.createComponent(i,r.length,e.injector||r.injector);return r!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return o.\u0275fac=function(e){return new(e||o)(O(nc),O(Fn),O(bt))},o.\u0275dir=Se({type:o,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Te]}),o})(),xh=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({}),o})();const G6=Yie();class Vde{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=jo(-this._previousScrollPosition.left),t.style.top=jo(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,r=t.style,n=this._document.body.style,i=r.scrollBehavior||"",a=n.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),G6&&(r.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),G6&&(r.scrollBehavior=i,n.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,r=this._viewportRuler.getViewportSize();return e.scrollHeight>r.height||e.scrollWidth>r.width}}class $de{constructor(t,e,r,n){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=r,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class q6{enable(){}disable(){}attach(){}}function IM(o,t){return t.some(e=>o.bottome.bottom||o.righte.right)}function K6(o,t){return t.some(e=>o.tope.bottom||o.lefte.right)}class zde{constructor(t,e,r,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=r,this._config=n,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:n}=this._viewportRuler.getViewportSize();IM(e,[{width:r,height:n,bottom:n,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Yde=(()=>{class o{constructor(e,r,n,i){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=n,this.noop=()=>new q6,this.close=a=>new $de(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Vde(this._viewportRuler,this._document),this.reposition=a=>new zde(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=i}}return o.\u0275fac=function(e){return new(e||o)(Z($R),Z(qD),Z(ct),Z(bt))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class V1{constructor(t){if(this.scrollStrategy=new q6,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const r of e)void 0!==t[r]&&(this[r]=t[r])}}}class jde{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let Z6=(()=>{class o{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const r=this._attachedOverlays.indexOf(e);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return o.\u0275fac=function(e){return new(e||o)(Z(bt))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Ude=(()=>{class o extends Z6{constructor(e,r){super(e),this._ngZone=r,this._keydownListener=n=>{const i=this._attachedOverlays;for(let a=i.length-1;a>-1;a--)if(i[a]._keydownEvents.observers.length>0){const s=i[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(n)):s.next(n);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return o.\u0275fac=function(e){return new(e||o)(Z(bt),Z(ct,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Wde=(()=>{class o extends Z6{constructor(e,r,n){super(e),this._platform=r,this._ngZone=n,this._cursorStyleIsSet=!1,this._pointerDownListener=i=>{this._pointerDownEventTarget=Ga(i)},this._clickListener=i=>{const a=Ga(i),s="click"===i.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const h=l[c];if(h._outsidePointerEvents.observers.length<1||!h.hasAttached())continue;if(h.overlayElement.contains(a)||h.overlayElement.contains(s))break;const _=h._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>_.next(i)):_.next(i)}}}add(e){if(super.add(e),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return o.\u0275fac=function(e){return new(e||o)(Z(bt),Z(bi),Z(ct,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),$1=(()=>{class o{constructor(e,r){this._platform=r,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||GD()){const n=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let i=0;ithis._backdropClick.next(_),this._backdropTransitionendHandler=_=>{this._disposeBackdrop(_.target)},this._keydownEvents=new Ae,this._outsidePointerEvents=new Ae,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(mr(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=jo(this._config.width),t.height=jo(this._config.height),t.minWidth=jo(this._config.minWidth),t.minHeight=jo(this._config.minHeight),t.maxWidth=jo(this._config.maxWidth),t.maxHeight=jo(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,r){const n=rf(e||[]).filter(i=>!!i);n.length&&(r?t.classList.add(...n):t.classList.remove(...n))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(fr(di(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const X6="cdk-overlay-connected-position-bounding-box",Gde=/([A-Za-z%]+)$/;class J6{constructor(t,e,r,n,i){this._viewportRuler=e,this._document=r,this._platform=n,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ae,this._resizeSubscription=M.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(X6),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,r=this._viewportRect,n=this._containerRect,i=[];let a;for(let s of this._preferredPositions){let l=this._getOriginPoint(t,n,s),c=this._getOverlayPoint(l,e,s),h=this._getOverlayFit(c,e,r,s);if(h.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(h,c,r)?i.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!a||a.overlayFit.visibleAreal&&(l=h,s=c)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&mu(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(X6),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,r){let n,i;if("center"==r.originX)n=t.left+t.width/2;else{const a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;n="start"==r.originX?a:s}return e.left<0&&(n-=e.left),i="center"==r.originY?t.top+t.height/2:"top"==r.originY?t.top:t.bottom,e.top<0&&(i-=e.top),{x:n,y:i}}_getOverlayPoint(t,e,r){let n,i;return n="center"==r.overlayX?-e.width/2:"start"===r.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,i="center"==r.overlayY?-e.height/2:"top"==r.overlayY?0:-e.height,{x:t.x+n,y:t.y+i}}_getOverlayFit(t,e,r,n){const i=eB(e);let{x:a,y:s}=t,l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(a+=l),c&&(s+=c);let C=0-s,k=s+i.height-r.height,A=this._subtractOverflows(i.width,0-a,a+i.width-r.width),B=this._subtractOverflows(i.height,C,k),z=A*B;return{visibleArea:z,isCompletelyWithinViewport:i.width*i.height===z,fitsInViewportVertically:B===i.height,fitsInViewportHorizontally:A==i.width}}_canFitWithFlexibleDimensions(t,e,r){if(this._hasFlexibleDimensions){const n=r.bottom-e.y,i=r.right-e.x,a=Q6(this._overlayRef.getConfig().minHeight),s=Q6(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=s&&s<=i;return(t.fitsInViewportVertically||null!=a&&a<=n)&&c}return!1}_pushOverlayOnScreen(t,e,r){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const n=eB(e),i=this._viewportRect,a=Math.max(t.x+n.width-i.width,0),s=Math.max(t.y+n.height-i.height,0),l=Math.max(i.top-r.top-t.y,0),c=Math.max(i.left-r.left-t.x,0);let h=0,_=0;return h=n.width<=i.width?c||-a:t.xA&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-A/2)}if("end"===e.overlayX&&!n||"start"===e.overlayX&&n)C=r.width-t.x+this._viewportMargin,h=t.x-this._viewportMargin;else if("start"===e.overlayX&&!n||"end"===e.overlayX&&n)_=t.x,h=r.right-t.x;else{const k=Math.min(r.right-t.x+r.left,t.x),A=this._lastBoundingBoxSize.width;h=2*k,_=t.x-k,h>A&&!this._isInitialRender&&!this._growAfterOpen&&(_=t.x-A/2)}return{top:a,left:_,bottom:s,right:C,width:h,height:i}}_setBoundingBoxStyles(t,e){const r=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const i=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;n.height=jo(r.height),n.top=jo(r.top),n.bottom=jo(r.bottom),n.width=jo(r.width),n.left=jo(r.left),n.right=jo(r.right),n.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",n.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",i&&(n.maxHeight=jo(i)),a&&(n.maxWidth=jo(a))}this._lastBoundingBoxSize=r,mu(this._boundingBox.style,n)}_resetBoundingBoxStyles(){mu(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){mu(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const r={},n=this._hasExactPosition(),i=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(n){const h=this._viewportRuler.getViewportScrollPosition();mu(r,this._getExactOverlayY(e,t,h)),mu(r,this._getExactOverlayX(e,t,h))}else r.position="static";let s="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),r.transform=s.trim(),a.maxHeight&&(n?r.maxHeight=jo(a.maxHeight):i&&(r.maxHeight="")),a.maxWidth&&(n?r.maxWidth=jo(a.maxWidth):i&&(r.maxWidth="")),mu(this._pane.style,r)}_getExactOverlayY(t,e,r){let n={top:"",bottom:""},i=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":n.top=jo(i.y),n}_getExactOverlayX(t,e,r){let a,n={left:"",right:""},i=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),a=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===a?n.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":n.left=jo(i.x),n}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:K6(t,r),isOriginOutsideView:IM(t,r),isOverlayClipped:K6(e,r),isOverlayOutsideView:IM(e,r)}}_subtractOverflows(t,...e){return e.reduce((r,n)=>r-Math.max(n,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+t-this._viewportMargin,bottom:r.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&rf(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof dt)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+e,height:r,width:e}}}function mu(o,t){for(let e in t)t.hasOwnProperty(e)&&(o[e]=t[e]);return o}function Q6(o){if("number"!=typeof o&&null!=o){const[t,e]=o.split(Gde);return e&&"px"!==e?null:parseFloat(t)}return o||null}function eB(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}const tB="cdk-global-overlay-wrapper";class qde{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(tB),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:n,height:i,maxWidth:a,maxHeight:s}=r,l=!("100%"!==n&&"100vw"!==n||a&&"100%"!==a&&"100vw"!==a),c=!("100%"!==i&&"100vh"!==i||s&&"100%"!==s&&"100vh"!==s),h=this._xPosition,_=this._xOffset,C="rtl"===this._overlayRef.getConfig().direction;let k="",A="",B="";l?B="flex-start":"center"===h?(B="center",C?A=_:k=_):C?"left"===h||"end"===h?(B="flex-end",k=_):("right"===h||"start"===h)&&(B="flex-start",A=_):"left"===h||"start"===h?(B="flex-start",k=_):("right"===h||"end"===h)&&(B="flex-end",A=_),t.position=this._cssPosition,t.marginLeft=l?"0":k,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":A,e.justifyContent=B,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,r=e.style;e.classList.remove(tB),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Kde=(()=>{class o{constructor(e,r,n,i){this._viewportRuler=e,this._document=r,this._platform=n,this._overlayContainer=i}global(){return new qde}flexibleConnectedTo(e){return new J6(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return o.\u0275fac=function(e){return new(e||o)(Z(qD),Z(bt),Z(bi),Z($1))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Zde=0,Os=(()=>{class o{constructor(e,r,n,i,a,s,l,c,h,_,C,k){this.scrollStrategies=e,this._overlayContainer=r,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=a,this._injector=s,this._ngZone=l,this._document=c,this._directionality=h,this._location=_,this._outsideClickDispatcher=C,this._animationsModuleType=k}create(e){const r=this._createHostElement(),n=this._createPaneElement(r),i=this._createPortalOutlet(n),a=new V1(e);return a.direction=a.direction||this._directionality.value,new Ef(i,r,n,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const r=this._document.createElement("div");return r.id="cdk-overlay-"+Zde++,r.classList.add("cdk-overlay-pane"),e.appendChild(r),r}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(hc)),new Hde(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return o.\u0275fac=function(e){return new(e||o)(Z(Yde),Z($1),Z(nc),Z(Kde),Z(Ude),Z(Zr),Z(ct),Z(bt),Z(qa),Z(hl),Z(Wde),Z(uc,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();const Qde={provide:new me("cdk-connected-overlay-scroll-strategy"),deps:[Os],useFactory:function Jde(o){return()=>o.scrollStrategies.reposition()}};let z1=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[Os,Qde],imports:[lf,xh,zR,zR]}),o})();const eue=["mat-button",""],tue=["*"],oue=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],nue=df(JD(QD(class{constructor(o){this._elementRef=o}})));let AM=(()=>{class o extends nue{constructor(e,r,n){super(e),this._focusMonitor=r,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of oue)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,r){e?this._focusMonitor.focusVia(this._getHostElement(),e,r):this._getHostElement().focus(r)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(r=>this._getHostElement().hasAttribute(r))}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(Pc),O(uc,8))},o.\u0275cmp=ne({type:o,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,r){if(1&e&&Yt(x1,5),2&e){let n;ze(n=Ye())&&(r.ripple=n.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,r){2&e&&(Re("disabled",r.disabled||null),ut("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-button-disabled",r.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Te],attrs:eue,ngContentSelectors:tue,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,r){1&e&&(_i(),d(0,"span",0),Wr(1),u(),P(2,"span",1)(3,"span",2)),2&e&&(p(2),ut("mat-button-ripple-round",r.isRoundButton||r.isIconButton),g("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",r.isIconButton)("matRippleTrigger",r._getHostElement()))},dependencies:[x1],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),o})(),rB=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[D1,Io,Io]}),o})();const iue=["connectionContainer"],aue=["inputContainer"],sue=["label"];function lue(o,t){1&o&&(sc(0),d(1,"div",14),P(2,"div",15)(3,"div",16)(4,"div",17),u(),d(5,"div",18),P(6,"div",15)(7,"div",16)(8,"div",17),u(),lc())}function cue(o,t){if(1&o){const e=j();d(0,"div",19),T("cdkObserveContent",function(){return F(e),S(m().updateOutlineGap())}),Wr(1,1),u()}2&o&&g("cdkObserveContentDisabled","outline"!=m().appearance)}function due(o,t){if(1&o&&(sc(0),Wr(1,2),d(2,"span"),v(3),u(),lc()),2&o){const e=m(2);p(3),ae(e._control.placeholder)}}function uue(o,t){1&o&&Wr(0,3,["*ngSwitchCase","true"])}function pue(o,t){1&o&&(d(0,"span",23),v(1," *"),u())}function hue(o,t){if(1&o){const e=j();d(0,"label",20,21),T("cdkObserveContent",function(){return F(e),S(m().updateOutlineGap())}),b(2,due,4,1,"ng-container",12),b(3,uue,1,0,"ng-content",12),b(4,pue,2,0,"span",22),u()}if(2&o){const e=m();ut("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),g("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Re("for",e._control.id)("aria-owns",e._control.id),p(2),g("ngSwitchCase",!1),p(1),g("ngSwitchCase",!0),p(1),g("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function gue(o,t){1&o&&(d(0,"div",24),Wr(1,4),u())}function mue(o,t){if(1&o&&(d(0,"div",25),P(1,"span",26),u()),2&o){const e=m();p(1),ut("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function fue(o,t){1&o&&(d(0,"div"),Wr(1,5),u()),2&o&&g("@transitionMessages",m()._subscriptAnimationState)}function _ue(o,t){if(1&o&&(d(0,"div",30),v(1),u()),2&o){const e=m(2);g("id",e._hintLabelId),p(1),ae(e.hintLabel)}}function vue(o,t){if(1&o&&(d(0,"div",27),b(1,_ue,2,2,"div",28),Wr(2,6),P(3,"div",29),Wr(4,7),u()),2&o){const e=m();g("@transitionMessages",e._subscriptAnimationState),p(1),g("ngIf",e.hintLabel)}}const yue=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],bue=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Cue=new me("MatError"),wue={transitionMessages:Ic("transitionMessages",[ua("enter",Qr({opacity:1,transform:"translateY(0%)"})),Qn("void => enter",[Qr({opacity:0,transform:"translateY(-5px)"}),Jn("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let OM=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=Se({type:o}),o})();const xue=new me("MatHint");let oB=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=Se({type:o,selectors:[["mat-label"]]}),o})(),Due=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=Se({type:o,selectors:[["mat-placeholder"]]}),o})();const Mue=new me("MatPrefix"),nB=new me("MatSuffix");let kue=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=Se({type:o,selectors:[["","matSuffix",""]],features:[qt([{provide:nB,useExisting:o}])]}),o})(),iB=0;const Tue=df(class{constructor(o){this._elementRef=o}},"primary"),Fue=new me("MAT_FORM_FIELD_DEFAULT_OPTIONS"),RM=new me("MatFormField");let Sue=(()=>{class o extends Tue{constructor(e,r,n,i,a,s,l){super(e),this._changeDetectorRef=r,this._dir=n,this._defaults=i,this._platform=a,this._ngZone=s,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Ae,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+iB++,this._labelId="mat-form-field-label-"+iB++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=i?.appearance||"legacy",i&&(this._hideRequiredMarker=Boolean(i.hideRequiredMarker),i.color&&(this.color=this.defaultColor=i.color))}get appearance(){return this._appearance}set appearance(e){const r=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy","outline"===this._appearance&&r!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=oo(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Yo(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(fr(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(fr(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),di(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Yo(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Yo(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(fr(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const r=this._control?this._control.ngControl:null;return r&&r[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,So(this._label.nativeElement,"transitionend").pipe(mr(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const r=this._hintChildren?this._hintChildren.find(i=>"start"===i.align):null,n=this._hintChildren?this._hintChildren.find(i=>"end"===i.align):null;r?e.push(r.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,r=this._connectionContainerRef.nativeElement,n=".mat-form-field-outline-start",i=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const h=r.querySelectorAll(`${n}, ${i}`);for(let _=0;_0?.75*A+10:0}for(let h=0;h{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Nr,Io,_1,Io]}),o})();const sB=Ml({passive:!0});let Pue=(()=>{class o{constructor(e,r){this._platform=e,this._ngZone=r,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return on;const r=Po(e),n=this._monitoredElements.get(r);if(n)return n.subject;const i=new Ae,a="cdk-text-field-autofilled",s=l=>{"cdk-text-field-autofill-start"!==l.animationName||r.classList.contains(a)?"cdk-text-field-autofill-end"===l.animationName&&r.classList.contains(a)&&(r.classList.remove(a),this._ngZone.run(()=>i.next({target:l.target,isAutofilled:!1}))):(r.classList.add(a),this._ngZone.run(()=>i.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{r.addEventListener("animationstart",s,sB),r.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(r,{subject:i,unlisten:()=>{r.removeEventListener("animationstart",s,sB)}}),i}stopMonitoring(e){const r=Po(e),n=this._monitoredElements.get(r);n&&(n.unlisten(),n.subject.complete(),r.classList.remove("cdk-text-field-autofill-monitored"),r.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(r))}ngOnDestroy(){this._monitoredElements.forEach((e,r)=>this.stopMonitoring(r))}}return o.\u0275fac=function(e){return new(e||o)(Z(bi),Z(ct))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),lB=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({}),o})();const cB=new me("MAT_INPUT_VALUE_ACCESSOR"),Iue=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Aue=0;const Oue=Bae(class{constructor(o,t,e,r){this._defaultErrorStateMatcher=o,this._parentForm=t,this._parentFormGroup=e,this.ngControl=r,this.stateChanges=new Ae}});let Rue=(()=>{class o extends Oue{constructor(e,r,n,i,a,s,l,c,h,_){super(s,i,a,n),this._elementRef=e,this._platform=r,this._autofillMonitor=c,this._formField=_,this._uid="mat-input-"+Aue++,this.focused=!1,this.stateChanges=new Ae,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(A=>VR().has(A)),this._iOSKeyupListener=A=>{const B=A.target;!B.value&&0===B.selectionStart&&0===B.selectionEnd&&(B.setSelectionRange(1,1),B.setSelectionRange(0,0))};const C=this._elementRef.nativeElement,k=C.nodeName.toLowerCase();this._inputValueAccessor=l||C,this._previousNativeValue=this.value,this.id=this.id,r.IOS&&h.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===k,this._isTextarea="textarea"===k,this._isInFormField=!!_,this._isNativeSelect&&(this.controlType=C.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=oo(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(gr.required)??!1}set required(e){this._required=oo(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&VR().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=oo(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const e=this._formField,r=e&&"legacy"===e.appearance&&!e._hasLabel?.()?null:this.placeholder;if(r!==this._previousPlaceholder){const n=this._elementRef.nativeElement;this._previousPlaceholder=r,r?n.setAttribute("placeholder",r):n.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){Iue.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,r=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&r&&r.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(bi),O(_l,10),O(ym,8),O(Ni,8),O(nL),O(cB,10),O(Pue),O(ct),O(RM,8))},o.\u0275dir=Se({type:o,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,r){1&e&&T("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),2&e&&(Ds("disabled",r.disabled)("required",r.required),Re("id",r.id)("data-placeholder",r.placeholder)("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required),ut("mat-input-server",r._isServer)("mat-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[qt([{provide:OM,useExisting:o}]),Te,Lr]}),o})(),dB=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[nL],imports:[lB,Y1,Io,lB,Y1]}),o})();const Lue=["mat-calendar-body",""];function Bue(o,t){if(1&o&&(d(0,"tr",2)(1,"td",3),v(2),u()()),2&o){const e=m();p(1),Tt("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Re("colspan",e.numCols),p(1),ce(" ",e.label," ")}}function Nue(o,t){if(1&o&&(d(0,"td",3),v(1),u()),2&o){const e=m(2);Tt("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Re("colspan",e._firstRowOffset),p(1),ce(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Hue(o,t){if(1&o){const e=j();d(0,"td",7)(1,"button",8),T("click",function(n){const a=F(e).$implicit;return S(m(2)._cellClicked(a,n))})("focus",function(n){const a=F(e).$implicit;return S(m(2)._emitActiveDateChange(a,n))}),d(2,"div",9),v(3),u(),P(4,"div",10),u()()}if(2&o){const e=t.$implicit,r=t.index,n=m().index,i=m();Tt("width",i._cellWidth)("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),Re("data-mat-row",n)("data-mat-col",r),p(1),ut("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",i._isActiveCell(n,r))("mat-calendar-body-range-start",i._isRangeStart(e.compareValue))("mat-calendar-body-range-end",i._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",i._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",i._isComparisonBridgeStart(e.compareValue,n,r))("mat-calendar-body-comparison-bridge-end",i._isComparisonBridgeEnd(e.compareValue,n,r))("mat-calendar-body-comparison-start",i._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",i._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",i._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",i._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",i._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",i._isInPreview(e.compareValue)),g("ngClass",e.cssClasses)("tabindex",i._isActiveCell(n,r)?0:-1),Re("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",i._isSelected(e.compareValue))("aria-current",i.todayValue===e.compareValue?"date":null),p(1),ut("mat-calendar-body-selected",i._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",i._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",i.todayValue===e.compareValue),p(1),ce(" ",e.displayValue," ")}}function Vue(o,t){if(1&o&&(d(0,"tr",4),b(1,Nue,2,6,"td",5),b(2,Hue,5,47,"td",6),u()),2&o){const e=t.$implicit,r=t.index,n=m();p(1),g("ngIf",0===r&&n._firstRowOffset),p(1),g("ngForOf",e)}}function $ue(o,t){if(1&o&&(d(0,"th",5)(1,"span",6),v(2),u(),d(3,"span",7),v(4),u()()),2&o){const e=t.$implicit;p(2),ae(e.long),p(2),ae(e.narrow)}}const zue=["*"];function Yue(o,t){}function jue(o,t){if(1&o){const e=j();d(0,"mat-month-view",5),T("activeDateChange",function(n){return F(e),S(m().activeDate=n)})("_userSelection",function(n){return F(e),S(m()._dateSelected(n))}),u()}if(2&o){const e=m();g("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function Uue(o,t){if(1&o){const e=j();d(0,"mat-year-view",6),T("activeDateChange",function(n){return F(e),S(m().activeDate=n)})("monthSelected",function(n){return F(e),S(m()._monthSelectedInYearView(n))})("selectedChange",function(n){return F(e),S(m()._goToDateInView(n,"month"))}),u()}if(2&o){const e=m();g("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Wue(o,t){if(1&o){const e=j();d(0,"mat-multi-year-view",7),T("activeDateChange",function(n){return F(e),S(m().activeDate=n)})("yearSelected",function(n){return F(e),S(m()._yearSelectedInMultiYearView(n))})("selectedChange",function(n){return F(e),S(m()._goToDateInView(n,"year"))}),u()}if(2&o){const e=m();g("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Gue(o,t){}const que=["button"];function Kue(o,t){1&o&&(_d(),d(0,"svg",3),P(1,"path",4),u())}const Zue=[[["","matDatepickerToggleIcon",""]]],Xue=["[matDatepickerToggleIcon]"];let Tf=(()=>{class o{constructor(){this.changes=new Ae,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,r){return`${e} \u2013 ${r}`}formatYearRangeLabel(e,r){return`${e} to ${r}`}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class LM{constructor(t,e,r,n,i={},a=t,s){this.value=t,this.displayValue=e,this.ariaLabel=r,this.enabled=n,this.cssClasses=i,this.compareValue=a,this.rawValue=s}}let Dh=(()=>{class o{constructor(e,r){this._elementRef=e,this._ngZone=r,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new ee,this.previewChange=new ee,this.activeDateChange=new ee,this._enterHandler=n=>{if(this._skipNextFocus&&"focus"===n.type)this._skipNextFocus=!1;else if(n.target&&this.isRange){const i=this._getCellFromElement(n.target);i&&this._ngZone.run(()=>this.previewChange.emit({value:i.enabled?i:null,event:n}))}},this._leaveHandler=n=>{null!==this.previewEnd&&this.isRange&&n.target&&this._getCellFromElement(n.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:n}))},r.runOutsideAngular(()=>{const n=e.nativeElement;n.addEventListener("mouseenter",this._enterHandler,!0),n.addEventListener("focus",this._enterHandler,!0),n.addEventListener("mouseleave",this._leaveHandler,!0),n.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(e,r){e.enabled&&this.selectedValueChange.emit({value:e.value,event:r})}_emitActiveDateChange(e,r){e.enabled&&this.activeDateChange.emit({value:e.value,event:r})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const r=e.numCols,{rows:n,numCols:i}=this;(e.rows||r)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(e.cellAspectRatio||r||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),(r||!this._cellWidth)&&(this._cellWidth=100/i+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,r){let n=e*this.numCols+r;return e&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(mr(1)).subscribe(()=>{setTimeout(()=>{const r=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");r&&(e||(this._skipNextFocus=!0),r.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return BM(e,this.startValue,this.endValue)}_isRangeEnd(e){return NM(e,this.startValue,this.endValue)}_isInRange(e){return HM(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return BM(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,r,n){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[r][n-1];if(!i){const a=this.rows[r-1];i=a&&a[a.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,r,n){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[r][n+1];if(!i){const a=this.rows[r+1];i=a&&a[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return NM(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return HM(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return BM(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return NM(e,this.previewStart,this.previewEnd)}_isInPreview(e){return HM(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let r;if(uB(e)?r=e:uB(e.parentNode)&&(r=e.parentNode),r){const n=r.getAttribute("data-mat-row"),i=r.getAttribute("data-mat-col");if(n&&i)return this.rows[parseInt(n)][parseInt(i)]}return null}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(ct))},o.\u0275cmp=ne({type:o,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange"},exportAs:["matCalendarBody"],features:[Lr],attrs:Lue,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,r){1&e&&(b(0,Bue,3,6,"tr",0),b(1,Vue,3,2,"tr",1)),2&e&&(g("ngIf",r._firstRowOffset=t&&o===e}function HM(o,t,e,r){return r&&null!==t&&null!==e&&t!==e&&o>=t&&o<=e}class Ci{constructor(t,e){this.start=t,this.end=e}}let Bc=(()=>{class o{constructor(e,r){this.selection=e,this._adapter=r,this._selectionChanged=new Ae,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,r){const n=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:r,oldValue:n})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return o.\u0275fac=function(e){Ip()},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})(),Jue=(()=>{class o extends Bc{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new o(this._adapter);return e.updateSelection(this.selection,this),e}}return o.\u0275fac=function(e){return new(e||o)(Z(wn))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();const pB={provide:Bc,deps:[[new Ia,new ol,Bc],wn],useFactory:function epe(o,t){return o||new Jue(t)}},j1=new me("MAT_DATE_RANGE_SELECTION_STRATEGY");let hB=(()=>{class o{constructor(e,r,n,i,a){this._changeDetectorRef=e,this._dateFormats=r,this._dateAdapter=n,this._dir=i,this._rangeStrategy=a,this._rerenderSubscription=M.EMPTY,this.selectedChange=new ee,this._userSelection=new ee,this.activeDateChange=new ee,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const r=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(r,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Ci?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Yo(null)).subscribe(()=>this._init())}ngOnChanges(e){const r=e.comparisonStart||e.comparisonEnd;r&&!r.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const r=e.value,n=this._getDateFromDayOfMonth(r);let i,a;this._selected instanceof Ci?(i=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):i=a=this._getDateInCurrentMonth(this._selected),(i!==r||a!==r)&&this.selectedChange.emit(n),this._userSelection.emit({value:n,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const n=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const r=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case 27:return void(null!=this._previewEnd&&!cu(e)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(r,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:r}){if(this._rangeStrategy){const i=this._rangeStrategy.createPreview(r?r.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(i.start),this._previewEnd=this._getCellCompareValue(i.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),r=this._dateAdapter.getDayOfWeekNames("narrow");let i=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:r[s]}));this._weekdays=i.slice(e).concat(i.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),r=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,r){return!(!e||!r||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(r)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(r))}_getCellCompareValue(e){if(e){const r=this._dateAdapter.getYear(e),n=this._dateAdapter.getMonth(e),i=this._dateAdapter.getDate(e);return new Date(r,n,i).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof Ci?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}}return o.\u0275fac=function(e){return new(e||o)(O(Xr),O(du,8),O(wn,8),O(qa,8),O(j1,8))},o.\u0275cmp=ne({type:o,selectors:[["mat-month-view"]],viewQuery:function(e,r){if(1&e&&Yt(Dh,5),2&e){let n;ze(n=Ye())&&(r._matCalendarBody=n.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Lr],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,r){1&e&&(d(0,"table",0)(1,"thead",1)(2,"tr"),b(3,$ue,5,2,"th",2),u(),d(4,"tr"),P(5,"th",3),u()(),d(6,"tbody",4),T("selectedValueChange",function(i){return r._dateSelected(i)})("activeDateChange",function(i){return r._updateActiveDate(i)})("previewChange",function(i){return r._previewChanged(i)})("keyup",function(i){return r._handleCalendarBodyKeyup(i)})("keydown",function(i){return r._handleCalendarBodyKeydown(i)}),u()()),2&e&&(p(3),g("ngForOf",r._weekdays),p(3),g("label",r._monthLabel)("rows",r._weeks)("todayValue",r._todayDate)("startValue",r._rangeStart)("endValue",r._rangeEnd)("comparisonStart",r._comparisonRangeStart)("comparisonEnd",r._comparisonRangeEnd)("previewStart",r._previewStart)("previewEnd",r._previewEnd)("isRange",r._isRange)("labelMinRequiredCells",3)("activeCell",r._dateAdapter.getDate(r.activeDate)-1))},dependencies:[gt,Dh],encapsulation:2,changeDetection:0}),o})(),gB=(()=>{class o{constructor(e,r,n){this._changeDetectorRef=e,this._dateAdapter=r,this._dir=n,this._rerenderSubscription=M.EMPTY,this.selectedChange=new ee,this.yearSelected=new ee,this.activeDateChange=new ee,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let r=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),mB(this._dateAdapter,r,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Ci?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Yo(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const r=this._dateAdapter.getYear(this._activeDate)-Ff(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let n=0,i=[];n<24;n++)i.push(r+n),4==i.length&&(this._years.push(i.map(a=>this._createCellForYear(a))),i=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const r=e.value,n=this._dateAdapter.createDate(r,0,1),i=this._getDateFromYear(r);this.yearSelected.emit(n),this.selectedChange.emit(i)}_updateActiveDate(e){const n=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const r=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ff(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Ff(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return Ff(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const r=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,r,1));return this._dateAdapter.createDate(e,r,Math.min(this._dateAdapter.getDate(this.activeDate),n))}_createCellForYear(e){const r=this._dateAdapter.createDate(e,0,1),n=this._dateAdapter.getYearName(r),i=this.dateClass?this.dateClass(r,"multi-year"):void 0;return new LM(e,n,n,this._shouldEnableYear(e),i)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class o{constructor(e,r,n,i){this._changeDetectorRef=e,this._dateFormats=r,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=M.EMPTY,this.selectedChange=new ee,this.monthSelected=new ee,this.activeDateChange=new ee,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let r=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(r)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Ci?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Yo(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const r=e.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),r,1);this.monthSelected.emit(n);const i=this._getDateFromMonth(r);this.selectedChange.emit(i)}_updateActiveDate(e){const n=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const r=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(r,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(r=>r.map(n=>this._createCellForMonth(n,e[n]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){const r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),n=this._dateAdapter.getNumDaysInMonth(r);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n))}_createCellForMonth(e,r){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(n,"year"):void 0;return new LM(e,r.toLocaleUpperCase(),i,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){const r=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(r,e)||this._isYearAndMonthBeforeMinDate(r,e))return!1;if(!this.dateFilter)return!0;for(let i=this._dateAdapter.createDate(r,e,1);this._dateAdapter.getMonth(i)==e;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isYearAndMonthAfterMaxDate(e,r){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return e>n||e===n&&r>i}return!1}_isYearAndMonthBeforeMinDate(e,r){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e{class o{constructor(e,r,n,i,a){this._intl=e,this.calendar=r,this._dateAdapter=n,this._dateFormats=i,this._buttonDescriptionId="mat-calendar-button-"+ipe++,this.calendar.stateChanges.subscribe(()=>a.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const r=this._dateAdapter.getYear(this.calendar.activeDate)-Ff(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),n=r+24-1,i=this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1)),a=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1));return this._intl.formatYearRange(i,a)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,r){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(r)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(r):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(r):mB(this._dateAdapter,e,r,this.calendar.minDate,this.calendar.maxDate)}}return o.\u0275fac=function(e){return new(e||o)(O(Tf),O(Gt(()=>zM)),O(wn,8),O(du,8),O(Xr))},o.\u0275cmp=ne({type:o,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:zue,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,r){1&e&&(_i(),d(0,"div",0)(1,"div",1)(2,"button",2),T("click",function(){return r.currentPeriodClicked()}),d(3,"span"),v(4),u(),_d(),d(5,"svg",3),P(6,"polygon",4),u()(),function ta(){!function p2(){Rt.lFrame.currentNamespace=null}()}(),P(7,"div",5),Wr(8),d(9,"button",6),T("click",function(){return r.previousClicked()}),u(),d(10,"button",7),T("click",function(){return r.nextClicked()}),u()()()),2&e&&(p(2),Re("aria-label",r.periodButtonLabel)("aria-describedby",r._buttonDescriptionId),p(1),Re("id",r._buttonDescriptionId),p(1),ae(r.periodButtonText),p(1),ut("mat-calendar-invert","month"!==r.calendar.currentView),p(4),g("disabled",!r.previousEnabled()),Re("aria-label",r.prevButtonLabel),p(1),g("disabled",!r.nextEnabled()),Re("aria-label",r.nextButtonLabel))},dependencies:[AM],encapsulation:2,changeDetection:0}),o})(),zM=(()=>{class o{constructor(e,r,n,i){this._dateAdapter=r,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new ee,this.yearSelected=new ee,this.monthSelected=new ee,this.viewChanged=new ee(!0),this._userSelection=new ee,this.stateChanges=new Ae,this._intlChanges=e.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof Ci?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const r=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),r&&this.viewChanged.emit(r)}ngAfterContentInit(){this._calendarHeaderPortal=new Mf(this.headerComponent||ape),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const r=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,n=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,i=r||n||e.dateFilter;if(i&&!i.firstChange){const a=this._getCurrentViewComponent();a&&(this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const r=e.value;(this.selected instanceof Ci||r&&!this._dateAdapter.sameDate(r,this.selected))&&this.selectedChange.emit(r),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,r){this.activeDate=e,this.currentView=r}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return o.\u0275fac=function(e){return new(e||o)(O(Tf),O(wn,8),O(du,8),O(Xr))},o.\u0275cmp=ne({type:o,selectors:[["mat-calendar"]],viewQuery:function(e,r){if(1&e&&(Yt(hB,5),Yt(_B,5),Yt(gB,5)),2&e){let n;ze(n=Ye())&&(r.monthView=n.first),ze(n=Ye())&&(r.yearView=n.first),ze(n=Ye())&&(r.multiYearView=n.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[qt([pB]),Lr],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,r){1&e&&(b(0,Yue,0,0,"ng-template",0),d(1,"div",1),b(2,jue,1,8,"mat-month-view",2),b(3,Uue,1,6,"mat-year-view",3),b(4,Wue,1,6,"mat-multi-year-view",4),u()),2&e&&(g("cdkPortalOutlet",r._calendarHeaderPortal),p(1),g("ngSwitch",r.currentView),p(1),g("ngSwitchCase","month"),p(1),g("ngSwitchCase","year"),p(1),g("ngSwitchCase","multi-year"))},dependencies:[gc,Kp,Aae,kf,hB,_B,gB],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),o})();const vB={transformPanel:Ic("transformPanel",[Qn("void => enter-dropdown",Jn("120ms cubic-bezier(0, 0, 0.2, 1)",uL([Qr({opacity:0,transform:"scale(1, 0.8)"}),Qr({opacity:1,transform:"scale(1, 1)"})]))),Qn("void => enter-dialog",Jn("150ms cubic-bezier(0, 0, 0.2, 1)",uL([Qr({opacity:0,transform:"scale(0.7)"}),Qr({transform:"none",opacity:1})]))),Qn("* => void",Jn("100ms linear",Qr({opacity:0})))]),fadeInCalendar:Ic("fadeInCalendar",[ua("void",Qr({opacity:0})),ua("enter",Qr({opacity:1})),Qn("void => *",Jn("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let spe=0;const yB=new me("mat-datepicker-scroll-strategy"),cpe={provide:yB,deps:[Os],useFactory:function lpe(o){return()=>o.scrollStrategies.reposition()}},dpe=df(class{constructor(o){this._elementRef=o}});let upe=(()=>{class o extends dpe{constructor(e,r,n,i,a,s){super(e),this._changeDetectorRef=r,this._globalModel=n,this._dateAdapter=i,this._rangeSelectionStrategy=a,this._subscriptions=new M,this._animationDone=new Ae,this._actionsPortal=null,this._closeButtonText=s.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const r=this._model.selection,n=e.value,i=r instanceof Ci;if(i&&this._rangeSelectionStrategy){const a=this._rangeSelectionStrategy.selectionFinished(n,r,e.event);this._model.updateSelection(a,this)}else n&&(i||!this._dateAdapter.sameDate(n,r))&&this._model.add(n);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,r){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,r&&this._changeDetectorRef.detectChanges()}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(Xr),O(Bc),O(wn),O(j1,8),O(Tf))},o.\u0275cmp=ne({type:o,selectors:[["mat-datepicker-content"]],viewQuery:function(e,r){if(1&e&&Yt(zM,5),2&e){let n;ze(n=Ye())&&(r._calendar=n.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,r){1&e&&Dv("@transformPanel.done",function(){return r._animationDone.next()}),2&e&&(Ev("@transformPanel",r._animationState),ut("mat-datepicker-content-touch",r.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[Te],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,r){if(1&e&&(d(0,"div",0)(1,"mat-calendar",1),T("yearSelected",function(i){return r.datepicker._selectYear(i)})("monthSelected",function(i){return r.datepicker._selectMonth(i)})("viewChanged",function(i){return r.datepicker._viewChanged(i)})("_userSelection",function(i){return r._handleUserSelection(i)}),u(),b(2,Gue,0,0,"ng-template",2),d(3,"button",3),T("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),v(4),u()()),2&e){let n;ut("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),Re("aria-modal",!0)("aria-labelledby",null!==(n=r._dialogLabelId)&&void 0!==n?n:void 0),p(1),g("id",r.datepicker.id)("ngClass",r.datepicker.panelClass)("startAt",r.datepicker.startAt)("startView",r.datepicker.startView)("minDate",r.datepicker._getMinDate())("maxDate",r.datepicker._getMaxDate())("dateFilter",r.datepicker._getDateFilter())("headerComponent",r.datepicker.calendarHeaderComponent)("selected",r._getSelected())("dateClass",r.datepicker.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("@fadeInCalendar","enter"),p(1),g("cdkPortalOutlet",r._actionsPortal),p(1),ut("cdk-visually-hidden",!r._closeButtonFocused),g("color",r.color||"primary"),p(1),ae(r._closeButtonText)}},dependencies:[Fo,AM,Eae,kf,zM],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[vB.transformPanel,vB.fadeInCalendar]},changeDetection:0}),o})(),bB=(()=>{class o{constructor(e,r,n,i,a,s,l){this._overlay=e,this._ngZone=r,this._viewContainerRef=n,this._dateAdapter=a,this._dir=s,this._model=l,this._inputStateChanges=M.EMPTY,this._document=to(bt),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new ee,this.monthSelected=new ee,this.viewChanged=new ee(!0),this.openedStream=new ee,this.closedStream=new ee,this._opened=!1,this.id="mat-datepicker-"+spe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Ae,this._scrollStrategy=i}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=oo(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const r=oo(e);r!==this._disabled&&(this._disabled=r,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=oo(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=function Iie(o,t=/\s+/){const e=[];if(null!=o){const r=Array.isArray(o)?o:`${o}`.split(t);for(const n of r){const i=`${n}`.trim();i&&e.push(i)}}return e}(e)}get opened(){return this._opened}set opened(e){oo(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(e){const r=e.xPosition||e.yPosition;if(r&&!r.firstChange&&this._overlayRef){const n=this._overlayRef.getConfig().positionStrategy;n instanceof J6&&(this._setConnectedPositions(n),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=sf(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;const e=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,r=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:n,location:i}=this._componentRef;n._startExitAnimation(),n._animationDone.pipe(mr(1)).subscribe(()=>{const a=this._document.activeElement;e&&(!a||a===this._document.activeElement||i.nativeElement.contains(a))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(r):r()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const e=this.touchUi,r=new Mf(upe,this._viewContainerRef),n=this._overlayRef=this._overlay.create(new V1({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(n).subscribe(i=>{i&&i.preventDefault(),this.close()}),n.keydownEvents().subscribe(i=>{const a=i.keyCode;(38===a||40===a||37===a||39===a||33===a||34===a)&&i.preventDefault()}),this._componentRef=n.attach(r),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe(mr(1)).subscribe(()=>n.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const r="end"===this.xPosition?"end":"start",n="start"===r?"end":"start",i="above"===this.yPosition?"bottom":"top",a="top"===i?"bottom":"top";return e.withPositions([{originX:r,originY:a,overlayX:r,overlayY:i},{originX:r,originY:i,overlayX:r,overlayY:a},{originX:n,originY:a,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:a}])}_getCloseStream(e){return di(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(Gr(r=>27===r.keyCode&&!cu(r)||this.datepickerInput&&cu(r,"altKey")&&38===r.keyCode)))}}return o.\u0275fac=function(e){return new(e||o)(O(Os),O(ct),O(Fn),O(yB),O(wn,8),O(qa,8),O(Bc))},o.\u0275dir=Se({type:o,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Lr]}),o})(),ppe=(()=>{class o extends bB{}return o.\u0275fac=function(){let t;return function(r){return(t||(t=Ur(o)))(r||o)}}(),o.\u0275cmp=ne({type:o,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[qt([pB,{provide:bB,useExisting:o}]),Te],decls:0,vars:0,template:function(e,r){},encapsulation:2,changeDetection:0}),o})();class U1{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let hpe=(()=>{class o{constructor(e,r,n){this._elementRef=e,this._dateAdapter=r,this._dateFormats=n,this.dateChange=new ee,this.dateInput=new ee,this.stateChanges=new Ae,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=M.EMPTY,this._localeSubscription=M.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=i=>{const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}},this._minValidator=i=>{const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),s=this._getMinDate();return!s||!a||this._dateAdapter.compareDate(s,a)<=0?null:{matDatepickerMin:{min:s,actual:a}}},this._maxValidator=i=>{const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),s=this._getMaxDate();return!s||!a||this._dateAdapter.compareDate(s,a)>=0?null:{matDatepickerMax:{max:s,actual:a}}},this._lastValueValid=!1,this._localeSubscription=r.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const r=oo(e),n=this._elementRef.nativeElement;this._disabled!==r&&(this._disabled=r,this.stateChanges.next(void 0)),r&&this._isInitialized&&n.blur&&n.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(r=>{if(this._shouldHandleChangeEvent(r)){const n=this._getValueFromModel(r.selection);this._lastValueValid=this._isValidValue(n),this._cvaOnChange(n),this._onTouched(),this._formatValue(n),this.dateInput.emit(new U1(this,this._elementRef.nativeElement)),this.dateChange.emit(new U1(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function gpe(o,t){const e=Object.keys(o);for(let r of e){const{previousValue:n,currentValue:i}=o[r];if(!t.isDateInstance(n)||!t.isDateInstance(i))return!0;if(!t.sameDate(n,i))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const r=this._lastValueValid;let n=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n);const i=!this._dateAdapter.sameDate(n,this.value);!n||i?this._cvaOnChange(n):(e&&!this.value&&this._cvaOnChange(n),r!==this._lastValueValid&&this._validatorOnChange()),i&&(this._assignValue(n),this.dateInput.emit(new U1(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new U1(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const r=this._getDateFilter();return!r||r(e)}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(wn,8),O(du,8))},o.\u0275dir=Se({type:o,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Lr]}),o})();const mpe={provide:yi,useExisting:Gt(()=>YM),multi:!0},fpe={provide:cn,useExisting:Gt(()=>YM),multi:!0};let YM=(()=>{class o extends hpe{constructor(e,r,n,i){super(e,r,n),this._formField=i,this._closedSubscription=M.EMPTY,this._validator=gr.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(r,this._min)||(this._min=r,this._validatorOnChange())}get max(){return this._max}set max(e){const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(r,this._max)||(this._max=r,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const r=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==r&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(wn,8),O(du,8),O(RM,8))},o.\u0275dir=Se({type:o,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,r){1&e&&T("input",function(i){return r._onInput(i.target.value)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(i){return r._onKeydown(i)}),2&e&&(Ds("disabled",r.disabled),Re("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",(null==r._datepicker?null:r._datepicker.opened)&&r._datepicker.id||null)("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[qt([mpe,fpe,{provide:cB,useExisting:o}]),Te]}),o})(),_pe=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=Se({type:o,selectors:[["","matDatepickerToggleIcon",""]]}),o})(),vpe=(()=>{class o{constructor(e,r,n){this._intl=e,this._changeDetectorRef=r,this._stateChanges=M.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=oo(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:Xe(),r=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Xe(),n=this.datepicker?di(this.datepicker.openedStream,this.datepicker.closedStream):Xe();this._stateChanges.unsubscribe(),this._stateChanges=di(this._intl.changes,e,r,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return o.\u0275fac=function(e){return new(e||o)(O(Tf),O(Xr),_s("tabindex"))},o.\u0275cmp=ne({type:o,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,r,n){if(1&e&&Kt(n,_pe,5),2&e){let i;ze(i=Ye())&&(r._customIcon=i.first)}},viewQuery:function(e,r){if(1&e&&Yt(que,5),2&e){let n;ze(n=Ye())&&(r._button=n.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,r){1&e&&T("click",function(i){return r._open(i)}),2&e&&(Re("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),ut("mat-datepicker-toggle-active",r.datepicker&&r.datepicker.opened)("mat-accent",r.datepicker&&"accent"===r.datepicker.color)("mat-warn",r.datepicker&&"warn"===r.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Lr],ngContentSelectors:Xue,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,r){1&e&&(_i(Zue),d(0,"button",0,1),b(2,Kue,2,0,"svg",2),Wr(3),u()),2&e&&(g("disabled",r.disabled)("disableRipple",r.disableRipple),Re("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("tabindex",r.disabled?-1:r.tabIndex),p(2),g("ngIf",!r._customIcon))},dependencies:[ve,AM],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),o})(),CB=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[Tf,cpe],imports:[Nr,rB,z1,XD,xh,Io,ru]}),o})();function ype(o,t){1&o&&(d(0,"span",11),P(1,"span",12),u()),2&o&&Re("data-target",m().popupId)}let bpe=(()=>{class o extends Ct{constructor(){super()}currentValueChanged(){if(this.field.display){const e=new Date(this.field.display);this.field.value=Dt.toDateOnly(e)}else this.field.value=null}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-date-picker"]],features:[Te],decls:11,vars:14,consts:[[3,"name","label","isRequired"],[2,"display","flex"],[2,"flex-grow","1"],[2,"width","180px !important"],["matInput","","placeholder","select date",2,"width","100px !important",3,"matDatepicker","ngModel","ngModelChange"],["matSuffix","",3,"for"],[2,"z-index","12000 !important"],["datePicker",""],["data-toggle","modal",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){if(1&e&&(P(0,"app-form-field-label",0),d(1,"div",1)(2,"div",2)(3,"mat-form-field",3)(4,"input",4),T("ngModelChange",function(i){return r.field.display=i})("ngModelChange",function(){return r.currentValueChanged()}),u(),P(5,"mat-datepicker-toggle",5)(6,"mat-datepicker",6,7),u()(),b(8,ype,2,1,"span",8),u(),P(9,"app-form-field-validation-section",9)(10,"app-form-field-help",10)),2&e){const n=Un(7);g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(4),g("matDatepicker",n)("ngModel",r.field.display),p(1),g("for",n),p(3),g("ngIf",r.field.help),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field)}},dependencies:[Ht,mt,It,ve,ppe,YM,vpe,Sue,kue,Rue,rr,or,ar],styles:[".mat-focused .mat-form-field-label{color:var(--color-fg)!important} .mat-form-field-underline{background-color:var(--color-fg)!important} .mat-form-field-ripple{background-color:var(--color-fg)!important} .mat-form-field-label{color:var(--color-fg)!important}mat-datepicker-toggle[_ngcontent-%COMP%]{color:var(--color-fg)!important}"]}),o})(),jM=(()=>{class o{constructor(e,r){this.nuviotClient=e,this.usersService=r,this._task$=new pt(null)}postAttachment(e){var r=this;return E(function*(){yield r.nuviotClient.post("/api/pm/attachment",e)})()}getProjects(){return this.nuviotClient.request("/api/projects")}getActiveProjects(e=!0){return this.nuviotClient.request("/api/projects/active",e)}newModule(){return this.nuviotClient.request("/api/project/module/factory")}newTaskRequest(e){return this.nuviotClient.request(`/api/pm/task/project/${e}/task/quickcreate/factory`)}createProject(){return this.nuviotClient.request("/api/project/factory")}createProjectFromTemplate(e){return this.nuviotClient.postWithResponse("/api/appwizard",e)}getProject(e){return this.nuviotClient.request(`/api/project/${e}`)}addProject(e){return this.nuviotClient.insert("/api/project",e)}updateProject(e){return this.nuviotClient.update("/api/project",e)}newProjectTeamMember(){return this.nuviotClient.request("/api/pm/teammember/factory")}deleteProject(e){return this.nuviotClient.delete(`/api/project/${e}`)}getSprints(e){return this.nuviotClient.request(`/api/project/${e}/sprints`)}writeTaskAllocations(e,r){this.nuviotClient.request(`/api/pm/tasks/project/${e}/sprint/current/rollup/${r}`)}GetTaskAllocation(e){return this.nuviotClient.request(`/api/pm/tasks/project/${e}/sprint/current/allocationhistory`)}newSprint(e){return this.nuviotClient.request(`/api/project/${e}/sprint/factory`)}getSprint(e){return this.nuviotClient.request(`/api/project/sprint/${e}`)}saveSprint(e){return e.isEditing?this.updateSprint(e.model):this.insertSprint(e.model)}insertSprint(e){return this.nuviotClient.insert("/api/project/sprint",e)}updateSprint(e){return this.nuviotClient.update("/api/project/sprint",e)}getCustomKanbanViews(e=!1){return this.nuviotClient.getListResponse(e?"/api/pm/kanbanviews?addalloption=true":"/api/pm/kanbanviews")}getCustomKanbanView(e){return this.nuviotClient.request(`/api/pm/kanbanview/${e}`)}createCustomKanbanView(){return this.nuviotClient.request("/api/pm/kanbanview/factory")}addCustomKanbanView(e){return this.nuviotClient.insert("/api/pm/kanbanview",e)}updateCustomKanbanView(e){return this.nuviotClient.update("/api/pm/kanbanview",e)}deleteCustomKanbanView(e){return this.nuviotClient.delete(`/api/pm/kanbanview/${e}`)}getTasksForKanbanView(e){return this.nuviotClient.getListResponse(`/api/pm/tasks/view/${e}`)}getTasks(e,r="all"){return this.nuviotClient.getListResponse("all"===r?`/api/pm/tasks/project/${e}`:`/api/pm/tasks/project/${e}/${r}`)}updateTaskStatus(e,r){return this.nuviotClient.request(`/api/pm/task/${e}/status/${r}`)}updateTaskStatusAndAssignedTo(e,r){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/boardupdate`,r)}getTasksAssignedToUser(e,r){return this.nuviotClient.getListResponse("all"===r?`/api/pm/tasks/assignedto/${e}`:`/api/pm/tasks/assignedto/${e}/${r}`)}getTasksForSprint(e,r,n){return this.nuviotClient.getListResponse("all"===n?`/api/pm/tasks/sprint/${r}`:`/api/pm/tasks/sprint/${r}/${n}`)}getTasksForProjectForCurrentSprint(e){return this.nuviotClient.getListResponse(`/api/pm/tasks/project/${e}/sprint/current`)}newTask(e=null){return this.nuviotClient.request(e?`/api/pm/task/project/${e}/factory`:"/api/pm/task/factory")}newTaskQuickCreate(e){return this.nuviotClient.request(`/api/pm/task/project/${e}/task/quickcreate/factory`)}createTask(e){return this.nuviotClient.postWithResponse("/api/pm/task/add",e)}workTaskToSummary(e){}getTaskTemplates(){return this.nuviotClient.getListResponse("/api/pm/task/templates")}newTaskTemplate(){return this.nuviotClient.getFormResponse("/api/pm/task/template/factory")}getTaskTemplate(e){return this.nuviotClient.getFormResponse(`/api/pm/task/template/${e}`)}deleteTaskTemplate(e){return this.nuviotClient.delete(`/api/pm/task/template/${e}`)}createTaskTemplate(){return this.nuviotClient.getFormResponse("/api/pm/task/template/factory")}addTaskTemplate(e){return this.nuviotClient.post("/api/pm/task/template",e)}updateTaskTemplate(e){return this.nuviotClient.update("/api/pm/task/template",e)}saveTaskTemplate(e){return e.isEditing?this.nuviotClient.update("/api/pm/task/template",e.model):this.nuviotClient.post("/api/pm/task/template",e.model)}getProjectTemplates(){return this.nuviotClient.getListResponse("/api/project/templates")}getProjectTemplate(e){return this.nuviotClient.getFormResponse(`/api/project/template/${e}`)}deleteProjectTemplate(e){return this.nuviotClient.delete(`/api/project/template/${e}`)}createAppWizardRequestTemplate(){return this.nuviotClient.getFormResponse("/api/appwizard/projecttemplate/request/factory")}createProjectTemplate(){return this.nuviotClient.getFormResponse("/api/project/template/factory")}addProjectTemplate(e){return this.nuviotClient.post("/api/project/template",e)}updateProjectTemplate(e){return this.nuviotClient.update("/api/project/template",e)}saveProjectTemplate(e){return e.isEditing?this.updateProjectTemplate(e.model):this.addProjectTemplate(e.model)}getMeetings(){return this.nuviotClient.getListResponse("/api/meetings")}cloneMeeting(e){return this.nuviotClient.getFormResponse(`/api/meeting/${e}/clone`)}createMeeting(){return this.nuviotClient.getFormResponse("/api/meeting/factory")}getMeeting(e){return this.nuviotClient.getFormResponse(`/api/meeting/${e}`)}deleteMeeting(e){return this.nuviotClient.delete(`/api/meeting/${e}`)}addMeeting(e){return this.nuviotClient.post("/api/meeting",e)}updateMeeting(e){return this.nuviotClient.update("/api/meeting",e)}saveMeeting(e){return e.isEditing?this.updateMeeting(e.model):this.addMeeting(e.model)}newTaskForSprint(e,r){return this.nuviotClient.request(`/api/pm/task/project/${e}/sprint/${r}/factory`)}insertTask(e){return this.nuviotClient.insert("/api/pm/task",e)}getTask(e){var r=this;return E(function*(){let n=yield r.nuviotClient.request(`/api/pm/task/${e}`);return r.setTask(n.model),n})()}updateTask(e){return this.nuviotClient.updateWithResponse("/api/pm/task",e)}updateTaskFromExternalItem(e){return this.nuviotClient.updateWithResponse("/api/pm/task/externalupdate",e)}updateTaskDetail(e){return this.nuviotClient.update("/api/pm/task/detail",e)}updateTaskForKnownActivity(e,r,n){return this.nuviotClient.update(`/api/pm/task/${r}/${n}`,e)}requestUpdate(e,r,n){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/teammember/${r}/ping`,n)}updateNameDescription(e,r){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/namedesciption`,r)}deleteTask(e){return this.nuviotClient.delete(`/api/pm/task/${e}`)}newSubTask(){return this.nuviotClient.request("/api/pm/subtask/factory")}newSubTaskQuickCreate(){return this.nuviotClient.request("/api/pm/subtask/quickcreate/factory")}editSubTask(e){var r=this;return E(function*(){let n=yield r.nuviotClient.request("/api/pm/subtask/factory");return n.model=e,n.isEditing=!0,n})()}newTaskTemplateSubTask(){return this.nuviotClient.request("/api/pm/task/template/subtask/factory")}editTaskTemplateSubTask(e){var r=this;return E(function*(){let n=yield r.nuviotClient.request("/api/pm/task/template/subtask/factory");return n.model=e,n.isEditing=!0,n})()}createHelpResource(){return this.nuviotClient.request("/api/pm/helpresource/factory")}editHelpResource(e){var r=this;return E(function*(){var n=yield r.nuviotClient.request("/api/pm/helpresource/factory");return n.model=e,n.isEditing=!0,n})()}newExpectedOutcome(){return this.nuviotClient.request("/api/pm/expectedoutcome/factory")}editExpectedOutcome(e){var r=this;return E(function*(){let n=yield r.nuviotClient.request("/api/pm/expectedoutcome/factory");return n.isEditing=!0,n.model=e,n})()}insertReportSettings(e){return this.nuviotClient.insert("/api/pm/tasks/report/settings",e)}getReportSettingForOrg(){return this.nuviotClient.getListResponse("/api/pm/tasks/report/settings")}createNewReportSettings(){return this.nuviotClient.request("/api/pm/tasks/report/settings/factory")}getReportSettings(e){return this.nuviotClient.request(`/api/pm/tasks/report/settings/${e}`)}updateReportSettings(e){return this.nuviotClient.update("/api/pm/tasks/report/settings",e)}getTasksByStatus(e){return this.nuviotClient.getListResponse(`/api/pm/tasks/${e}`)}getTasksForProjectByStatus(e,r){return this.nuviotClient.getListResponse(`/api/pm/tasks/project/${e}/${r}`)}getActiveTasks(){return this.nuviotClient.getListResponse("/api/pm/tasks/active")}getActiveTasksForProject(e){return this.nuviotClient.getListResponse(`/api/pm/tasks/active/project/${e}`)}createDiscussion(){return this.nuviotClient.request("/api/discussion/factory")}createDiscussionResponse(){return this.nuviotClient.request("/api/discussion/response/factory")}createToDo(){return this.nuviotClient.request("/api/pm/todo/factory")}toDoQuickCreate(e){return this.nuviotClient.postWithResponse("/api/pm/todo/quickcreate",e,!1)}createToDoForMe(){return this.nuviotClient.request("/api/pm/todo/factory/forme")}createTaskForToDo(e){return this.nuviotClient.request(`/api/pm/todo/${e}/createtask`)}getToDo(e){return this.nuviotClient.request(`/api/pm/todo/${e}`)}closeToDo(e){return this.nuviotClient.request(`/api/pm/todo/${e}/complete`)}insertToDo(e){return this.nuviotClient.insert("/api/pm/todo",e)}updateToDo(e){return this.nuviotClient.update("/api/pm/todo",e)}deleteToDo(e){return this.nuviotClient.delete(`/api/pm/todo/${e}`)}getAllToDos(){return this.nuviotClient.getListResponse("/api/pm/todos")}getAllOpenToDos(){return this.nuviotClient.getListResponse("/api/pm/todos/open")}getAllBackLoggedToDos(){return this.nuviotClient.getListResponse("/api/pm/todos/backlogged")}getCancelledToDos(){return this.nuviotClient.getListResponse("/api/pm/todos/cancelled")}getOpenToDosAssignedTo(e,r=!0){return this.nuviotClient.getListResponse(`/api/pm/todos/assignedto/${e}/open`,void 0,r)}getAllOpenTodosForCurrentUser(){return this.nuviotClient.getListResponse("/api/pm/todos/my/all/open")}getOpenToDosAssignedBy(e){return this.nuviotClient.getListResponse(`/api/pm/todos/assignedby/${e}/open`)}getAllToDosAssignedTo(e){return this.nuviotClient.getListResponse(`/api/pm/todos/assignedto/${e}`)}getAllToDosAssignedBy(e){return this.nuviotClient.getListResponse(`/api/pm/todos/assignedby/${e}`)}getBackLoggedToDosAssignedTo(e){return this.nuviotClient.getListResponse(`/api/pm/todos/assignedto/${e}/backlogged`)}getBackloggedToDosAssignedBy(e){return this.nuviotClient.getListResponse(`/api/pm/todos/assignedby/${e}/backlogged`)}addIssue(e,r){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/issue`,r)}updateIssue(e,r){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/issue`,r)}saveIssue(e,r){return r.isEditing?this.updateIssue(e,r.model):this.addIssue(e,r.model)}removeIssue(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/issue/${r}`)}addTeamMember(e,r){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/teamMember`,r)}updateTeamMember(e,r){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/teamMember`,r)}saveTeamMember(e,r){return r.isEditing?this.updateTeamMember(e,r.model):this.addTeamMember(e,r.model)}editTeamMember(e){var r=this;return E(function*(){let n=yield r.nuviotClient.request("/api/pm/teammember/factory");return n.model=e,n.isEditing=!0,n})()}removeTeamMember(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/teammember/${r}`)}addSubTask(e,r){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/subtask`,r)}updateSubTask(e,r){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/subtask`,r)}removeSubTask(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/subtask/${r}`)}applyTemplate(e,r){return this.nuviotClient.request(`/api/pm/task/${e}/template/${r}/apply`)}moveSubTaskUp(e,r){return this.nuviotClient.request(`/api/pm/task/${e}/subtask/${r}/moveup`)}moveSubTaskDown(e,r){return this.nuviotClient.request(`/api/pm/task/${e}/subtask/${r}/movedown`)}addDiscussion(e,r){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/note`,r)}updateDiscussion(e,r){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/note`,r)}removeDiscussion(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/note/${r}`)}addRisk(e,r){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/risk`,r)}updateRisk(e,r){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/risk`,r)}saveRisk(e,r){return r.isEditing?this.updateRisk(e,r.model):this.addRisk(e,r.model)}createRisk(){return this.nuviotClient.getFormResponse("/api/pm/task/risk/factory")}editRisk(e){var r=this;return E(function*(){var n=yield r.nuviotClient.getFormResponse("/api/pm/task/risk/factory");return n.model=e,n.isEditing=!0,n})()}removeRisk(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/risk/${r}`)}addLabel(e,r){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/label`,r)}removeLabel(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/label/${r}`)}addHelpResources(e,r){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/helpresource`,r)}updateHelpResource(e,r){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/helpresource`,r)}removeResource(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/helpresource/${r}`)}addSubTaskHelpResources(e,r,n){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/subtask/${r}/helpresource`,n)}updateSubTaskHelpResource(e,r,n){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/subtask/${r}/helpresource`,n)}removeSubTaskResource(e,r,n){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/subtask/${r}/helpresource/${n}`)}addExpectedOutcome(e,r){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/expectedoutcome`,r)}updateExpectedOutcome(e,r){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/expectedoutcome`,r)}removeExpectedOutcome(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/expectedoutcome/${r}`)}addVerificationRun(e,r,n){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/expectedoutcome/${r}/verificationrun`,n)}updateVerificationRun(e,r,n){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/expectedoutcome/${r}/verificationrun`,n)}updateVerificationSteps(e,r,n){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/expectedoutcome/${r}/verificationsteps`,n)}deleteVerificationRun(e,r,n){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/expectedoutcome/${r}/verificationrun/${n}`)}updateAdditionalInformation(e,r){return this.nuviotClient.updateWithResponse(`/api/pm/task/${e}/additionalinformation`,{contents:r})}flagTask(e,r,n){return this.nuviotClient.post("/api/pm/task/flag",{workTaskId:e,reason:r,notes:n})}getFlaggedTasks(){return this.nuviotClient.getListResponse("/api/pm/task/flagged")}getLateTasks(){return this.nuviotClient.getListResponse("/api/pm/task/late")}getTasksWithOpenIssues(){return this.nuviotClient.getListResponse("/api/pm/tasks/openissue")}getTasksWithRisks(){return this.nuviotClient.getListResponse("/api/pm/tasks/openrisks")}getBlockedTasks(){return this.nuviotClient.getListResponse("/api/pm/tasks/blocked")}updateDueDate(e,r){return this.nuviotClient.request(`/api/pm/task/${e}/duedate/${r}`)}updateFlagTask(e,r,n,i,a){return this.nuviotClient.updateWithResponse("/api/pm/task/flag",{workTaskId:e,flaggedTaskId:r,reason:i,notes:a,isOpen:n})}removeAttachmentFromTask(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/attachment/${r}`)}removeAttachment(e,r,n,i){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/${r}/${n}/attachment/${i}`)}createIssueNote(){return this.nuviotClient.getFormResponse("/api/pm/task/issue/note/factory")}createIssue(){return this.nuviotClient.getFormResponse("/api/pm/task/issue/factory")}addIssueNote(e,r,n){return this.nuviotClient.postWithResponse(`/api/pm/task/${e}/issue/${r}/note`,n)}removeIssueNote(e,r,n){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/issue/${r}/note/${n}`)}addUpstreamTask(e,r){return this.nuviotClient.request(`/api/pm/task/${e}/upstream/${r}`)}addDownstreamTask(e,r){return this.nuviotClient.request(`/api/pm/task/${e}/downstream/${r}`)}addRelatedTask(e,r){return this.nuviotClient.request(`/api/pm/task/${e}/related/${r}`)}removeUpstreamTask(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/upstream/${r}`)}removeDownstreamTask(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/downstream/${r}`)}removeRelatedTask(e,r){return this.nuviotClient.deleteWithResponse(`/api/pm/task/${e}/related/${r}`)}searchTasks(e,r){return this.nuviotClient.postForListResponse("/api/pm/task/search",{query:r,projectId:e})}searchSWOTItems(e,r){return this.nuviotClient.postForListResponse("/api/swotitem/search",{query:r,productPortfolioId:e})}deleteStatusConfigurations(e){var r=this;return E(function*(){return yield r.nuviotClient.delete(`/api/pm/statusconfiguration/${e}`)})()}getStatusConfigurations(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/pm/statusconfigurations")})()}getFullStatusConfigurations(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/pm/statusconfigurations/full")})()}getStatusConfiguration(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/pm/statusconfiguration/${e}`)})()}addStatusConfigurations(e){var r=this;return E(function*(){return yield r.nuviotClient.insert("/api/pm/statusconfiguration",e)})()}updateStatusConfigurations(e){var r=this;return E(function*(){return yield r.nuviotClient.update("/api/pm/statusconfiguration",e)})()}createStatusConfiguration(){return this.nuviotClient.request("/api/pm/statusconfiguration/factory")}createStatusOption(){return this.nuviotClient.request("/api/pm/statusconfiguration/option/factory")}editStatusOption(e){var r=this;return E(function*(){var n=yield r.nuviotClient.request("/api/pm/statusconfiguration/option/factory");return n.model=e,n.isEditing=!0,n})()}createStatusTransition(e){var r=this;return E(function*(){let n=yield r.nuviotClient.request("/api/pm/statusconfiguration/statustransition/factory");return n.view.status.options=e.map(i=>({id:i.id,key:i.key,label:i.name,text:i.name})),n})()}editStatusTransition(e,r){var n=this;return E(function*(){var i=yield n.nuviotClient.request("/api/pm/statusconfiguration/statustransition/factory");return i.model=e,i.isEditing=!0,i.view.status.options=r.map(a=>({id:a.id,key:a.key,label:a.name,text:a.name})),i})()}deleteWorkTaskType(e){var r=this;return E(function*(){return yield r.nuviotClient.delete(`/api/pm/statusconfiguration/${e}`)})()}getWorkTaskTypes(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/pm/worktasktypes")})()}getWorkTaskType(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/pm/worktasktype/${e}`)})()}addWorkTaskType(e){var r=this;return E(function*(){return yield r.nuviotClient.insert("/api/pm/worktasktype",e)})()}updateWorkTaskType(e){var r=this;return E(function*(){return yield r.nuviotClient.update("/api/pm/worktasktype",e)})()}saveWorkTaskType(e){var r=this;return E(function*(){return e.isEditing?yield r.updateWorkTaskType(e.model):yield r.addWorkTaskType(e.model)})()}createWorkTaskType(){return this.nuviotClient.request("/api/pm/worktasktype/factory")}convertToSummary(e){const r={id:e.id,projectId:e.project.id,projectName:e.project.text,key:e.key,canEdit:!0,isBlocked:!1,isFlagged:!1,organizationName:e.ownerOrganization.text,name:e.name,condition:e.condition.text,hasOpenIssues:!1,taskCode:e.taskCode,status:e.status.text,statusKey:e.status.key,statusId:e.status.key,sprint:"",sprintId:"",moduleName:"",moduleId:"",externalStatus:"",externalStatusId:"",dueDate:e.dueDate,expectedCloseDate:"",description:"",assignedToUser:"",assignedToUserId:"",primaryContributor:"",primaryContributorId:"",qaResource:"",qaResourceId:"",resolution:"",resolutionId:"",hoursUsed:e.hoursUsed,hoursEstimate:e.hoursEstimate,lastUpdatedDate:e.lastUpdatedDate,complexity:e.complexity.text,scopeOfEffort:e.scopeOfEffort.text,points:0,externalTaskCode:e.externalTaskCode,externalTaskLink:e.externalTaskLink,labels:e.labels,isActive:!0,rankedOrder:e.rankedOrder};return e.sprint&&(r.sprintId=e.sprint.id,r.sprint=e.sprint.text),e.externalStatus&&(r.externalStatus=e.externalStatus.text,r.externalStatusId=e.externalStatus.id),e.assignedByUser&&(r.assignedToUser=e.assignedToUser.text,r.assignedToUserId=e.assignedToUser.id),e.primaryContributorUser&&(r.primaryContributorId=e.primaryContributorUser.id,r.primaryContributor=e.primaryContributorUser.text),e.qaResource&&(r.qaResource=e.qaResource.text,r.qaResource=e.qaResource.id),r}getUseCases(){return this.nuviotClient.getListResponse("/api/usecases")}addUseCase(e){return this.nuviotClient.insert("/api/usecase",e)}updateUseCase(e){return this.nuviotClient.update("/api/usecase",e)}deleteUseCase(e){return this.nuviotClient.delete(`/api/usecase/${e}`)}getUseCase(e){return this.nuviotClient.getFormResponse(`/api/usecase/${e}`)}createUseCase(){return this.nuviotClient.getFormResponse("/api/usecase/factory")}saveUseCase(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateUseCase(e.model);let n=yield r.addUseCase(e.model);return e.isEditing=!0,n})()}createCompetitor(){return this.nuviotClient.getFormResponse("/api/competitor/factory")}getCompetitor(e){return this.nuviotClient.getFormResponse(`/api/competitor/${e}`)}getCompetitors(){return this.nuviotClient.getListResponse("/api/competitors")}addCompetitor(e){return this.nuviotClient.insert("/api/competitor",e)}updateCompetitor(e){return this.nuviotClient.update("/api/competitor",e)}deleteCompetitor(e){return this.nuviotClient.delete(`/api/competitor/${e}`)}saveCompetitor(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateCompetitor(e.model);{let n=yield r.addCompetitor(e.model);return n.successful&&(e.isEditing=!0),n}})()}createSystemTaskType(){return this.nuviotClient.getFormResponse("/api/systemtasktype/factory")}getSystemTaskType(e){return this.nuviotClient.getFormResponse(`/api/systemtasktype/${e}`)}getSystemTaskTypes(){return this.nuviotClient.getListResponse("/api/systemtasktypes")}addSystemTaskType(e){return this.nuviotClient.insert("/api/systemtasktype",e)}updateSystemTaskType(e){return this.nuviotClient.update("/api/systemtasktype",e)}deleteSystemTaskType(e){return this.nuviotClient.delete(`/api/systemtasktype/${e}`)}saveSystemTaskType(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateSystemTaskType(e.model);{let n=yield r.addSystemTaskType(e.model);return n.successful&&(e.isEditing=!0),n}})()}getALMIntegrations(){return this.nuviotClient.getListResponse("/api/alm/integrations")}createALMIntegration(){return this.nuviotClient.getFormResponse("/api/alm/integration/factory")}getALMIntegration(e){return this.nuviotClient.getFormResponse(`/api/alm/integration/${e}`)}deleteALMIntegration(e){return this.nuviotClient.delete(`/api/alm/integration/${e}`)}insertALMIntegration(e){return this.nuviotClient.insert("/api/alm/integration",e)}updateALMIntegration(e){return this.nuviotClient.update("/api/alm/integration",e)}getExternalItem(e){return this.nuviotClient.request(`/api/alm/external/workitem/${e}`)}getALMClientConfiguration(e){return this.nuviotClient.request(`/api/alm/integration/${e}/auth`)}getImportedWorkTasks(e,r=""){return r?this.nuviotClient.getListResponse(`/api/alm/devops/workitems/${e}`,{nextRowKey:r}):this.nuviotClient.getListResponse(`/api/alm/devops/workitems/${e}`)}archiveList(e){return this.nuviotClient.post("/api/alm/external/workitem/archive",e)}archiveExternalItem(e){return this.nuviotClient.get(`/api/alm/external/workitem/${e}/archive`)}getWorKTaskByExternalId(e){var r=this;return E(function*(){let n=yield r.nuviotClient.request(`/api/pm/task/externalid/${e}`);return r.setTask(n),n})()}createProjectMileStoneAsync(e){return this.nuviotClient.getFormResponse(`/api/project/${e}/milestone/factory`)}createMileStoneAsync(){return this.nuviotClient.getFormResponse("/api/milestone/factory")}createMileStoneGoalAsync(){return this.nuviotClient.getFormResponse("/api/milestone/goal/factory")}getMileStoneAsync(e){return this.nuviotClient.getFormResponse(`/api/milestone/${e}`)}getMileStonesForOrgAsync(e=!0){return this.nuviotClient.getListResponse("/api/milestones",void 0,e)}getOpenMileStonesForOrgAsync(e=!0){return this.nuviotClient.getListResponse("/api/milestones/open",void 0,e)}getActiveMileStonesForOrgAsync(e=!0){return this.nuviotClient.getListResponse("/api/milestones/active",void 0,e)}getMileStonesForProjectAsync(e){return this.nuviotClient.request(`/api/project/${e}/milestones`)}addMileStoneAsync(e){return this.nuviotClient.postWithResponse("/api/milestone",e)}updateMileStoneAsync(e){return this.nuviotClient.updateWithResponse("/api/milestone",e)}createSWOTItemAsync(){return this.nuviotClient.getFormResponse("/api/swotitem/factory")}getSWOTItemAsync(e){return this.nuviotClient.getFormResponse(`/api/swotitem/${e}`)}getSWOTItemsForOrgAsync(){return this.nuviotClient.getListResponse("/api/swotitems")}addSWOTItemAsync(e){return this.nuviotClient.postWithResponse("/api/swotitem",e)}deleteSWOTItemAsync(e){return this.nuviotClient.delete(`/api/swotitem/${e}`)}updateSWOTItemAsync(e){return this.nuviotClient.updateWithResponse("/api/swotitem",e)}getProductPortfolios(){return this.nuviotClient.getListResponse("/api/product/portfolios")}createProductPortfolio(){return this.nuviotClient.getFormResponse("/api/product/portfolio/factory")}getProductPortfolio(e){return this.nuviotClient.getFormResponse(`/api/product/portfolio/${e}`)}addProductPortfolioAsync(e){return this.nuviotClient.postWithResponse("/api/product/portfolio",e)}deleteProductPortfolioAsync(e){return this.nuviotClient.delete(`/api/product/portfolio/${e}`)}updateProductPortfolioAsync(e){return this.nuviotClient.updateWithResponse("/api/product/portfolio",e)}getCurrentTask(){return this._currentTask}setTask(e){this._currentTask=e,this._task$.next(e)}onTask(){return this._task$.asObservable()}refreshStatus(e){const r=[],n=e.model.statusConfigurationType.value.options.find(i=>i.key===e.model.status.key);if(!n)throw new Error(`Could not find current status for task ${e.model.status.value.key} - ${e.model.statusConfigurationType.text}`);if(r.push({id:n.id,key:n.key,name:n.name,label:n.name,text:n.name}),n.validTransitions)for(const i of n.validTransitions)r.push({id:i.status.id,key:i.status.key,name:i.name,label:i.name,text:i.name});if(e.view.status.options=r,e.model.externalStatusConfigurationType){e.view.externalStatus.isVisible=!0;const i=[];let a=e.model.externalStatusConfigurationType.value.options.find(s=>s.key===e.model.externalStatus.key);for(const s of a.validTransitions)i.push({key:s.key,id:s.id,name:s.name,label:s.name,text:s.name});e.view.externalStatus.options=i}else e.view.externalStatus.isVisible=!1,console.log(e.model.externalStatusConfigurationType,e.view.externalStatus)}createSystemTask(e,r="https://www.nuviot.com"){return this.nuviotClient.request(`${r}/systemtask/${e}/factory?anonymous`)}postSystemTask(e,r="https://www.nuviot.com"){return this.nuviotClient.postWithResponse(`${r}/systemtask?anonymous`,e)}getEditorOptions(){var r,e=this;return{plugins:"lists link image table code help wordcount fullscreen autoresize charmap emoticons media mergetags mentions",toolbar:"fullscreen undo redo | blocks | bold italic underline strikethrough | link image media table mergetags | align lineheight | tinycomments | checklist numlist bullist indent outdent | emoticons charmap | removeforma | mentions",mergetags_suffix:"]",mergetags_prefix:"[",min_height:250,menubar:"file edit view inert format tools table help custom",statusbar:!1,menu:{custom:{title:"Insert NuvIoT Objects",items:"sharedContent faqItem glossaryItem landingPageItem downloadableContentItem siteContentItem"}},setup:r=>{},branding:!1,content_style:".mymention { color: #13589D; font-weight: bold; }",mentions_item_type:"profile",mentions_item_fields:["name","avatar","title"],mentions_selector:".mymention",mentions_fetch:(r=E(function*(n,i){const a=yield e.usersService.getCachedUserSummary();console.log(a),i(a.filter(l=>l.name.toLowerCase().includes(n.term.toLowerCase())))}),function(i,a){return r.apply(this,arguments)}),mentions_menu_complete:(r,n)=>{const i=r.getDoc().createElement("span");return i.className="mymention",i.setAttribute("data-mention-id",n.id),i.appendChild(r.getDoc().createTextNode("@"+n.name)),i},mentions_select:function(){var r=E(function*(n,i){var a=n.getAttribute("data-mention-id");let l=(yield e.usersService.getCachedUserSummary()).find(h=>h.id===a);i(e.getMentionCardHtml(l))});return function(i,a){return r.apply(this,arguments)}}(),mentions_menu_hover:function(){var r=E(function*(n,i){let s=(yield e.usersService.getCachedUserSummary()).find(c=>c.id===n.id);i(e.getMentionCardHtml(s))});return function(i,a){return r.apply(this,arguments)}}()}}getMentionCardHtml(e){var r=document.createElement("div");return r.innerHTML='

'+e.name+"

"+e.description+"

",r}getReleases(e){return this.nuviotClient.getListResponse(`/api/project/${e}/releases`)}getDeployments(e){return this.nuviotClient.getListResponse(`/api/project/${e}/deployments`)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft),Z(uo))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Cpe=(()=>{class o{constructor(e){this.client=e}getDeviceGroups(e){return this.client.getListResponse(`api/repo/${e}/groups`)}createDeviceGroup(e){return this.client.getFormResponse(`api/repo/${e}/group/factory`)}getDeviceGroup(e,r){return this.client.getFormResponse(`api/repo/${e}/group/${r}`)}getSummaryDataForDeviceGroup(e,r){return this.client.getListResponse(`/api/repo/${e}/group/${r}/devices/summarydata`)}insertDeviceGroup(e,r){return this.client.insert(`/api/repo/${r}/group`,e)}updateDeviceGroup(e,r){return console.log(r),this.client.update(`/api/repo/${r}/group`,e)}saveDeviceGroup(e,r){return r.isEditing?this.updateDeviceGroup(r.model,e):this.insertDeviceGroup(r.model,e)}deleteDeviceGroup(e,r){return this.client.delete(`/api/repo/${e}/group/${r}`)}addDeviceToGroup(e,r,n){return this.client.requestForInvokeResultEx(`/api/repo/${e}/group/${r}/add/${n}`)}removeDeviceFromGroup(e,r,n){return this.client.get(`/api/repo/${e}/group/${r}/remove/${n}`)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),wB=(()=>{class o{constructor(e,r){this.deviceGroupService=e,this.nuviotClient=r,this._devices=[],this._deviceRepos=[],this._deviceGroups=[],this._deviceGroups$=new pt,this._device$=new pt,this._deviceCleared$=new pt,this._deviceLoading$=new pt,this._devices$=new pt,this._devicesLoading$=new pt,this._deviceRepo$=new pt,this._deviceGroup$=new pt,this._deviceRepos$=new pt,this._deviceMetadataCache={},this._deviceLogs$=new pt,this._deviceLogCleared$=new pt,this._deviceLogLoading$=new pt,this._deviceNotificationSubscription$=new pt,this._deviceGroupNotificationSubscription$=new pt,this._deviceRepoNotificationSubscription$=new pt}loadDeviceRepositories(){var e=this;return E(function*(){let r=e.nuviotClient.getListResponse("/api/devicerepos");return e.setDeviceRepos((yield r).model),r})()}deviceSafeInit(e){e.primaryAccessKey||(e.primaryAccessKey=btoa(Math.random().toString(36).substring(2)+(new Date).getTime().toString(36))),e.secondaryAccessKey||(e.secondaryAccessKey=btoa(Math.random().toString(36).substring(2)+(new Date).getTime().toString(36))),e.properties||(e.properties=[])}createDevice(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse(`/api/device/${e}/factory`);return r.deviceSafeInit(n.model),n})()}addDeviceToLocation(e,r,n){var i=this;return E(function*(){return yield i.nuviotClient.request(`/api/device/${e}/${r}/location/${n}/add`)})()}removeDeviceFromLocation(e,r,n){var i=this;return E(function*(){return yield i.nuviotClient.delete(`/api/device/${e}/${r}/location/${n}/remove`)})()}sendCommand(e,r,n,i=[]){return this.nuviotClient.post(`/api/device/remoteconfig/${e}/${r}/command/${n}`,i)}sendCommandWithPin(e,r,n,i,a,s=[]){return this.nuviotClient.post(`/api/device/remoteconfig/${e}/${r}/${n}/${i}/command/${a}`,s)}createDeviceWithModelKey(e,r){var n=this;return E(function*(){return yield n.nuviotClient.request(`/api/device/${e}/key/${r}/create`)})()}loadDevice(e,r){var n=this;return E(function*(){return yield n.nuviotClient.getFormResponse(`/api/device/${e}/${r}/metadata`)})()}loadDeviceArchive(e,r){var n=this;return E(function*(){return yield n.nuviotClient.getListResponse(`/api/device/${e}/archives/${r}`)})()}getDeviceTypes(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/devicetypes")})()}deleteDevice(e,r){var n=this;return E(function*(){return yield n.nuviotClient.delete(`/api/device/${e}/${r}`)})()}completeProductionQA(e){var r=this;return E(function*(){return r.nuviotClient.request(`/api/devicetype/${e}/qa/completed`)})()}getDeviceType(e){return this.nuviotClient.getFormResponse(`/api/devicetype/${e}`)}createDeviceType(){return this.nuviotClient.getFormResponse("/api/devicetype/factory")}insertDeviceType(e){var r=this;return E(function*(){return yield r.nuviotClient.insert("/api/devicetype",e)})()}updateDeviceType(e){var r=this;return E(function*(){return yield r.nuviotClient.update("/api/devicetype",e)})()}deleteDeviceType(e){return this.nuviotClient.delete(`/api/devicetype/${e}`)}sendDeviceCommand(e,r,n){return this.nuviotClient.request(`/api/device/remoteconfig/${e}/${r}/command/${n}`)}getDeviceConfigurations(){return this.nuviotClient.request("/api/deviceconfigs")}getDeviceConfiguration(e){return this.nuviotClient.request(`/api/deviceconfig/${e}`)}createDeviceConfiguration(){return this.nuviotClient.request("/api/deviceconfig/factory")}addDeviceConfiguration(e){return this.nuviotClient.insert("/api/deviceconfig",e)}deleteDeviceConfiguration(e){return this.nuviotClient.delete(`/api/deviceconfig/${e}`)}updateDeviceConfiguration(e){return this.nuviotClient.update("/api/deviceconfig",e)}createDeviceConfigurationRoute(){return this.nuviotClient.request("/api/deviceconfig/route/factory")}editDeviceConfigurationRoute(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/deviceconfig/route/factory");return n.model=e,n.isEditing=!0,n})()}saveDeviceConfiguration(e){return e.isEditing?this.updateDeviceConfiguration(e.model):this.addDeviceConfiguration(e.model)}getDeviceOwners(e,r){var n=this;return E(function*(){return n.nuviotClient.getListResponse(`/api/devices/${e}/device/${r}/owners`)})()}addFirmware(e){var r=this;return E(function*(){return r.nuviotClient.post("/api/firmware",e)})()}updateFirmware(e){var r=this;return E(function*(){return r.nuviotClient.update("/api/firmware",e)})()}getFirmwares(){var e=this;return E(function*(){return e.nuviotClient.request("/api/firmwares")})()}createFirmware(){var e=this;return E(function*(){return e.nuviotClient.getFormResponse("/api/firmware/factory")})()}createFirmwareRevision(){var e=this;return E(function*(){return e.nuviotClient.getFormResponse("/api/firmware/revision/factory")})()}createBOMItem(){var e=this;return E(function*(){return e.nuviotClient.getFormResponse("/api/devicetype/bomitem/factory")})()}getFirmware(e){return this.nuviotClient.getFormResponse(`/api/firmware/${e}`)}getDeviceProperties(e){return this.nuviotClient.request(`/api/deviceconfig/${e}/properties`)}getDeviceConnectionEvents(e,r){return this.nuviotClient.request(`/api/device/${e}/${r}/connectionlog`)}LoadRepoGroupsAndDevices(e,r=!1){e===this._repoId&&this._deviceRepo&&this._devices&&this._deviceGroups&&!r?(this.setDeviceRepo(this._deviceRepo),this.setDevices(this._devices),this.setDeviceGroups(this._deviceGroups)):(this.setDeviceRepo(null),this.setDevices(null),this.setDeviceDetail(null),this.setDeviceGroups(null),this.setDevicesLoading(!0),this._repoId=e,this.nuviotClient.getFormResponse(`/api/devicerepo/${e}`).then(n=>this.setDeviceRepo(n.model)),this.nuviotClient.getListResponse(`/api/devices/${e}`).then(n=>{this.setDevices(n.model),this.setDevicesLoading(!1)}),this.nuviotClient.getListResponse(`api/repo/${e}/groups`).then(n=>this.setDeviceGroups(n.model)))}createDeviceRepo(){var e=this;return E(function*(){return yield e.nuviotClient.getFormResponse("/api/devicerepo/factory")})()}loadDeviceRepo(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse(`/api/devicerepo/${e}`);return r.setDeviceRepo(n.model),n})()}loadDeviceOntoPage(e,r){if(e&&r&&r!==this._deviceId){this._deviceLoading$.next(null),this._deviceCleared$.next(null);const n=`/api/device/${e}/${r}/metadata`;let i=this.deviceMetadataEntry(n);if(i.hasEntry){let a=0;const s=setInterval(()=>{a+=1,i.isLoaded?(clearInterval(s),console.log("--\x3e entry value found! lookup interval cleared."),this.deviceSafeInit(i.value),this.setDeviceDetail(i.value)):i=this.deviceMetadataEntry(n)},25)}else console.log("--\x3e uri has no entry yet; initial injection proceeding..."),this._deviceMetadataCache[n]=void 0,this.nuviotClient.getFormResponse(n).then(a=>{this._deviceId=r,this._repoId=e,this._deviceMetadataCache[n]=a.model,this.deviceSafeInit(a.model),this.setDeviceDetail(a.model),console.log("--\x3e initial injection complete.")})}}loadDeviceGroups(e){var r=this;return E(function*(){return yield r.nuviotClient.getListResponse(`api/repo/${e}/groups`)})()}updateRemoteDeviceProperties(e,r){return this.nuviotClient.request(`/api/device/remoteconfig/${e}/${r}/all/send`)}restartDevice(e,r){return this.nuviotClient.request(`/api/device/remoteconfig/${e}/${r}/restart`)}refreshDeviceTwin(e,r){return this.nuviotClient.request(`/api/device/remoteconfig/${e}/${r}/query`)}requestFirmwareUpdate(e,r,n,i){return this.nuviotClient.request(`/api/device/remoteconfig/${e}/${r}/firmware/${n}/revision/${i}?triggeredRemotely=true`)}getFirmwareHistory(e,r){return new Promise((i,a)=>{this.nuviotClient.getListResponse(`/api/firmware/history/${e}/${r}`).then(s=>{i(s.model)}).catch(s=>a(s))})}getDeviceGeoBoundingBox(e,r){return this.nuviotClient.request(`/api/device/${e}/${r}/boundingbox`,!1,!1)}loadDeviceLogs(e,r){if(r!==this._deviceIdForLogs){const n=`device/${e}/logs/${r}`;this._deviceLogLoading$.next(null),this._deviceCleared$.next(null),this.nuviotClient.getListResponse(n).then(i=>{this._deviceId=r,this._repoId=e,this._deviceLogs$.next(i.model)})}}downloadDeviceTypeResource(e,r,n){this.nuviotClient.getBlobResponse(`/api/devicetype/${r}/resources/${n}`,e)}getMediaItemsForDevice(e,r){return new Promise((i,a)=>{this.nuviotClient.getListResponse(`/api/${e}/devices/${r}/media`).then(l=>{i(l)}).catch(l=>{a(l)})})}getDeviceUnCached(e,r){var n=this;return E(function*(){const i=`/api/device/${e}/${r}/metadata`;return(yield n.nuviotClient.getFormResponse(i)).model})()}getDeviceCustomPage(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/deviceconfig/${e}/custompage`)})()}getDevice(e,r,n=!0){var i=this;return E(function*(){const a=`/api/device/${e}/${r}/metadata`;return e&&r?(n&&(i.setDeviceDetail(null),i._deviceLoading$.next(null)),new Promise((l,c)=>{let h=i.deviceMetadataEntry(a);if(h.hasEntry){let _=0;const C=setInterval(()=>{_+=1,h.isLoaded?(clearInterval(C),l(h.value),n&&i.setDeviceDetail(h.value)):h=i.deviceMetadataEntry(a)},25)}else i._deviceMetadataCache[a]=void 0,i.nuviotClient.getFormResponse(a).then(_=>{l(_.model),n&&i.setDeviceDetail(_.model),i._deviceMetadataCache[a]=_.model}).catch(_=>c(_))})):new Promise(void 0)})()}refreshDeviceData(e,r){if(e&&r){const n=`/api/device/${e}/${r}/metadata`;this._deviceMetadataCache[n]=void 0,this.nuviotClient.getFormResponse(n).then(i=>{this.setDeviceDetail(i.model),this._deviceMetadataCache[n]=i.model})}}createDeviceGroup(e){var r=this;return E(function*(){return r.deviceGroupService.createDeviceGroup(e)})()}loadDeviceGroup(e,r){var n=this;return E(function*(){n.setDeviceGroup(null);let i=yield n.deviceGroupService.getDeviceGroup(e,r);return n.setDeviceGroup(i.model),i})()}loadDeviceExceptions(e,r){return this.nuviotClient.getListResponse(`/api/device/${e}/errors/${r}`)}clearDevice(){this.setDeviceDetail(null)}clearDeviceErrorCode(e,r,n){return this.nuviotClient.delete(`/api/device/${e}/${r}/error/${n}`)}addDevice(e){var r=this;return E(function*(){let n=yield r.nuviotClient.insert(`/api/device/${e.deviceRepository.id}`,e);return n.successful&&r.setDeviceDetail(null),n})()}addUserDevice(e){return new Promise((n,i)=>{this.nuviotClient.insert(`/api/device/${e.device.deviceRepository.id}/userdevice`,e).then(a=>{this.setDeviceDetail(null),n(a)}).catch(a=>i(a))})}getUserDevices(e,r){return new Promise((i,a)=>{this.nuviotClient.getListResponse(`/api/users/repo/${e}`,r).then(s=>{i(s)}).catch(s=>a(s))})}updateCustomStatus(e,r,n){var i=this;return E(function*(){return i.nuviotClient.request(`/api/device/${e}/${r}/status/${n}`)})()}resetCustomStatus(e,r){var n=this;return E(function*(){return n.nuviotClient.request(`/api/device/${e}/${r}/status/reset`)})()}updateDevice(e,r=!0){var n=this;return E(function*(){let i=yield n.nuviotClient.updateWithResponse(`/api/device/${e.deviceRepository.id}`,e);return i.successful&&n.setDeviceDetail(r?null:e),i})()}saveSensor(e,r){var n=this;return E(function*(){return yield n.nuviotClient.postWithResponse(`/api/device/${e.deviceRepository.id}/device/${e.id}/sensor`,r)})()}removeSensor(e,r){var n=this;return E(function*(){return yield n.nuviotClient.deleteWithResponse(`/api/device/${e.deviceRepository.id}/device/${e.id}/sensor/${r.id}`)})()}addDeviceNote(e,r,n){return new Promise((a,s)=>{this.nuviotClient.post(`/api/device/${e}/${r}/note`,n).then(l=>{a(l)}).catch(l=>s(l))})}validateDevice(e){const r=[];return e.name||r.push({message:"Device Name is a required field."}),e.deviceId||r.push({message:"Device Id is a required field."}),e.primaryAccessKey||r.push({message:"Primary access key is a required field."}),e.secondaryAccessKey||r.push({message:"Secondary access key is a required field."}),e.deviceType&&e.deviceType.id?(!e.deviceConfiguration||!e.deviceConfiguration.id)&&r.push({message:"Device Configuration is a required field (device type may be invalid)"}):r.push({message:"Device Type is a required Field."}),r}createDeviceSensor(){return this.nuviotClient.getFormResponse("/api/device/sensor/factory")}editDeviceSensor(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/device/sensor/factory");return n.model=e,n.isEditing=!0,n})()}onDeviceNotificationSubscription(){return this._deviceNotificationSubscription$.asObservable()}onDeviceGroupNotificationSubscription(){return this._deviceGroupNotificationSubscription$.asObservable()}onDeviceRepoNotificationSubscription(){return this._deviceRepoNotificationSubscription$.asObservable()}onDevices(){return this._devices$.asObservable()}onDevicesLoading(){return this._devicesLoading$.asObservable()}onDeviceRepo(){return this._deviceRepo$.asObservable()}onDeviceGroups(){return this._deviceGroups$.asObservable()}onDeviceGroup(){return this._deviceGroup$.asObservable()}onDeviceRepos(){return this._deviceRepos$.asObservable()}onDeviceDetail(){return this._device$.asObservable()}onDeviceCleared(){return this._deviceCleared$.asObservable()}onDeviceLoading(){return this._deviceLoading$.asObservable()}onDeviceLog(){return this._deviceLogs$.asObservable()}onDeviceLogCleared(){return this._deviceLogCleared$.asObservable()}onDeviceLogLoading(){return this._deviceLogLoading$.asObservable()}getDeviceGroups(){return this._deviceGroups}getDevices(){return this._devices}getDevicesForRepo(e){return this.nuviotClient.getListResponse(`/api/devices/${e}`)}getPublicDevicesForRepo(e,r){return this.nuviotClient.request(`/device/org/${e}/repo/${r}`)}getDevicesForCustomer(e,r){return this.nuviotClient.getListResponse(`/api/devices/${e}/customer/${r}`)}getDevicesForCustomerLocation(e,r,n){return this.nuviotClient.getListResponse(`/api/devices/${e}/customer/${r}/location/${n}`)}getDevicesForRepoByDeviceType(e,r){return this.nuviotClient.getListResponse(`/api/devices/${e}/devicetype/${r}`)}getDevicesForRepoByDeviceTypeKey(e,r){return this.nuviotClient.getListResponse(`/api/devices/${e}/devicetype/key/${r}`)}getDeviceRepo(){return this._deviceRepo}getDeviceRepos(){return this._deviceRepos}getDeviceDetail(){return this._device}getConnectedDevices(e){return this.nuviotClient.getListResponse(`/api/deployment/instance/${e}/connected/monitored`)}getDeviceStatusHistory(e,r){return this.nuviotClient.getListResponse(`/api/device/${e}/status/${r}/history`)}getCurrentDevicesStatus(e){return this.nuviotClient.getListResponse(`/api/devices/${e}/status`)}setDevices(e){this._devices=e,this._devices$.next(e)}setDevicesLoading(e){this._devicesLoading$.next(e)}setDeviceRepo(e){this._deviceRepo=e,this._deviceRepo$.next(e)}setDeviceDetail(e){this._deviceId=e?e.id:null,this._device=e,this._device$.next(e)}setDeviceGroups(e){this._deviceGroups=e,this._deviceGroups$.next(e)}setDeviceRepos(e){this._deviceRepos=e,this._deviceRepos$.next(e)}setDeviceGroup(e){this._deviceGroup=e,this._deviceGroup$.next(e)}deviceMetadataEntry(e){const r=Object.keys(this._deviceMetadataCache).find(a=>a===e),n=r?this._deviceMetadataCache[r]:void 0;return{hasEntry:void 0!==r,isLoaded:void 0!==n,value:n}}getErrorCodes(){return this.nuviotClient.getListResponse("/api/errorcodes")}getErrorCode(e){return this.nuviotClient.getFormResponse(`/api/errorcode/${e}`)}createErrorCode(){return this.nuviotClient.getFormResponse("/api/errorcode/factory")}addErrorCode(e){return this.nuviotClient.insert("/api/errorcode",e)}updateErrorCode(e){return this.nuviotClient.update("/api/errorcode",e)}saveErrorCode(e){return e.isEditing?this.updateErrorCode(e.model):this.addErrorCode(e.model)}raiseDeviceError(e,r){return this.nuviotClient.request(`/api/device/${e.deviceRepository.id}/${e.id}/error/${r}/raise`)}deleteErrorCode(e){return this.nuviotClient.delete(`/api/errorcode/${e}`)}sendDeviceNotification(e,r,n=!1,i=!1){return this.nuviotClient.request(`/api/notifications/${e.deviceRepository.id}/${e.id}/${r}?testing=${n}&dryrun=${i}`)}testDeviceNotification(e,r,n,i=!1,a=!1){return this.nuviotClient.request(`/api/notifications/${e}/${r}/${n}?testing=${i}&dryrun=${a}`)}setDevicePinCode(e,r,n=!1){return this.nuviotClient.request(`/api/device/${e.deviceRepository.id}/${e.id}/pin/set/${r}?mustchange=${n}`)}setDeviceCustomState(e,r,n){return this.nuviotClient.request(`/api/device/${e}/${r}/customstatus/${n}`)}clearDevicePinCode(e){return this.nuviotClient.delete(`/api/device/${e.deviceRepository.id}/${e.id}/pin`)}getDeviceWithPin(e,r,n,i){return this.nuviotClient.request(`/api/device/${e}/${r}/${n}/${i}/view`)}signInWithNotification(e,r,n){return this.nuviotClient.request(`/device/notififcation/${e}/${r}/${n}/signin`)}silenceNotification(e,r){return this.nuviotClient.request(`/api/deployment/instance/${e}/device/${r}/notifications/silence`)}enableNotification(e,r){return this.nuviotClient.request(`/api/deployment/instance/${e}/device/${r}/notifications/enable`)}getDevicePems(e,r){return this.nuviotClient.getListResponse(`/api/device/${e}/pems/${r}`)}getDevicePin(e,r){return this.nuviotClient.request(`/api/device/${e}/${r}/pin`)}getDeviceTransactions(e){return this.nuviotClient.getListResponse(`/api/device/${e}/records`)}getShortenedLink(e,r){return this.nuviotClient.request(`/api/device/${e}/${r}/link/short`)}addDeviceContactListWithPin(e,r,n,i,a){return this.nuviotClient.post("/api/device/current/contacts",a)}sendOnlineNotification(e,r){return this.nuviotClient.request(`/api/notification/device/${e}/${r}/online/test`)}sendOfflineNotification(e,r){return this.nuviotClient.request(`/api/notification/device/${e}/${r}/offline/test`)}getSilencedAlarms(e,r){return this.nuviotClient.getListResponse(`/api/device/${e}/${r}/alarms/silenced`)}setCustomerLocation(e,r,n){return this.nuviotClient.postWithResponse(`/api/device/${e}/${r}/location`,n)}associateDeviceWithDiagram(e,r,n){return this.nuviotClient.post(`/api/device/${e}/${r}/diagram`,n)}removeDeviceFromDiagram(e,r){return this.nuviotClient.delete(`/api/device/${e}/${r}/diagram`)}setDeviceName(e,r,n){return this.nuviotClient.request(`/api/device/${e}/${r}/name?devicename=${encodeURIComponent(n)}`)}enableTestMode(e,r){return this.nuviotClient.request(`/api/device/${e}/${r}/testmode/true`)}disableTestMode(e,r){return this.nuviotClient.request(`/api/device/${e}/${r}/testmode/false`)}resetCustomStatusForCustomerAsync(e,r){return this.nuviotClient.request(`/api/devices/${e}/customer/${r}/reset`)}}return o.\u0275fac=function(e){return new(e||o)(Z(Cpe),Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),xB=(()=>{class o{constructor(e){this.nuviotClient=e}getHosts(){return this.nuviotClient.getListResponse("/api/deployment/hosts")}getFailedHosts(){return this.nuviotClient.getListResponse("/sys/api/deployment/hosts/failed")}getAllHosts(){return this.nuviotClient.getListResponse("/sys/api/deployment/hosts/active")}getActiveHosts(){return this.nuviotClient.getListResponse("/sys/api/deployment/hosts")}createHost(){return this.nuviotClient.getFormResponse("/api/deployment/host/factory")}getHost(e){return this.nuviotClient.getFormResponse(`/api/deployment/host/${e}`)}GetHostWithKeys(e){return this.nuviotClient.getFormResponse(`/api/deployment/host/${e}/secure`)}AddHost(e){return this.nuviotClient.post("/api/deployment/host",e)}RegenHostKey(e,r){return this.nuviotClient.request(`/api/deployment/host/${e}/generate/${r}`)}UpdateHost(e){return this.nuviotClient.update("/api/deployment/host",e)}DeleteHost(e){return this.nuviotClient.delete(`/api/deployment/host/${e}`)}GetSolutions(){return this.nuviotClient.getListResponse("/api/deployment/solutions")}GetSolution(e){return this.nuviotClient.getFormResponse(`/api/deployment/solution/${e}`)}CreateSolution(){return this.nuviotClient.getFormResponse("/api/deployment/solution/factory")}AddSolution(e){return this.nuviotClient.post("/api/deployment/solution",e)}UpdateSolution(e){return this.nuviotClient.update("/api/deployment/solution",e)}GetDeploymentActivities(e,r){return this.nuviotClient.getListResponse(`/api/deployment/solution/${e}/activities`)}GetSubscriptions(){return this.nuviotClient.getListResponse("/api/subscriptions")}GetInstances(){return this.nuviotClient.getListResponse("/api/deployment/instances")}GetAllInstances(){return this.nuviotClient.getListResponse("/sys/api/deployment/instances")}GetActiveInstances(){return this.nuviotClient.getListResponse("/sys/api/deployment/instances/active")}enableTestMode(e){return this.nuviotClient.request(`/api/deployment/instance/${e}/testmode/true`)}disableTestMode(e){return this.nuviotClient.request(`/api/deployment/instance/${e}/testmode/false`)}getInstance(e){return this.nuviotClient.getFormResponse(`/api/deployment/instance/${e}`)}CreateInstance(){return this.nuviotClient.getFormResponse("/api/deployment/instance/factory")}GetWebSocketUrl(e,r){return this.nuviotClient.request(`/api/wsuri/${e}/${r}/normal`)}GetUsageMetrics(e,r){return this.nuviotClient.getListResponse(`/api/usagemetrics/${e}/${r}`)}ValidateSolution(e){return this.nuviotClient.request(`/api/deployment/solution/${e}/validate`)}SendAction(e,r,n){return this.nuviotClient.request(`/api/deployment/${e}/${r}/${n}`)}DeployInstance(e){return this.nuviotClient.request(`/api/deployment/instance/${e}/deploy`)}RemoveSharedInstance(e,r){return this.nuviotClient.delete(`/api/deployment/host/${e}/remove/${r}`)}LoadStatusHistory(e,r,n){return this.nuviotClient.getListResponse(`/api/deployment/${e}/${r}/statushistory`,n)}LoadTelemetry(e,r,n,i){return this.nuviotClient.getListResponse(`/api/telemetry/${e}/${r}/${n}`,i)}GetContainerRepos(){return this.nuviotClient.getListResponse("/api/container/repos")}GetContainer(e){return this.nuviotClient.getFormResponse(`/api/container/repo/${e}`)}GetContainerTags(e){return this.nuviotClient.getListResponse(`/api/container/${e}/registry/tags`)}CreateContainerTag(){return this.nuviotClient.getFormResponse("/api/container/tag/factory")}CreateContainer(){return this.nuviotClient.getFormResponse("/api/container/repo/factory")}SaveContainer(e){return e.isEditing?this.nuviotClient.update("/api/container/repo",e.model):this.nuviotClient.post("/api/container/repo",e.model)}UpdateInstanceRuntime(e,r,n){return this.nuviotClient.get(`/api/deployment/instance/${e}/image/${r}/${n}`)}GetFailedPems(e,r){return this.nuviotClient.getListResponse(`/api/device/${e}/pems/errors/${r}`)}GetPem(e,r,n){let i=`/api/device/${e}/${r}/${n.replace(".","_")}/pem`;return this.nuviotClient.request(i)}GetSecret(e){return this.nuviotClient.request(`/api/secret/${e}`)}getClientApps(){return this.nuviotClient.getListResponse("/api/clientapps")}getClientApp(e){return this.nuviotClient.getFormResponse(`/api/clientapp/${e}`)}createClientApp(){return this.nuviotClient.getFormResponse("/api/clientapp/factory")}addClientApp(e){return this.nuviotClient.post("/api/clientapp",e)}updateClientApp(e){return this.nuviotClient.update("/api/clientapp",e)}deleteClientApp(e){return this.nuviotClient.delete(`/api/clientapp/${e}`)}saveClientApp(e){return e.isEditing?this.nuviotClient.update("/api/clientapp",e.model):this.nuviotClient.post("/api/clientapp",e.model)}getDeviceNotifications(){return this.nuviotClient.getListResponse("/api/notifications")}getDeviceNotificationsForCustomer(e){return this.nuviotClient.getListResponse(`/api/notifications/customer/${e}`)}getDeviceNotificationHistory(e){return this.nuviotClient.getListResponse(`/api/device/notification/${e}/history`)}getRaisedNotificationSummary(e,r){return this.nuviotClient.request(`/api/device/notification/raised/${e}/${r}/summary`)}getDeviceRepoNotificationHistory(e){return this.nuviotClient.getListResponse(`/api/device/notification/repo/${e}/history`)}getRaisedDeviceNotificationHistory(e){return this.nuviotClient.getListResponse(`/api/device/notification/raised/${e}/history`)}getRaisedDeviceRepoNotificationHistory(e){return this.nuviotClient.getListResponse(`/api/device/notification/raised/repo/${e}/history`)}getPublicRaisedDeviceRepoNotificationHistory(e,r){return this.nuviotClient.getListResponse(`/deviceapi/device/notification/${e}/raised/repo/${r}/history`)}getDeviceNotification(e){return this.nuviotClient.getFormResponse(`/api/notification/${e}`)}createDeviceNotification(){return this.nuviotClient.getFormResponse("/api/notification/factory")}addDeviceNotification(e){return this.nuviotClient.post("/api/notification",e)}updateDeviceNotification(e){return this.nuviotClient.update("/api/notification",e)}deleteDeviceNotification(e){return this.nuviotClient.delete(`/api/notification/${e}`)}saveDeviceNotification(e){return e.isEditing?this.nuviotClient.update("/api/clientapp",e.model):this.nuviotClient.post("/api/clientapp",e.model)}getSystemTests(){return this.nuviotClient.getListResponse("/api/systemtests")}getSystemTest(e){return this.nuviotClient.getFormResponse(`/api/systemtest/${e}`)}createSystemTest(){return this.nuviotClient.getFormResponse("/api/systemtest/factory")}addSystemTest(e){return this.nuviotClient.post("/api/systemtest",e)}updateSystemTest(e){return this.nuviotClient.update("/api/systemtest",e)}deleteSystemTest(e){return this.nuviotClient.delete(`/api/systemtest/${e}`)}saveSystemTest(e){return e.isEditing?this.nuviotClient.update("/api/systemtest",e.model):this.nuviotClient.post("/api/systemtest",e.model)}createTestExecution(e){return this.nuviotClient.request(`/api/systemtest/${e}/start`)}abortTestExecution(e){return this.nuviotClient.request(`/api/systemtest/${e}/abort`)}getTestExecution(e){var r=this;return E(function*(){return(yield r.nuviotClient.request(`/api/systemtest/execution/${e}/result`)).result})()}getTestExecutions(){return this.nuviotClient.getListResponse("/api/systemtest/execution/results")}completeTestStep(e,r,n){var i=this;return E(function*(){return(yield i.nuviotClient.postWithResponse(`/api/systemtest/${e}/step/${r}/complete`,n)).result})()}undoTestStep(e,r){var n=this;return E(function*(){return(yield n.nuviotClient.request(`/api/systemtest/${e}/step/${r}/undo`)).result})()}getIncidentProtocols(){return this.nuviotClient.getListResponse("/api/incident/protocols")}getIncidentProtocol(e){return this.nuviotClient.getFormResponse(`/api/incident/protocol/${e}`)}createIncidentProtocol(){return this.nuviotClient.getFormResponse("/api/incident/protocol/factory")}addIncidentProtocol(e){return this.nuviotClient.post("/api/incident/protocol",e)}updateIncidentProtocol(e){return this.nuviotClient.update("/api/incident/protocol",e)}deleteIncidentProtocol(e){return this.nuviotClient.delete(`/api/incident/protocol/${e}`)}saveIncidentProtocol(e){return e.isEditing?this.nuviotClient.update("/api/incident/protocol",e.model):this.nuviotClient.post("/api/incident/protocol",e.model)}createIntegration(){return this.nuviotClient.getFormResponse("/api/integration/factory")}getIntegration(e){return this.nuviotClient.getFormResponse(`/api/integration/${e}`)}deleteIntegration(e){return this.nuviotClient.delete(`/api/integration/${e}`)}getIntegrations(){return this.nuviotClient.getListResponse("/api/integrations")}insertIntegration(e){return this.nuviotClient.post("/api/integration",e)}updateIntegration(e){return this.nuviotClient.update("/api/integration",e)}saveIntegration(e){return e.isEditing?this.nuviotClient.update("/api/integration",e.model):this.nuviotClient.post("/api/integration",e.model)}getTelemetryData(e){return this.nuviotClient.getListResponse(e)}getStatusHistory(e){return this.nuviotClient.getListResponse(e)}createWiFiConnectionProfile(){return this.nuviotClient.getFormResponse("/api/wificonnectionprofile/factory")}editWiFiConnectionProfile(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/wificonnectionprofile/factory");return n.model=e,n.isEditing=!0,n})()}getWiFiConnectionProfile(e,r){return this.nuviotClient.request(`/api/deployment/instance/${e}/wifiprofile/${r}`)}saveWiFiConnectionProfile(e,r){return console.log(r),r.isEditing?this.nuviotClient.updateWithResponse(`/api/deployment/instance/${e}/wifiprofile`,r.model):this.nuviotClient.postWithResponse(`/api/deployment/instance/${e}/wifiprofile`,r.model)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),wpe=(()=>{class o{constructor(e){this.nuviotClient=e,this._templates$=new pt,this._template$=new pt,this._board$=new pt,this._boards$=new pt,this._tickets$=new pt,this._ticket$=new pt,this._partsKit$=new pt}loadTickets(e=null){return new Promise((n,i)=>{this.nuviotClient.getListResponse("/api/fslite/tickets",{pageSize:50,nextRowKey:e}).then(a=>{this.setTickets(a.model),n(a)}).catch(a=>i(a))})}loadTicketsForBoard(e,r=null){return new Promise((i,a)=>{this.nuviotClient.getListResponse(`/api/fslite/${e}/tickets`,{pageSize:50,nextRowKey:r}).then(s=>{this.setTickets(s.model),i(s)}).catch(s=>a(s))})}loadTicketsForDevice(e,r=null){return new Promise((i,a)=>{this.nuviotClient.getListResponse(`/api/fslite/ticket/device/${e}`,{pageSize:50,nextRowKey:r}).then(s=>{this.setTickets(s.model),i(s)}).catch(s=>a(s))})}loadTicketsWithFilter(e){return new Promise((n,i)=>{this.nuviotClient.getListResponse("/api/fslite/tickets").then(a=>{this.setTickets(a.model),n(a)}).catch(a=>i(a))})}loadTemplate(e){return new Promise((n,i)=>{this.nuviotClient.request(`/api/fslite/tickets/template/${e}/detail`).then(a=>{this.setTemplate(a),n(a)}).catch(a=>i(a))})}loadBoards(){return new Promise((r,n)=>{this.nuviotClient.getListResponse("/api/fslite/serviceboards").then(i=>{this.setTemplates(i.model),r(i.model)}).catch(i=>n(i))})}loadTemplates(){return new Promise((r,n)=>{this.nuviotClient.getListResponse("/api/fslite/tickets/templates").then(i=>{this.setTemplates(i.model),r(i.model)}).catch(i=>n(i))})}createTicket(e){return new Promise((n,i)=>{this.nuviotClient.insert("/api/fslite/ticket/create",e).then(a=>{const s=a;this.setTicket(s.result),n(s.result)}).catch(a=>i(a))})}addTicketNote(e,r){return new Promise((i,a)=>{this.nuviotClient.postWithResponse(`/api/fslite/ticket/${e}/note`,r).then(s=>{s.successful?i(s.result):a("could not add ticket note")}).catch(s=>a(s))})}changeTicketStatus(e,r){return new Promise((i,a)=>{this.nuviotClient.postWithResponse(`/api/fslite/ticket/${e}/status`,r).then(s=>{s.successful?i(s.result):a("could not set status")}).catch(s=>a(s))})}setTicketViewedStatus(e,r){return new Promise((i,a)=>{this.nuviotClient.request(`/api/fslite/ticket/${e}/viewed/${r}`).then(s=>{s.successful?i(s.result):a("could not set viewed status")}).catch(s=>a(s))})}setTicketClosedStatus(e,r){return new Promise((i,a)=>{this.nuviotClient.request(`/api/fslite/ticket/${e}/closed/${r}`).then(s=>{s.successful?i(s.result):a("could not set closed status")}).catch(s=>a(s))})}loadTicket(e){return new Promise((n,i)=>{this.nuviotClient.getFormResponse(`/api/fslite/ticket/${e}`).then(a=>{this.setTicket(a.model),n(a.model)}).catch(a=>i(a))})}loadPartsKit(e){return new Promise((n,i)=>{this.nuviotClient.request(`/api/fslite/partskit/${e}/detail`).then(a=>{this.setPartsKit(a),n(a)}).catch(a=>i(a))})}updateAssignedTo(e,r){return new Promise((i,a)=>{this.nuviotClient.post(`/api/fslite/ticket/${e}/assignedto`,r).then(s=>{s.successful?i(s.result):a("could not update user.")}).catch(s=>a(s))})}deleteTicket(e){return new Promise((n,i)=>{this.nuviotClient.delete(`/api/fslite/ticket/${e}`).then(a=>{n(a)}).catch(a=>i(a))})}onPartsKit(){return this._partsKit$.asObservable()}onBoard(){return this._board$.asObservable()}onBoards(){return this._boards$.asObservable()}onTicket(){return this._ticket$.asObservable()}onTickets(){return this._tickets$.asObservable()}onTemplates(){return this._templates$.asObservable()}onTemplate(){return this._template$.asObservable()}setBoard(e){this._board=e,this._board$.next(e)}setBoards(e){this._boards=e,this._boards$.next(e)}setTemplate(e){this._template=e,this._template$.next(e)}setTicket(e){this._ticket=e,this._ticket$.next(e)}setTickets(e){this._tickets=e,this._tickets$.next(e)}setTemplates(e){this._templates=e,this._templates$.next(e)}setPartsKit(e){this._partsKit=e,this._partsKit$.next(e)}getBoard(){return this._board}getBoards(){return this._boards}getTicket(){return this._ticket}getTickets(){return this._tickets}getTemplateSummaries(){return this._templates}getPartsKit(){return this._partsKit}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),xpe=(()=>{class o{constructor(e){this.nuviotClient=e}getMessages(){return this.nuviotClient.getListResponse("/api/devicemessagetypes")}getOutgoingMessages(){return this.nuviotClient.getListResponse("/api/devicemessagetypes/outgoing")}getIncomingMessages(){return this.nuviotClient.getListResponse("/api/devicemessagetypes/incoming")}getMessage(e){return this.nuviotClient.getFormResponse(`/api/devicemessagetype/${e}`)}createMessage(){return this.nuviotClient.getFormResponse("/api/devicemessagetype/factory")}createMessageVerifier(){return this.nuviotClient.getFormResponse("/api/verifier/factory/message")}createMessageFieldVerifier(){return this.nuviotClient.getFormResponse("/api/verifier/factory/messagefield")}createMessageAttributeParser(){return this.nuviotClient.getFormResponse("/api/messageattributeparser/factory")}createMessageField(){return this.nuviotClient.getFormResponse("/api/devicemessagetype/field/factory")}editMessageField(e){var r=this;return E(function*(){let n=yield r.createMessageField();return n.isEditing=!0,n.model=e,n})()}saveMessage(e){var r=this;return E(function*(){return e.isEditing?yield r.nuviotClient.update("/api/devicemessagetype",e.model):yield r.nuviotClient.post("/api/devicemessagetype",e.model)})()}saveVerifier(e){var r=this;return E(function*(){return e.isEditing?yield r.nuviotClient.update("/api/verifier",e.model):yield r.nuviotClient.post("/api/verifier",e.model)})()}runMessageVerifier(e){return this.nuviotClient.postRaw("/api/verifierruntime/messageparser/execute",e)}runMessageAttributeVerifier(e){return this.nuviotClient.postRaw("/api/verifierruntime/messageattributeparser/execute",e)}getVerifier(e){return this.nuviotClient.getFormResponse(`/api/verifier/${e}`)}deleteVerifier(e){return this.nuviotClient.delete(`/api/verifier/${e}`)}getVerifiersForComponent(e){return this.nuviotClient.getListResponse(`/api/verifiers/component/${e}`)}importMessage(e){console.log(e);let r=JSON.parse(e);return console.log("parsed",e,r),this.nuviotClient.postWithResponse("/api/devicemessagetype/fields/parse",JSON.parse(e))}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Dpe=(()=>{class o{constructor(e,r){this.nuviotClient=e,this.userService=r}getProductCategory(e){return this.nuviotClient.getFormResponse(`/api/product/category/${e}`)}getProductCategories(){return this.nuviotClient.getListResponse("/api/product/categories")}createProductCategory(){return this.nuviotClient.getFormResponse("/api/product/category/factory")}updateProductCategory(e){return this.nuviotClient.update("/api/product/category",e)}insertProductCategory(e){return this.nuviotClient.insert("/api/product/category",e)}saveProductCategory(e){return e.isEditing?this.updateProductCategory(e.model):this.insertProductCategory(e.model)}getProduct(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/product/${e}`)})()}deleteProduct(e){var r=this;return E(function*(){return yield r.nuviotClient.delete(`/api/product/${e}`)})()}getProducts(e){var r=this;return E(function*(){return yield r.nuviotClient.getListResponse(`/api/products/category/${e}`)})()}createProduct(e){return this.nuviotClient.getFormResponse(`/api/product/factory/${e}`)}updateProduct(e){return this.nuviotClient.update("/api/product",e)}insertProduct(e){return this.nuviotClient.insert("/api/product",e)}saveProduct(e){return e.isEditing?this.updateProduct(e.model):this.insertProduct(e.model)}getProductCategoryTypesList(){return this.nuviotClient.getListResponse("/api/product/category/types")}createProductCategoryType(){return this.nuviotClient.getFormResponse("/api/product/category/type/factory")}getProductCategoryType(e){return this.nuviotClient.getFormResponse(`/api/product/category/type/${e}`)}updateProductCategoryType(e){return this.nuviotClient.update("/api/product/category/type",e)}insertProductCategoryType(e){return this.nuviotClient.insert("/api/product/category/type",e)}saveProductCategoryType(e){return e.isEditing?this.updateProductCategoryType(e.model):this.insertProductCategoryType(e.model)}getProductPageLayoutList(){return this.nuviotClient.getListResponse("/api/productpage/layouts")}createProductPageLayoutType(){return this.nuviotClient.getFormResponse("/api/productpage/layout/factory")}getProductPageLayoutType(e){return this.nuviotClient.getFormResponse(`/api/productpage/layout/${e}`)}deleteProductPageLayoutType(e){return this.nuviotClient.delete(`/api/productpage/layout//${e}`)}updateProductPageLayoutType(e){return this.nuviotClient.update("/api/productpage/layout",e)}insertProductPageLayoutType(e){return this.nuviotClient.insert("/api/productpage/layout",e)}saveProductPageLayoutType(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateProductPageLayoutType(e.model);{let n=yield r.insertProductPageLayoutType(e.model);return n.successful&&(e.isEditing=!0),n}})()}createProductPage(){return this.nuviotClient.getFormResponse("/api/product/page/factory")}getProductPages(){return this.nuviotClient.getListResponse("/api/product/page/list")}getProductPage(e){return this.nuviotClient.getFormResponse(`/api/product/page/${e}`)}getProductPageByKey(e,r){return this.nuviotClient.request(`/api/${e}/product/page/${r}`)}deleteProductPage(e){return this.nuviotClient.delete(`/api/product/page/${e}`)}updateProductPage(e){return this.nuviotClient.update("/api/product/page",e)}insertProductPage(e){return this.nuviotClient.insert("/api/product/page",e)}addProductPageProduct(e){return this.nuviotClient.post("/api/product/page/product",e)}updateProductPageProduct(e){return this.nuviotClient.update("/api/product/page/product",e)}removeProductPageProduct(e){return this.nuviotClient.delete(`/api/product/page/product/${e}`)}saveProductPage(e){return e.isEditing?this.updateProductPage(e.model):this.insertProductPage(e.model)}getPublicProductCategoryTypesAsync(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/${e}/product/category/types`)})()}getPublicProductCategoryTypeAsync(e,r){var n=this;return E(function*(){return yield n.nuviotClient.request(`/api/${e}/product/categories/${r}`)})()}getPublicProductCategoryAsync(e,r){var n=this;return E(function*(){return yield n.nuviotClient.request(`/api/${e}/product/category/${r}`)})()}getPublicProductsForOrgAsync(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/${e}/products`)})()}getPublicProductAsync(e,r){var n=this;return E(function*(){return yield n.nuviotClient.request(`/api/${e}/product/${r}`)})()}getCartAsync(e){var r=this;return E(function*(){return r.nuviotClient.request(`/api/cart/${e}`)})()}addToCartAsync(e,r,n){var i=this;return E(function*(){return yield i.nuviotClient.updateWithResponse(`/api/${e}/cart/add/${r}?qty=${n}`,null)})()}removeItemFromCartAsync(e,r){var n=this;return E(function*(){return yield n.nuviotClient.deleteWithResponse(`/api/${e}/cart/item/${r}`)})()}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft),Z(uo))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Mpe=(()=>{class o{constructor(e){this.nuviotClient=e}editMessageTemplate(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/simulator/messagetemplate/factory");return n.model=e,n.isEditing=!0,n})()}getSimulators(){return this.nuviotClient.getListResponse("/api/org/simulators")}getSimulator(e){return this.nuviotClient.getFormResponse(`/api/simulator/${e}`)}createSimulator(){return this.nuviotClient.getFormResponse("/api/simulator/factory")}saveSimulator(e){return e.isEditing?this.nuviotClient.update("/api/simulator",e.model):this.nuviotClient.post("/api/simulator",e.model)}getSimulatorNetworks(){return this.nuviotClient.getListResponse("/api/simulator/networks")}createSimulatorNetwork(){return this.nuviotClient.getFormResponse("/api/simulator/network/factory")}getSimulatorNetwork(e){return this.nuviotClient.getFormResponse(`/api/simulator/network/${e}`)}getSimulatorNetworkWithKeys(e){return this.nuviotClient.getFormResponse(`/api/simulator/network/${e}/secure`)}saveSimulatorNetwork(e){return e.isEditing?this.nuviotClient.update("/api/simulator/network",e.model):this.nuviotClient.post("/api/simulator/network",e.model)}createSimulatorInstance(){return this.nuviotClient.getFormResponse("/api/simulator/instance/factory")}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),kpe=(()=>{class o{constructor(e){this.client=e}getReports(){return this.client.getListResponse("api/reports")}getReport(e){var r=this;return E(function*(){return yield r.client.getFormResponse(`/api/report/${e}`)})()}createReport(){var e=this;return E(function*(){return yield e.client.getFormResponse("/api/report/factory")})()}createReportRevision(){return this.client.getFormResponse("/api/report/revision/factory")}editReportRevision(e){var r=this;return E(function*(){let n=yield r.client.getFormResponse("/api/report/revision/factory");return n.model=e,n.isEditing=!0,n})()}saveReport(e){var r=this;return E(function*(){return e.isEditing?yield r.client.update("/api/report",e.model):yield r.client.post("/api/report",e.model)})()}queueForExecution(e,r){return new Promise((i,a)=>{this.client.insert(`/api/report/${e}/run`,r).then(s=>{i(s.result)}).catch(s=>a(s))})}deleteGeneratedReport(e,r){return this.client.delete(`/report/${e}/${r}`)}createScheduledReports(){return this.client.getFormResponse("/api/report/scheduled/factory")}getScheduledReport(e){return this.client.getFormResponse(`/api/report/scheduled/${e}`)}getScheduledReportsForReport(e){return this.client.getListResponse(`/api/reports/scheduled/${e}`)}getScheduledReports(){return this.client.getListResponse("/api/reports/scheduled")}insertScheduledReport(e){return this.client.post("/api/report/scheduled",e)}updateScheduledReport(e){return this.client.update("/api/report/scheduled",e)}deleteSchedueledReport(e){return this.client.delete(`/api/report/scheduled/${e}`)}getGeneratedReports(e){return this.client.getListResponse(`/report/${e}/generated`)}getDeviceGeneratedReports(e,r){return this.client.getListResponse(`/report/device/${e}/generated`,{pageSize:50,nextRowKey:r})}getStreamData(e,r,n){return new Promise((a,s)=>{this.client.getListResponse(`/api/datastream/${e}/data/${r}`,n).then(c=>{a(c)}).catch(c=>s(c))})}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Epe=(()=>{class o{constructor(e){this.nuviotClient=e}createPage(){return this.nuviotClient.getFormResponse("/api/deviceadmin/factory/page")}getWorkflow(e){return this.nuviotClient.getFormResponse(`/api/deviceadmin/deviceworkflow/${e}`)}createWorkflow(){return this.nuviotClient.getFormResponse("/api/deviceadmin/factory/deviceworkflow")}getWorkflows(){return this.nuviotClient.getListResponse("/api/deviceadmin/deviceworkflows")}insertWorkflow(e){return this.nuviotClient.post("/api/deviceadmin/deviceworkflow",e)}updateWorkflow(e){return this.nuviotClient.update("/api/deviceadmin/deviceworkflow",e)}deleteWorkflow(e){return this.nuviotClient.delete("/api/deviceadmin/deviceworkflow")}createPlanner(){return this.nuviotClient.getFormResponse("/api/pipeline/admin/planner/factory")}getPlanner(e){return this.nuviotClient.getFormResponse(`/api/pipeline/admin/planner/${e}`)}getPlanners(){return this.nuviotClient.getListResponse("/api/pipeline/admin/planners")}addPlanner(e){return this.nuviotClient.post("/api/pipeline/admin/planner",e)}updatePlanner(e){return this.nuviotClient.update("/api/pipeline/admin/planner",e)}savePlanner(e){return e.isEditing?this.updatePlanner(e.model):this.addPlanner(e.model)}removePlanner(e){return this.nuviotClient.deleteWithResponse(`/api/pipeline/admin/planner/${e}`)}createAppCache(){return this.nuviotClient.getFormResponse("/api/appcache/factory")}getAppCache(e){return this.nuviotClient.getFormResponse(`/api/appcache/${e}`)}getAppCaches(){return this.nuviotClient.getListResponse("/api/appcaches")}addAppCache(e){return this.nuviotClient.post("/api/appcache",e)}updateAppCache(e){return this.nuviotClient.update("/api/appcache",e)}saveAppCache(e){return e.isEditing?this.updateAppCache(e.model):this.addAppCache(e.model)}createWorkflowInputNode(){return this.nuviotClient.getFormResponse("/api/deviceadmin/factory/input")}createWorkflowAttributeNode(){return this.nuviotClient.getFormResponse("/api/deviceadmin/factory/attribute")}createWorkflowOutputNode(){return this.nuviotClient.getFormResponse("/api/deviceadmin/factory/outputcommand")}createWorkflowOutputParameter(){return this.nuviotClient.getFormResponse("/api/deviceadmin/factory/outputcommand")}createWorkflowInputCommandNode(){return this.nuviotClient.getFormResponse("/api/deviceadmin/factory/inputcommand")}createStateMachineNode(){return this.nuviotClient.getFormResponse("/api/statemachine/factory")}editStateMachineNode(e){var r=this;return E(function*(){let n=yield r.createStateMachineNode();return n.model=e,n.isEditing=!0,n})()}getStateSets(){return this.nuviotClient.getListResponse("/api/statemachine/statesets")}getStateSet(e){return this.nuviotClient.getFormResponse(`/api/statemachine/stateset/${e}`)}createStateSet(){return this.nuviotClient.getFormResponse("/api/statemachine/factory/stateset")}createState(){return this.nuviotClient.getFormResponse("/api/statemachine/factory/state")}editState(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/statemachine/factory/state");return n.model=e,n.isEditing=!0,n})()}createTransmitter(){return this.nuviotClient.getFormResponse("/api/pipeline/admin/transmitter/factory")}getTransmitter(e){return this.nuviotClient.getFormResponse(`/api/pipeline/admin/transmitter/${e}`)}createTransition(){return this.nuviotClient.getFormResponse("/api/statemachine/factory/transition")}editTransition(e){var r=this;return E(function*(){let n=yield r.createTransition();return n.model=e,n.isEditing=!0,n})()}addStateSet(e){return this.nuviotClient.post("/api/statemachine/stateset",e)}updateStateSet(e){return this.nuviotClient.update("/api/statemachine/stateset",e)}saveStateSet(e){return e.isEditing?this.updateStateSet(e.model):this.addStateSet(e.model)}deleteStateSet(e){return this.nuviotClient.deleteWithResponse(`/api/statemachine/stateset/${e}`)}createEvent(){return this.nuviotClient.getFormResponse("/api/statemachine/factory/event")}editEvent(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/statemachine/factory/event");return n.model=e,n.isEditing=!0,n})()}createUnitSet(){return this.nuviotClient.getFormResponse("/api/deviceadmin/factory/unitset")}createUnit(){return this.nuviotClient.getFormResponse("/api/deviceadmin/unit/factory")}getUnitSets(){return this.nuviotClient.getListResponse("/api/deviceadmin/unitsets")}getUnitSet(e){return this.nuviotClient.getFormResponse(`/api/deviceadmin/unitset/${e}`)}addUnitSet(e){return this.nuviotClient.post("/api/deviceadmin/unitset",e)}updateUnitSet(e){return this.nuviotClient.update("/api/deviceadmin/unitset",e)}saveUnitSet(e){return e.isEditing?this.updateUnitSet(e.model):this.addUnitSet(e.model)}createCustomModule(){return this.nuviotClient.getFormResponse("/api/pipeline/admin/custommodule/factory")}getCustomModule(e){return this.nuviotClient.getFormResponse(`/api/pipeline/admin/custommodule/${e}`)}getCustomModules(){return this.nuviotClient.getListResponse("/api/pipeline/admin/custommodules")}addCustomModule(e){return this.nuviotClient.post("/api/pipeline/admin/custommodule",e)}updateCustomModule(e){return this.nuviotClient.update("/api/pipeline/admin/custommodule",e)}saveCustomModule(e){return e.isEditing?this.updateCustomModule(e.model):this.addCustomModule(e.model)}createDataStream(){var e=this;return E(function*(){return e.nuviotClient.getFormResponse("api/datastream/factory")})()}getDataStream(e){return this.nuviotClient.getFormResponse(`api/datastream/${e}`)}getDataStreams(){return this.nuviotClient.getListResponse("/api/datastreams")}getDataStreamField(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/datastreamfield/factory");return n.model=e,n.isEditing=!0,n})()}createDataStreamField(){var e=this;return E(function*(){return yield e.nuviotClient.getFormResponse("/api/datastreamfield/factory")})()}createOutputTranslator(){return this.nuviotClient.getFormResponse("/api/pipeline/admin/outputtranslator/factory")}getOutputTranslator(e){return this.nuviotClient.getFormResponse(`/api/pipeline/admin/outputtranslator/${e}`)}getInputTranslators(){return this.nuviotClient.getListResponse("/api/pipeline/admin/inputtranslators")}createInputTranslator(){return this.nuviotClient.getFormResponse("/api/pipeline/admin/inputtranslator/factory")}getInputTranslator(e){return this.nuviotClient.getFormResponse(`/api/pipeline/admin/inputtranslator/${e}`)}removeInputTranslator(e){return this.nuviotClient.deleteWithResponse(`/api/pipeline/admin/inputtranslator/${e}`)}insertInputTranslator(e){return this.nuviotClient.post("/api/pipeline/admin/inputtranslator",e)}updateInputTranslator(e){return this.nuviotClient.update("/api/pipeline/admin/inputtranslator",e)}getSentinels(){return this.nuviotClient.getListResponse("/api/pipeline/admin/sentinels")}createSentinel(){return this.nuviotClient.getFormResponse("/api/pipeline/admin/sentinel/factory")}getSentinel(e){return this.nuviotClient.getFormResponse(`/api/pipeline/admin/sentinel/${e}`)}removeSentinel(e){return this.nuviotClient.deleteWithResponse(`/api/pipeline/admin/sentinel/${e}`)}insertSentinel(e){return this.nuviotClient.post("/api/pipeline/admin/sentinel",e)}updateSentinel(e){return this.nuviotClient.update("/api/pipeline/admin/sentinel",e)}saveSentinel(e){return e.isEditing?this.updateSentinel(e.model):this.insertSentinel(e.model)}createListener(){return this.nuviotClient.getFormResponse("/api/pipeline/admin/listener/factory")}insertListener(e){return this.nuviotClient.post("/api/pipeline/admin/listener",e)}getDefaultListenerForRepo(e){return this.nuviotClient.request(`/api/device/repo/${e}/defaultlistener`)}getListener(e){return this.nuviotClient.getFormResponse(`/api/pipeline/admin/listener/${e}`)}getListeners(){return this.nuviotClient.getListResponse("/api/pipeline/admin/listeners")}removeListener(e){return this.nuviotClient.deleteWithResponse(`/api/pipeline/admin/listener/${e}`)}updateListener(e){return this.nuviotClient.update("/api/pipeline/admin/listener",e)}getOutputTranslators(){return this.nuviotClient.getListResponse("/api/pipeline/admin/outputtranslators")}getTransmitters(){return this.nuviotClient.getListResponse("/api/pipeline/admin/transmitters")}getSharedConnections(){return this.nuviotClient.getListResponse("/api/sharedconnections")}getSharedConnection(e){return this.nuviotClient.getFormResponse(`/api/sharedconnection/${e}`)}createSharedConnection(){return this.nuviotClient.getFormResponse("/api/sharedconnection/factory")}insertSharedConnection(e){return this.nuviotClient.post("/api/sharedconnection",e)}updateSharedConnection(e){return this.nuviotClient.update("/api/sharedconnection",e)}saveSharedConnection(e){return e.isEditing?this.updateSharedConnection(e.model):this.insertSharedConnection(e.model)}removeSharedConnection(e){return this.nuviotClient.deleteWithResponse(`/api/sharedconnection/${e}`)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class UM{constructor(t){let r=function Tpe(o){return!(!o||!(o.nodeName||o.prop&&o.attr&&o.find))}(t)?t.value:t;this["_createFrom"+("string"==typeof r?"FakePath":"Object")](r)}_createFromFakePath(t){this.lastModifiedDate=void 0,this.size=void 0,this.type="like/"+t.slice(t.lastIndexOf(".")+1).toLowerCase(),this.name=t.slice(t.lastIndexOf("/")+t.lastIndexOf("\\")+2)}_createFromObject(t){this.size=t.size,this.type=t.type,this.name=t.name}}class Fpe{constructor(t,e,r){this.alias="file",this.url="/",this.method="POST",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.index=void 0,this.uploader=t,this.some=e,this.options=r,this.file=new UM(e),this._file=e,this.url=t.options.url,this._zone=new ct({enableLongStackTrace:!1})}upload(){try{this.uploader.uploadItem(this)}catch{this.uploader._onCompleteItem(this,"",0,[]),this.uploader._onErrorItem(this,"",0,[])}}cancel(){this.uploader.cancelItem(this)}remove(){this.uploader.removeFromQueue(this)}onBeforeUpload(){}onBuildForm(t){return{form:t}}onProgress(t){return{progress:t}}onSuccess(t,e,r){return{response:t,status:e,headers:r}}onError(t,e,r){return{response:t,status:e,headers:r}}onCancel(t,e,r){return{response:t,status:e,headers:r}}onComplete(t,e,r){return{response:t,status:e,headers:r}}_onBeforeUpload(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}_onBuildForm(t){this.onBuildForm(t)}_onProgress(t){this._zone.run(()=>{this.progress=t}),this.onProgress(t)}_onSuccess(t,e,r){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(t,e,r)}_onError(t,e,r){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(t,e,r)}_onCancel(t,e,r){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(t,e,r)}_onComplete(t,e,r){this.onComplete(t,e,r),this.uploader.options.removeAfterUpload&&this.remove()}_prepareToUploading(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}}let Spe=(()=>{class o{static getMimeClass(e){let r="application";return-1!==this.mime_psd.indexOf(e.type)||e.type.match("image.*")?r="image":e.type.match("video.*")?r="video":e.type.match("audio.*")?r="audio":"application/pdf"===e.type?r="pdf":-1!==this.mime_compress.indexOf(e.type)?r="compress":-1!==this.mime_doc.indexOf(e.type)?r="doc":-1!==this.mime_xsl.indexOf(e.type)?r="xls":-1!==this.mime_ppt.indexOf(e.type)&&(r="ppt"),"application"===r&&(r=this.fileTypeDetection(e.name)),r}static fileTypeDetection(e){let r={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm":"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},n=e.split(".");if(n.length<2)return"application";let i=n[n.length-1].toLowerCase();return void 0===r[i]?"application":r[i]}}return o.mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"],o.mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],o.mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],o.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"],o.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream"],o})();class DB{constructor(t){this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1},this.setOptions(t)}setOptions(t){this.options=Object.assign(this.options,t),this.authToken=t.authToken,this.autoUpload=t.autoUpload,this.options.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:"mimeType",fn:this._mimeTypeFilter})}addToQueue(t,e,r){let n=[];for(let l of t)n.push(l);let i=this._getFilters(r),a=this.queue.length,s=[];n.map(l=>{e||(e=this.options);let c=new UM(l);if(this._isValidFile(c,i,e)){let h=new Fpe(this,l,e);s.push(h),this.queue.push(h),this._onAfterAddingFile(h)}else this._onWhenAddingFileFailed(c,i[this._failFilterIndex],e)}),this.queue.length!==a&&(this._onAfterAddingAll(s),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()}removeFromQueue(t){let e=this.getIndexOfItem(t),r=this.queue[e];r.isUploading&&r.cancel(),this.queue.splice(e,1),this.progress=this._getTotalProgress()}clearQueue(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}uploadItem(t){let e=this.getIndexOfItem(t),r=this.queue[e],n=this.options.isHTML5?"_xhrTransport":"_iframeTransport";r._prepareToUploading(),!this.isUploading&&(this.isUploading=!0,this[n](r))}cancelItem(t){let e=this.getIndexOfItem(t),r=this.queue[e];r&&r.isUploading&&r[this.options.isHTML5?"_xhr":"_form"].abort()}uploadAll(){let t=this.getNotUploadedItems().filter(e=>!e.isUploading);!t.length||(t.map(e=>e._prepareToUploading()),t[0].upload())}cancelAll(){this.getNotUploadedItems().map(e=>e.cancel())}isFile(t){return function Ppe(o){return File&&o instanceof File}(t)}isFileLikeObject(t){return t instanceof UM}getIndexOfItem(t){return"number"==typeof t?t:this.queue.indexOf(t)}getNotUploadedItems(){return this.queue.filter(t=>!t.isUploaded)}getReadyItems(){return this.queue.filter(t=>t.isReady&&!t.isUploading).sort((t,e)=>t.index-e.index)}destroy(){}onAfterAddingAll(t){return{fileItems:t}}onBuildItemForm(t,e){return{fileItem:t,form:e}}onAfterAddingFile(t){return{fileItem:t}}onWhenAddingFileFailed(t,e,r){return{item:t,filter:e,options:r}}onBeforeUploadItem(t){return{fileItem:t}}onProgressItem(t,e){return{fileItem:t,progress:e}}onProgressAll(t){return{progress:t}}onSuccessItem(t,e,r,n){return{item:t,response:e,status:r,headers:n}}onErrorItem(t,e,r,n){return{item:t,response:e,status:r,headers:n}}onCancelItem(t,e,r,n){return{item:t,response:e,status:r,headers:n}}onCompleteItem(t,e,r,n){return{item:t,response:e,status:r,headers:n}}onCompleteAll(){}_mimeTypeFilter(t){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(t.type))}_fileSizeFilter(t){return!(this.options.maxFileSize&&t.size>this.options.maxFileSize)}_fileTypeFilter(t){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(Spe.getMimeClass(t)))}_onErrorItem(t,e,r,n){t._onError(e,r,n),this.onErrorItem(t,e,r,n)}_onCompleteItem(t,e,r,n){t._onComplete(e,r,n),this.onCompleteItem(t,e,r,n);let i=this.getReadyItems()[0];this.isUploading=!1,i?i.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())}_headersGetter(t){return e=>e?t[e.toLowerCase()]||void 0:t}_xhrTransport(t){let e=t._xhr=new XMLHttpRequest,r=new FormData;if(this._onBeforeUploadItem(t),"number"!=typeof t._file.size)throw new TypeError("The file specified is no longer valid");if(this._onBuildItemForm(t,r),r.append(t.alias,t._file,t.file.name||t._file.some.name),e.upload.onprogress=i=>{let a=Math.round(i.lengthComputable?100*i.loaded/i.total:0);this._onProgressItem(t,a)},e.onload=()=>{let i=this._parseHeaders(e.getAllResponseHeaders()),a=this._transformResponse(e.response,i);this["_on"+(this._isSuccessCode(e.status)?"Success":"Error")+"Item"](t,a,e.status,i),this._onCompleteItem(t,a,e.status,i)},e.onerror=()=>{alert("Upload error");let i=this._parseHeaders(e.getAllResponseHeaders()),a=this._transformResponse(e.response,i);this._onErrorItem(t,a,e.status,i),this._onCompleteItem(t,a,e.status,i)},e.onabort=()=>{alert("Upload canceled");let i=this._parseHeaders(e.getAllResponseHeaders()),a=this._transformResponse(e.response,i);this._onCancelItem(t,a,e.status,i),this._onCompleteItem(t,a,e.status,i)},e.open(t.method,t.url,!0),e.withCredentials=t.withCredentials,this.options.headers)for(let i of this.options.headers)e.setRequestHeader(i.name,i.value);this.authToken&&e.setRequestHeader("Authorization",this.authToken),e.send(r),this._render()}_getTotalProgress(t=0){if(this.options.removeAfterUpload)return t;let e=this.getNotUploadedItems().length,n=100/this.queue.length;return Math.round((e?this.queue.length-e:this.queue.length)*n+t*n/100)}_getFilters(t){if(!t)return this.options.filters;if(Array.isArray(t))return t;if("string"==typeof t){let e=t.match(/[^\s,]+/g);return this.options.filters.filter(r=>-1!==e.indexOf(r.name))}return this.options.filters}_render(){}_queueLimitFilter(){return void 0===this.options.queueLimit||this.queue.length(this._failFilterIndex++,n.fn.call(this,t,r)))}_isSuccessCode(t){return t>=200&&t<300||304===t}_transformResponse(t,e){return t}_parseHeaders(t){let r,n,i,e={};return t&&t.split("\n").map(a=>{i=a.indexOf(":"),r=a.slice(0,i).trim().toLowerCase(),n=a.slice(i+1).trim(),r&&(e[r]=e[r]?e[r]+", "+n:n)}),e}_onWhenAddingFileFailed(t,e,r){this.onWhenAddingFileFailed(t,e,r)}_onAfterAddingFile(t){this.onAfterAddingFile(t)}_onAfterAddingAll(t){this.onAfterAddingAll(t)}_onBeforeUploadItem(t){t._onBeforeUpload(),this.onBeforeUploadItem(t)}_onBuildItemForm(t,e){t._onBuildForm(e),this.onBuildItemForm(t,e)}_onProgressItem(t,e){let r=this._getTotalProgress(e);this.progress=r,t._onProgress(e),this.onProgressItem(t,e),this.onProgressAll(r),this._render()}_onSuccessItem(t,e,r,n){t._onSuccess(e,r,n),this.onSuccessItem(t,e,r,n)}_onCancelItem(t,e,r,n){t._onCancel(e,r,n),this.onCancelItem(t,e,r,n)}}let W1=(()=>{class o{constructor(e){this.nuviotClient=e}getFormHelpResources(e){var r=this;return E(function*(){return yield r.nuviotClient.request(`/api/formhelpresource/form/${e}`,!0,!1)})()}getAllFormHelpResource(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/formhelpresources")})()}createFormHelpResult(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/formhelpresource/${e}/factory`)})()}loadFormHelpResource(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/formhelpresource/${e}`)})()}insertFormHelpResource(e){return this.nuviotClient.insert("/api/formhelpresource",e)}updateFormHelpResource(e){return this.nuviotClient.insert("/api/formhelpresource",e)}getShortenedLinkAsync(e){var r=this;return E(function*(){return yield r.nuviotClient.postWithResponse("/api/formhelpresource/shortenlink",{url:e})})()}saveFormHelpResource(e){var r=this;return E(function*(){return e.isEditing?yield r.updateFormHelpResource(e.model):yield r.insertFormHelpResource(e.model)})()}getFrequentlyAskedQuestions(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/faqs")})()}getFrequentlyAskedQuestionsForOrg(e){var r=this;return E(function*(){return yield r.nuviotClient.getListResponse(`/api/${e}/faqs`)})()}getFrequentlyAskedQuestion(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/faq/${e}`)})()}getFrequentlyAskedQuestionForKey(e,r){var n=this;return E(function*(){return yield n.nuviotClient.request(`/api/${e}/faq/${r}`)})()}createFrequentlyAskedQuestion(){var e=this;return E(function*(){return yield e.nuviotClient.getFormResponse("/api/faq/factory")})()}insertFrequentlyAskedQuestion(e){return this.nuviotClient.insert("/api/faq",e)}updateFrequentlyAskedQuestion(e){return this.nuviotClient.update("/api/faq",e)}deleteFrequentlyAskedQuestion(e){return this.nuviotClient.delete(`/api/faq/${e}`)}saveFrequentlyAskedQuestion(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateFrequentlyAskedQuestion(e.model);var n=yield r.insertFrequentlyAskedQuestion(e.model);return e.isEditing=!0,n})()}getTagGroup(e){return this.nuviotClient.request(e)}deleteDdr(e){var r=this;return E(function*(){return r.nuviotClient.delete(`/api/ddr/${e}`)})()}getDdr(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/ddr/${e}`)})()}getDdrs(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/ddrs")})()}getContentDownloads(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/content/downloads")})()}getContentDownloadsForOrg(e){var r=this;return E(function*(){return yield r.nuviotClient.getListResponse(`/api/${e}/contentdownloads`)})()}getContentDownload(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/content/download/${e}`)})()}createContentDownload(){var e=this;return E(function*(){return yield e.nuviotClient.getFormResponse("/api/content/download/factory")})()}createContentDownloadRevision(){var e=this;return E(function*(){return yield e.nuviotClient.getFormResponse("/api/content/download/revision/factory")})()}insertContentDownload(e){return this.nuviotClient.insert("/api/content/download",e)}updateContentDownload(e){return this.nuviotClient.update("/api/content/download",e)}deleteContentDownload(e){return this.nuviotClient.delete(`/api/content/download/${e}`)}saveContentDownload(e){var r=this;return E(function*(){if(e.isEditing)return yield r.updateContentDownload(e.model);var n=yield r.insertContentDownload(e.model);return e.isEditing=!0,n})()}getReferenceEntry(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/referenceentry/${e}`)})()}getReferenceEntries(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/referenceentries")})()}insertReferenceEntry(e){return this.nuviotClient.insert("/api/referenceentry",e)}updateReferenceEntry(e){return this.nuviotClient.update("/api/referenceentry",e)}deleteReferenceEntry(e){return this.nuviotClient.delete(`/api/referenceentry/${e}`)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),MB=(()=>{class o{constructor(e){this.nuviotClient=e,this._guide$=new pt,this._guideStep$=new pt,this._guideSummaries$=new pt}quickCreateGuide(e){return this.nuviotClient.post("/api/guide/quickcreate",e)}rebuildGuideTree(e){return this.nuviotClient.request(`/api/guide/${e}/createtree`)}getGuideCategories(){return this.nuviotClient.request("/api/guides/categories")}getGuideSubCategories(){return this.nuviotClient.request("/api/guides/subcategories")}getGuidesForNuvIoTObject(e){return this.nuviotClient.getListResponse(`/api/guides/nuviot/${e}`)}resetCFU(e){return this.nuviotClient.request(`/api/guides/completion/${e}/reset`)}submitQuizCompletion(e,r,n){return this.nuviotClient.post(`/api/guide/${e}/cfu/complete`,{passingPercent:r,passed:n})}getCompletionStatus(e){return this.nuviotClient.request(`/api/guides/completion/${e}`)}getGuideCompletionStatusForCurrentUser(){return this.nuviotClient.request("/api/guides/completion/all")}getCFUAnswers(e){return this.nuviotClient.request(`/api/guide/cfu/${e}`)}setAnswer(e,r,n){return this.nuviotClient.request(`/api/guide/cfu/${e}/${r}/${n}`)}loadGuides(){return this.nuviotClient.request("/api/guides/all")}loadGuideSummaries(){return this.nuviotClient.request("/api/guides/summaries")}addChildGuide(e){return this.nuviotClient.post("/api/guide/child",e)}rateGuide(e,r){return this.nuviotClient.request(`/api/guide/${e}/rate/${r}`)}clearGuideRating(e){return this.nuviotClient.delete(`/api/guide/${e}/rating`)}addComment(e,r){return this.nuviotClient.postWithResponse(`/api/guide/${e}/comment`,{content:r})}addReply(e,r,n){return this.nuviotClient.postWithResponse(`/api/guide/${e}/comment/${r}/reply`,{content:n})}loadPublicGuidesByCategory(e){return this.nuviotClient.request(`/api/guides/active/${e}`)}loadGuidesByCategory(e,r=!1){return this.nuviotClient.request(`/api/guides/${e}?toplevel=${r}`)}loadGuide(e){return this.nuviotClient.request(`/api/guide/${e}`)}loadLongFormGuide(e){return this.nuviotClient.request(`/api/guide/${e}/longform`)}deleteGuide(e){return this.nuviotClient.delete(`/api/guide/${e}`)}createNewGuide(){return this.nuviotClient.request("/api/guide/factory")}createGuideStep(){return this.nuviotClient.request("/api/guidestep/factory")}loadGuidStep(e,r){return this.nuviotClient.request(`/api/guide/${e}/step/${r}`)}createExampleApplication(e){return this.nuviotClient.request(`/api/examples/create/${e}`)}updateGuide(e,r=!0){return this.nuviotClient.update("/api/guide",e,r)}insertGuide(e){return this.nuviotClient.post("/api/guide",e)}setGuide(e){this._currentGuide=e,this._guide$.next(e)}setGuideStep(e){this._currentGuideStep=e,this._guideStep$.next(e)}setGuides(e){this._guideSummaries$.next(e)}getCurrentGuide(){return this._currentGuide}getCurrentGuideStep(){return this._currentGuideStep}onGuide(){return this._guide$.asObservable()}onGuideStep(){return this._guideStep$.asObservable()}onGuides(){return this._guideSummaries$.asObservable()}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function Ipe(o,t){if(1&o){const e=j();d(0,"span",7),T("click",function(){return F(e),S(m().edit())}),P(1,"i",8),v(2,"Edit"),u()}}function Ape(o,t){1&o&&P(0,"app-help-resource-viewer",9),2&o&&g("help",m().help)}function Ope(o,t){1&o&&(d(0,"div"),v(1," Sorry - No Help is available for this item. "),u())}function Rpe(o,t){if(1&o){const e=j();d(0,"li"),v(1),d(2,"span",7),T("click",function(){const i=F(e).$implicit;return S(m(3).addGuide(i))}),v(3,"Add Guide"),u()()}if(2&o){const e=t.$implicit;p(1),ce(" ",e.name," ")}}function Lpe(o,t){if(1&o&&(d(0,"ol"),b(1,Rpe,4,1,"li",11),u()),2&o){const e=m(2);p(1),g("ngForOf",e.potentialGuides)}}function Bpe(o,t){if(1&o){const e=j();d(0,"div")(1,"app-form",10),T("saved",function(){return F(e),S(m().saved())})("cancel",function(){return F(e),S(m().helpForm=void 0)}),u(),d(2,"label"),v(3),u(),b(4,Lpe,2,1,"ol",6),u()}if(2&o){const e=m();p(1),g("inPlaceEditing",!0)("autoSave",!0)("form",e.helpForm),p(2),ce("Guides associated with ",e.modelName,""),p(1),g("ngIf",e.potentialGuides)}}let kB=(()=>{class o{constructor(e,r,n,i){this.contentManagementService=e,this.guideService=r,this.userService=n,this.activeModal=i,this.isForApp=!1,this.ready=!1}ngOnInit(){var e=this;return E(function*(){if(console.log("on init"),!e.help){e.canEdit=(yield e.userService.isPrimaryOrg())||0==He.production||e.isForApp;let r=yield e.contentManagementService.getFormHelpResources(e.modelName);r.successful&&(e.help=r.result),e.ready=!0}})()}edit(){var e=this;return E(function*(){e.helpForm=e.help?yield e.contentManagementService.loadFormHelpResource(e.help.id):yield e.contentManagementService.createFormHelpResult(e.modelName),e.objectGuides=(yield e.guideService.getGuidesForNuvIoTObject(e.modelName.toLocaleLowerCase())).model,e.potentialGuides=[];for(let r of e.objectGuides)e.helpForm.model.helpResources.find(n=>n.guide?.id==r.id)||e.potentialGuides.push(r);console.log(e.objectGuides)})()}setForm(e){this.helpForm=e}addGuide(e){this.helpForm.model.helpResources.push({id:Dt.newGuid(),name:e.name,key:e.key,visible:!1,icon:e.icon,creationDate:(new Date).toISOString(),guide:{id:e.id,key:e.key,text:e.name},resourceType:{id:"guide",key:"guide",text:"Guide"}}),this.potentialGuides.splice(this.potentialGuides.indexOf(e),1),console.log(this.helpForm)}saved(){var e=this;return E(function*(){e.help=e.helpForm.model,e.helpForm=void 0})()}}return o.\u0275fac=function(e){return new(e||o)(O(W1),O(MB),O(uo),O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-page-help-resources"]],inputs:{help:"help",modelName:"modelName",isForApp:"isForApp"},decls:8,vars:4,consts:[[1,"panel-actions",2,"margin-top","10px"],["class","action",3,"click",4,"ngIf"],[2,"cursor","pointer","font-size","24px",3,"click"],[1,"fa-solid","fa-times-circle"],[2,"margin","30px"],[3,"help",4,"ngIf"],[4,"ngIf"],[1,"action",3,"click"],["aria-hidden","true",1,"fa","fa-solid","fa-pencil"],[3,"help"],[3,"inPlaceEditing","autoSave","form","saved","cancel"],[4,"ngFor","ngForOf"]],template:function(e,r){1&e&&(d(0,"div",0),b(1,Ipe,3,0,"span",1),d(2,"span",2),T("click",function(){return r.activeModal.dismiss()}),P(3,"i",3),u()(),d(4,"div",4),b(5,Ape,1,1,"app-help-resource-viewer",5),b(6,Ope,2,0,"div",6),b(7,Bpe,5,5,"div",6),u()),2&e&&(p(1),g("ngIf",!r.helpForm&&r.canEdit),p(4),g("ngIf",r.help&&!r.helpForm),p(1),g("ngIf",!r.help&&!r.helpForm&&r.ready),p(1),g("ngIf",r.helpForm))},styles:["h1[_ngcontent-%COMP%]{color:var(--color-primary-80)}ol[_ngcontent-%COMP%]{list-style:none}"]}),o})(),WM=(()=>{class o{constructor(e){this.nuviotClient=e}createModelSetting(){return this.nuviotClient.getFormResponse("/api/ml/model/setting/factory")}createPreprocessor(){return this.nuviotClient.getFormResponse("/api/ml/model/preprocessor/factory")}createPreprocessorSetting(){return this.nuviotClient.getFormResponse("/api/ml/model/preprocessor/setting/factory")}createExperiment(){return this.nuviotClient.getFormResponse("/api/ml/model/experiment/factory")}createModelNote(){return this.nuviotClient.getFormResponse("/api/ml/model/note/factory")}createModelRevision(){return this.nuviotClient.getFormResponse("/api/ml/model/revision/factory")}createModel(){return this.nuviotClient.getFormResponse("/api/ml/model/factory")}getModel(e){return this.nuviotClient.getFormResponse(`/api/ml/model/${e}`)}addModel(e){return this.nuviotClient.post("/api/ml/model",e)}updateModel(e){return this.nuviotClient.update("/api/ml/model",e)}getModels(){return this.nuviotClient.getListResponse("/api/ml/models")}deleteModel(e){return this.nuviotClient.delete(`/api/ml/model/${e}`)}getModelCategories(){return this.nuviotClient.getListResponse("/api/ml/modelcategories")}addModelCategory(e){return this.nuviotClient.post("/api/ml/modelcategory",e)}updateModelCategory(e){return this.nuviotClient.update("/api/ml/modelcategory",e)}saveCategory(e){return e.isEditing?this.updateModelCategory(e.model):this.addModelCategory(e.model)}generateImage(e){return this.nuviotClient.postWithResponse("/api/ai/image/generate",e,!1)}textQuery(e){return this.nuviotClient.postWithResponse("/api/ai/textquery",e,!1)}createModelCategory(){return this.nuviotClient.getFormResponse("/api/ml/modelcategory/factory")}getModelCategory(e){return this.nuviotClient.getFormResponse(`/api/ml/modelcategory/${e}`)}createModelLabelSet(){return this.nuviotClient.getFormResponse("/api/ml/labelset/factory")}getModelLabelSet(e){return this.nuviotClient.getFormResponse(`/api/ml/labelset/${e}`)}getModelLabelSets(){return this.nuviotClient.getListResponse("/api/ml/labelsets")}addModelLabelSet(e){return this.nuviotClient.post("/api/ml/labelset",e)}updateModelLabelSet(e){return this.nuviotClient.update("/api/ml/labelset",e)}saveModelLabelSet(e){return e.isEditing?this.updateModelLabelSet(e.model):this.addModelLabelSet(e.model)}addAgentMode(){return this.nuviotClient.getFormResponse("/api/ai/agentcontext/mode/factory")}editAgentMode(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/ai/agentcontext/mode/factory");return n.isEditing=!0,n.model=e,n})()}addRole(){return this.nuviotClient.getFormResponse("/api/ai/agentcontext/role/factory")}editRole(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/ai/agentcontext/role/factory");return n.isEditing=!0,n.model=e,n})()}createAgentContext(){return this.nuviotClient.getFormResponse("/api/ai/agentcontext/factory")}getAgentContext(e){return this.nuviotClient.getFormResponse(`/api/ai/agentcontext/${e}`)}getAgentContexts(){return this.nuviotClient.getListResponse("/api/ai/agentcontexts")}addAgentContext(e){return this.nuviotClient.post("/api/ai/agentcontext",e)}updateAgentContext(e){return this.nuviotClient.update("/api/ai/agentcontext",e)}saveAgentContext(e){return e.isEditing?this.updateAgentContext(e.model):this.addAgentContext(e.model)}createAgentToolBox(){return this.nuviotClient.getFormResponse("/api/ai/toolbox/factory")}getAgentToolBox(e){return this.nuviotClient.getFormResponse(`/api/ai/toolbox/${e}`)}getAgentToolBoxes(){return this.nuviotClient.getListResponse("/api/ai/toolboxes")}addAgentToolBox(e){return this.nuviotClient.post("/api/ai/toolbox",e)}updateAgentToolBox(e){return this.nuviotClient.update("/api/ai/toolbox",e)}saveAgentToolBox(e){return e.isEditing?this.updateAgentToolBox(e.model):this.addAgentToolBox(e.model)}getAgentTools(){return this.nuviotClient.getListResponse("/api/ai/agenttools")}executeAgentRequest(e,r,n){return e.streamMode=1,this.nuviotClient.postWithStreamNdjson("/api/ai/agent/execute",e,r,!0,n)}executeAgent(e){return this.nuviotClient.postWithResponse("/api/ai/agent/execute",e,!1)}llmQuery(e){return this.nuviotClient.request(`/api/ai/llm/query?question=${encodeURIComponent(e)}`)}getAgentSessions(){return this.nuviotClient.getListResponse("/api/ai/agent/sessions")}getAgentSession(e){return this.nuviotClient.request(`/api/ai/agent/session/${e}`)}deleteSession(e){return this.nuviotClient.delete(`/api/ai/agent/session/${e}`)}rollbackSession(e,r){return this.nuviotClient.request(`/api/ai/agent/session/${e}/rollback/${r}`)}renameSession(e,r){return this.nuviotClient.request(`/api/ai/agent/session/${e}/rename?name=${encodeURIComponent(r)}`)}createAgentPersona(){return this.nuviotClient.getFormResponse("/api/ai/agentpersona/factory")}getAgentPersona(e){return this.nuviotClient.getFormResponse(`/api/ai/agentpersona/${e}`)}getAgentPersonas(){return this.nuviotClient.getListResponse("/api/ai/agentpersonas")}addAgentPersona(e){return this.nuviotClient.post("/api/ai/agentpersona",e)}updateAgentPersona(e){return this.nuviotClient.update("/api/ai/agentpersona",e)}saveAgentPersona(e){return e.isEditing?this.updateAgentPersona(e.model):this.addAgentPersona(e.model)}setCurrentSession(e,r){return this.nuviotClient.request(`/api/ai/agent/session/${e}/chapter/restore/${r}`)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function Hpe(o,t){}const G1=()=>{const o=typeof window<"u"?window:void 0;return o&&o.tinymce?o.tinymce:null};let Vpe=(()=>{class o{constructor(){this.onBeforePaste=new ee,this.onBlur=new ee,this.onClick=new ee,this.onContextMenu=new ee,this.onCopy=new ee,this.onCut=new ee,this.onDblclick=new ee,this.onDrag=new ee,this.onDragDrop=new ee,this.onDragEnd=new ee,this.onDragGesture=new ee,this.onDragOver=new ee,this.onDrop=new ee,this.onFocus=new ee,this.onFocusIn=new ee,this.onFocusOut=new ee,this.onKeyDown=new ee,this.onKeyPress=new ee,this.onKeyUp=new ee,this.onMouseDown=new ee,this.onMouseEnter=new ee,this.onMouseLeave=new ee,this.onMouseMove=new ee,this.onMouseOut=new ee,this.onMouseOver=new ee,this.onMouseUp=new ee,this.onPaste=new ee,this.onSelectionChange=new ee,this.onActivate=new ee,this.onAddUndo=new ee,this.onBeforeAddUndo=new ee,this.onBeforeExecCommand=new ee,this.onBeforeGetContent=new ee,this.onBeforeRenderUI=new ee,this.onBeforeSetContent=new ee,this.onChange=new ee,this.onClearUndos=new ee,this.onDeactivate=new ee,this.onDirty=new ee,this.onExecCommand=new ee,this.onGetContent=new ee,this.onHide=new ee,this.onInit=new ee,this.onInitNgModel=new ee,this.onLoadContent=new ee,this.onNodeChange=new ee,this.onPostProcess=new ee,this.onPostRender=new ee,this.onPreInit=new ee,this.onPreProcess=new ee,this.onProgressState=new ee,this.onRedo=new ee,this.onRemove=new ee,this.onReset=new ee,this.onResizeEditor=new ee,this.onSaveContent=new ee,this.onSetAttrib=new ee,this.onObjectResizeStart=new ee,this.onObjectResized=new ee,this.onObjectSelected=new ee,this.onSetContent=new ee,this.onShow=new ee,this.onSubmit=new ee,this.onUndo=new ee,this.onVisualAid=new ee}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=Se({type:o,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),o})();const EB=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],q1=(o,t,e)=>So(o,t).pipe(fr(e)),TB=(o,t)=>"string"==typeof o?o.split(",").map(e=>e.trim()):Array.isArray(o)?o:t;let FB=0;const SB=o=>typeof o<"u"&&"textarea"===o.tagName.toLowerCase(),PB=o=>typeof o>"u"||""===o?[]:Array.isArray(o)?o:o.split(" "),jpe=(o,t)=>PB(o).concat(PB(t)),Upe=()=>{},IB=o=>null==o,Wpe=(()=>{let o={script$:null};return{load:(r,n)=>o.script$||(o.script$=wm(()=>{const i=r.createElement("script");return i.referrerPolicy="origin",i.type="application/javascript",i.src=n,r.head.appendChild(i),So(i,"load").pipe(mr(1),Sx(void 0))}).pipe(function Npe(o,t,e){let r,n=!1;return o&&"object"==typeof o?({bufferSize:r=1/0,windowTime:t=1/0,refCount:n=!1,scheduler:e}=o):r=o??1/0,tg({connector:()=>new pt(r,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:n})}({bufferSize:1,refCount:!0}))),reinitialize:()=>{o={script$:null}}}})(),Gpe=new me("TINYMCE_SCRIPT_SRC"),qpe={provide:yi,useExisting:Gt(()=>fu),multi:!0};let fu=(()=>{class o extends Vpe{constructor(e,r,n,i){super(),this.platformId=n,this.tinymceScriptSrc=i,this.cloudChannel="6",this.apiKey="no-api-key",this.id="",this.modelEvents="change input undo redo",this.onTouchedCallback=Upe,this.destroy$=new Ae,this.initialise=()=>{const a={...this.init,selector:void 0,target:this._element,inline:this.inline,readonly:this.disabled,plugins:jpe(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:s=>{this._editor=s,q1(s,"init",this.destroy$).subscribe(()=>{this.initEditor(s)}),((o,t,e)=>{(o=>{const t=TB(o.ignoreEvents,[]);return TB(o.allowedEvents,EB).filter(r=>EB.includes(r)&&!t.includes(r))})(o).forEach(n=>{const i=o[n];q1(t,n.substring(2),e).subscribe(a=>{i.observers.length>0&&o.ngZone.run(()=>i.emit({event:a,editor:t}))})})})(this,s,this.destroy$),this.init&&"function"==typeof this.init.setup&&this.init.setup(s)}};SB(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{G1().init(a)})},this._elementRef=e,this.ngZone=r}set disabled(e){this._disabled=e,this._editor&&this._editor.initialized&&("function"==typeof this._editor.mode?.set?this._editor.mode.set(e?"readonly":"design"):this._editor.setMode(e?"readonly":"design"))}get disabled(){return this._disabled}get editor(){return this._editor}writeValue(e){this._editor&&this._editor.initialized?this._editor.setContent(IB(e)?"":e):this.initialValue=null===e?void 0:e}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouchedCallback=e}setDisabledState(e){this.disabled=e}ngAfterViewInit(){Qv(this.platformId)&&(this.id=this.id||(o=>{const e=(new Date).getTime(),r=Math.floor(1e9*Math.random());return FB++,"tiny-angular_"+r+FB+String(e)})(),this.inline=void 0!==this.inline?!1!==this.inline:!!this.init?.inline,this.createElement(),null!==G1()?this.initialise():this._element&&this._element.ownerDocument&&Wpe.load(this._element.ownerDocument,this.getScriptSrc()).pipe(fr(this.destroy$)).subscribe(this.initialise))}ngOnDestroy(){this.destroy$.next(),null!==G1()&&G1().remove(this._editor)}createElement(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,SB(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}getScriptSrc(){return IB(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(e){q1(e,"blur",this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.onTouchedCallback())}),q1(e,this.modelEvents,this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.emitOnChange(e))}),"string"==typeof this.initialValue&&this.ngZone.run(()=>{e.setContent(this.initialValue),e.getContent()!==this.initialValue&&this.emitOnChange(e),void 0!==this.onInitNgModel&&this.onInitNgModel.emit(e)})}emitOnChange(e){this.onChangeCallback&&this.onChangeCallback(e.getContent({format:this.outputFormat}))}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(ct),O(Id),O(Gpe,8))},o.\u0275cmp=ne({type:o,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",init:"init",id:"id",initialValue:"initialValue",outputFormat:"outputFormat",inline:"inline",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",modelEvents:"modelEvents",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents",disabled:"disabled"},standalone:!0,features:[qt([qpe]),Te,JC],decls:1,vars:0,template:function(e,r){1&e&&b(0,Hpe,0,0,"ng-template")},dependencies:[Nr,Ts],styles:["[_nghost-%COMP%]{display:block}"]}),o})(),OB=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[fu]}),o})(),GM=(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-loading-spinner"]],inputs:{caption:"caption"},decls:5,vars:1,consts:[[2,"font-size","larger","width","100%","margin-top","100px","height","100%","min-height","400px","padding","2em","text-align","center","vertical-align","middle"],[1,"fa-duotone","fa-loader","fa-spin-pulse","fa-2xl"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"p"),P(2,"i",1),u(),d(3,"p"),v(4),u()()),2&e&&(p(4),ae(r.caption))}}),o})();function Kpe(o,t){if(1&o){const e=j();d(0,"div")(1,"editor",13),T("ngModelChange",function(n){return F(e),S(m(2).discussion.note=n)}),u(),d(2,"div",14)(3,"span",15),T("click",function(){return F(e),S(m(2).saveNewDiscussion())}),P(4,"i",16),v(5," Save New Discussion"),u()()()}if(2&o){const e=m(2);p(1),g("init",e.getEditorOptions())("ngModel",e.discussion.note)}}function Zpe(o,t){if(1&o){const e=j();d(0,"span",15),T("click",function(){F(e);const n=m().$implicit;return S(m(2).editDiscussion(n))}),P(1,"i",23),u()}}function Xpe(o,t){if(1&o){const e=j();d(0,"span",15),T("click",function(){F(e);const n=m(2).$implicit;return S(m(2).addResponse(n))}),P(1,"i",24),v(2," Add Response"),u()}}function Jpe(o,t){if(1&o){const e=j();d(0,"span",15),T("click",function(){F(e);const n=m(2).$implicit;return S(m(2).openDiscussion(n))}),P(1,"i",25),v(2," Re-Open"),u()}}function Qpe(o,t){if(1&o){const e=j();d(0,"span",15),T("click",function(){F(e);const n=m(2).$implicit;return S(m(2).closeDiscussion(n))}),P(1,"i",26),v(2," Mark as Resolved"),u()}}function ehe(o,t){if(1&o&&(d(0,"div"),b(1,Xpe,3,0,"span",21),b(2,Jpe,3,0,"span",21),b(3,Qpe,3,0,"span",21),u()),2&o){const e=m().$implicit;p(1),g("ngIf",e.open),p(1),g("ngIf",!e.open),p(1),g("ngIf",e.open)}}function the(o,t){1&o&&P(0,"div",27),2&o&&g("innerHTML",m().$implicit.note,yn)}function rhe(o,t){if(1&o){const e=j();d(0,"div")(1,"editor",13),T("ngModelChange",function(n){return F(e),S(m(3).editingDiscussion.note=n)}),u(),d(2,"div",14)(3,"span",15),T("click",function(){return F(e),S(m(3).saveDiscussion())}),P(4,"i",16),v(5,"Save Discussion"),u()()()}if(2&o){const e=m(3);p(1),g("init",e.getEditorOptions())("ngModel",e.editingDiscussion.note)}}function ohe(o,t){if(1&o){const e=j();d(0,"div")(1,"editor",13),T("ngModelChange",function(n){return F(e),S(m(4).response.note=n)}),u(),d(2,"div",14)(3,"span",15),T("click",function(){return F(e),S(m(4).saveResponse())}),P(4,"i",16),v(5," Save Response"),u(),d(6,"span",15),T("click",function(){return F(e),S(m(4).askTerminator())}),P(7,"i",29),v(8,"Consult T-802"),u()()()}if(2&o){const e=m(4);p(1),g("init",e.getEditorOptions())("ngModel",e.response.note)}}function nhe(o,t){if(1&o&&(d(0,"li",30)(1,"span",19),P(2,"i",31),v(3),u(),v(4),xr(5,"dateTimePrinter"),P(6,"div",27),u()),2&o){const e=t.$implicit;p(3),ce(" ",e.user.text,":"),p(1),ce(" (",Dr(5,3,e.timestamp),") "),p(2),g("innerHTML",e.note,yn)}}function ihe(o,t){if(1&o&&(d(0,"ol"),b(1,ohe,9,2,"div",7),b(2,nhe,7,5,"li",28),u()),2&o){const e=m().$implicit,r=m(2);p(1),g("ngIf",r.response&&r.responseDiscussion==e),p(1),g("ngForOf",e.responses)}}const ahe=function(o,t){return{"discussion-section-closed":o,"discussion-section-open":t}};function she(o,t){if(1&o&&(d(0,"li",17)(1,"div",18)(2,"div",3)(3,"span",19),P(4,"i",20),v(5),u(),v(6),xr(7,"dateTimePrinter"),b(8,Zpe,2,0,"span",21),u(),b(9,ehe,4,3,"div",7),u(),b(10,the,1,1,"div",22),b(11,rhe,6,2,"div",7),b(12,ihe,3,2,"ol",7),u()),2&o){const e=t.$implicit,r=m(2);g("ngClass",Br(10,ahe,!e.open,e.open)),p(5),ce(" ",e.user.text,""),p(1),ce(" (",Dr(7,8,e.timestamp),") "),p(2),g("ngIf",e.open&&!r.editingDiscussion),p(1),g("ngIf",!r.editingDiscussion),p(1),g("ngIf",!r.editingDiscussion),p(1),g("ngIf",r.editingDiscussion==e),p(1),g("ngIf",!r.editingDiscussion||e!=r.editingDiscussion)}}function lhe(o,t){1&o&&P(0,"div",32)}function che(o,t){if(1&o&&(d(0,"div",33)(1,"h4"),v(2,"Please Wait..."),u(),d(3,"h4"),v(4,"...I'll Be Back"),u(),P(5,"app-loading-spinner",34),u()),2&o){const e=m(2);p(5),g("caption",e.terminatorQuote)}}function dhe(o,t){if(1&o){const e=j();d(0,"div",1)(1,"h4",2)(2,"div",3),P(3,"i",4),v(4),u(),d(5,"i",5),T("click",function(){return F(e),S(m().addDiscussion())}),u()(),d(6,"p",6),v(7),u(),b(8,Kpe,6,2,"div",7),P(9,"hr"),d(10,"div",8)(11,"ol",9),b(12,she,13,13,"li",10),u()(),b(13,lhe,1,0,"div",11),b(14,che,6,1,"div",12),u()}if(2&o){const e=m();p(4),ce(" Discussions - ",e.form.modelTitle,""),p(3),ae(e.form.view.name.value),p(1),g("ngIf",e.discussion),p(4),g("ngForOf",e.form.model.discussions),p(1),g("ngIf",e.busy),p(1),g("ngIf",e.busy)}}let uhe=(()=>{class o{constructor(e,r,n,i){this.route=e,this.mlService=r,this.usersService=n,this.pmService=i,this.isAdding=!1,this.busy=!1,this.terminatorQuote="I Am Human. Just Enhanced"}ngOnInit(){var e=this;return E(function*(){e.discussion=0===e.form.model.discussions.length?yield e.pmService.createDiscussion():void 0})()}getEditorOptions(){var r,e=this;return{plugins:"lists link image table code help wordcount fullscreen autoresize charmap emoticons media mergetags mentions",toolbar:"fullscreen undo redo | blocks | bold italic underline strikethrough | link image media table mergetags | align lineheight | tinycomments | checklist numlist bullist indent outdent | emoticons charmap | removeforma | mentions",mergetags_suffix:"]",mergetags_prefix:"[",min_height:250,menubar:"file edit view inert format tools table help custom",statusbar:!1,menu:{custom:{title:"Insert NuvIoT Objects",items:"sharedContent faqItem glossaryItem landingPageItem downloadableContentItem siteContentItem"}},setup:r=>{},branding:!1,content_style:".mymention { color: #13589D; font-weight: bold; }",mentions_item_type:"profile",mentions_item_fields:["name","avatar","title"],mentions_selector:".mymention",mentions_fetch:(r=E(function*(n,i){const a=yield e.usersService.getCachedUserSummary();console.log(a),i(a.filter(l=>l.name.toLowerCase().includes(n.term.toLowerCase())))}),function(i,a){return r.apply(this,arguments)}),mentions_menu_complete:(r,n)=>{const i=r.getDoc().createElement("span");return i.className="mymention",i.setAttribute("data-mention-id",n.id),i.appendChild(r.getDoc().createTextNode("@"+n.name)),i},mentions_select:function(){var r=E(function*(n,i){var a=n.getAttribute("data-mention-id");let l=(yield e.usersService.getCachedUserSummary()).find(h=>h.id===a);i(e.getMentionCardHtml(l))});return function(i,a){return r.apply(this,arguments)}}(),mentions_menu_hover:function(){var r=E(function*(n,i){let s=(yield e.usersService.getCachedUserSummary()).find(c=>c.id===n.id);i(e.getMentionCardHtml(s))});return function(i,a){return r.apply(this,arguments)}}()}}getMentionCardHtml(e){var r=document.createElement("div");return r.innerHTML='

'+e.name+"

"+e.description+"

",r}addDiscussion(){var e=this;return E(function*(){e.discussion=yield e.pmService.createDiscussion()})()}askTerminator(){var e=this;return E(function*(){let r={query:e.response.note,role:"user",conversationId:void 0};e.busy=!0;let n=yield e.mlService.textQuery(r);e.busy=!1,n.successful&&(e.response.note+=n.result.response)})()}saveNewDiscussion(){var e=this;return E(function*(){e.discussion.note&&(e.form.model.discussions.unshift(e.discussion),e.discussion=void 0,yield e.form.formHost.saveForm(!1))})()}saveDiscussion(){var e=this;return E(function*(){yield e.form.formHost.saveForm(!1),e.editingDiscussion=void 0})()}editDiscussion(e){var r=this;return E(function*(){r.editingDiscussion=e})()}addResponse(e){var r=this;return E(function*(){r.response=yield r.pmService.createDiscussionResponse(),r.responseDiscussion=e})()}saveResponse(){var e=this;return E(function*(){e.response&&e.response.note&&(e.responseDiscussion.responses.unshift(e.response),e.response=void 0,yield e.form.formHost.saveForm(!1))})()}openDiscussion(e){var r=this;return E(function*(){e.open=!0,yield r.form.formHost.saveForm(!1)})()}closeDiscussion(e){var r=this;return E(function*(){e.open=!1,yield r.form.formHost.saveForm(!1)})()}}return o.\u0275fac=function(e){return new(e||o)(O(_o),O(WM),O(uo),O(jM))},o.\u0275cmp=ne({type:o,selectors:[["app-discussions-modal"]],decls:1,vars:1,consts:[["style","padding:15px;",4,"ngIf"],[2,"padding","15px"],[2,"display","flex","color","var(--color-primary)"],[2,"flex-grow","1"],[1,"fa-solid","fa-comments"],[1,"fa","fa-plus","action",3,"click"],[2,"color","var(--color-fg)"],[4,"ngIf"],[2,"max-height","800px","overflow-y","auto"],[2,"margin","20px"],[3,"ngClass",4,"ngFor","ngForOf"],["style","width: 100%; height: 100%;opacity: 0.5; background-color: black;position: absolute;top:0",4,"ngIf"],["style","color:white; text-align: center;padding-top: 200px; position: absolute;top:0; width: 100%",4,"ngIf"],["apiKey","kjvrmckj7e2u9yuxwg3akvfp3rkybse6455b25ja0liuef9o",3,"init","ngModel","ngModelChange"],[2,"text-align","right","margin-top","5px"],[1,"action",3,"click"],[1,"fa","fa-save"],[3,"ngClass"],[2,"display","flex"],[2,"font-weight","bold","color","var(--color-primary)"],[1,"fa-solid","fa-user"],["class","action",3,"click",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"fa","fa-pencil"],[1,"fa","fa-plus-circle"],[1,"fa-solid","fa-folder-closed"],[1,"fa-solid","fa-folder-open"],[3,"innerHTML"],["style","margin-left: 20px;",4,"ngFor","ngForOf"],[1,"fa","fas","fa-user-robot"],[2,"margin-left","20px"],[1,"fa","fa-user"],[2,"width","100%","height","100%","opacity","0.5","background-color","black","position","absolute","top","0"],[2,"color","white","text-align","center","padding-top","200px","position","absolute","top","0","width","100%"],[3,"caption"]],template:function(e,r){1&e&&b(0,dhe,15,6,"div",0),2&e&&g("ngIf",r.form)},dependencies:[Fo,gt,ve,mt,It,fu,GM,tf],styles:["ol[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}.discussion-section[_ngcontent-%COMP%], .discussion-section-open[_ngcontent-%COMP%], .discussion-section-closed[_ngcontent-%COMP%]{padding:10px;border:1px solid var(--color-border-panel);border-radius:8px;margin-bottom:10px;background-color:var(--color-bg-panel);color:var(--color-fg);color--webkit-box-shadow:0 4px 8px 0 rgba(128,128,128,.2),0 6px 20px 0 rgba(128,128,128,.19);color--webkit-box-shadow-box-shadow:0 4px 8px 0 rgba(128,128,128,.2),0 6px 20px 0 rgba(128,128,128,.19)}.discussion-section-closed[_ngcontent-%COMP%]{opacity:.5}"]}),o})(),RB=(()=>{class o{constructor(e){this.nuviotClient=e}isValidID(e){if(!e)return!1;const r=e.match("^[\\dABCDEF]{32}$");return r&&1===r.length}invokeSuccess(){return{successful:!0,errors:[],warnings:[]}}invokeError(e){return{successful:!1,errors:[{message:e}],warnings:[]}}createSchedule(){return this.nuviotClient.getFormResponse("/api/core/schedule/factory")}getEntityGraph(e){return this.nuviotClient.request(`/api/entity/${e}/graph`)}setEntityPublic(e){return this.nuviotClient.request(`/api/entity/${e}/public/set`)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function phe(o,t){if(1&o&&(d(0,"span",20),P(1,"i",21),v(2),u()),2&o){const e=m(3);ut("pill--public",e.root.isPublic)("pill--private",!e.root.isPublic),p(1),ut("fa-lock-open",e.root.isPublic)("fa-lock",!e.root.isPublic),p(1),ce(" ",e.root.isPublic?"Public":"Private"," ")}}function hhe(o,t){if(1&o){const e=j();d(0,"div",10)(1,"div",11)(2,"div",12)(3,"div",13)(4,"h4"),v(5),u(),d(6,"span",14),v(7),u(),b(8,phe,3,9,"span",15),u(),d(9,"div",16)(10,"button",17),T("click",function(){F(e);const n=m(2);return S(n.makePublic(n.root))}),P(11,"i",18),d(12,"span"),v(13,"Make Public"),u()()()(),d(14,"div",19),v(15," To make this entity public, all the items that it depends on must also be made public. "),u()()()}if(2&o){const e=m(2);p(5),ae(e.root.text),p(2),ae(e.root.entityType),p(1),g("ngIf",void 0!==(null==e.root?null:e.root.isPublic)),p(2),g("disabled",e.isMakingPublic||!0===(null==e.root?null:e.root.isPublic))}}function ghe(o,t){1&o&&qg(0)}const mhe=function(o){return{node:o,depth:0}};function fhe(o,t){if(1&o&&(sc(0),b(1,ghe,1,0,"ng-container",22),lc()),2&o){const e=t.$implicit;m(2);const r=Un(2);p(1),g("ngTemplateOutlet",r)("ngTemplateOutletContext",St(2,mhe,e))}}function _he(o,t){if(1&o&&(d(0,"div",2)(1,"div",3),P(2,"i",4),d(3,"span"),v(4,"Dependency Graph"),u()(),b(5,hhe,16,4,"div",5),d(6,"div",6)(7,"div",7)(8,"div",8),b(9,fhe,2,4,"ng-container",9),u()()()()),2&o){const e=m();p(5),g("ngIf",null==e.root?null:e.root.text),p(4),g("ngForOf",e.root.children)("ngForTrackBy",e.trackById)}}function vhe(o,t){if(1&o&&(d(0,"span"),v(1),u()),2&o){const e=m().node;p(1),ce("",e.hostEntityName,"/")}}function yhe(o,t){if(1&o&&(d(0,"span"),v(1),u()),2&o){const e=m(2).node;p(1),ce("",e.hostEntityType,"/")}}function bhe(o,t){if(1&o&&(d(0,"span",31),b(1,yhe,2,1,"span",28),v(2),u()),2&o){const e=m().node;p(1),g("ngIf",e.hostEntityType),p(1),ce("",e.entityType," ")}}function Che(o,t){1&o&&qg(0)}const whe=function(o,t){return{node:o,depth:t}};function xhe(o,t){if(1&o&&(sc(0),b(1,Che,1,0,"ng-container",22),lc()),2&o){const e=t.$implicit,r=m(2).depth;m();const n=Un(2);p(1),g("ngTemplateOutlet",n)("ngTemplateOutletContext",Br(2,whe,e,r+1))}}function Dhe(o,t){if(1&o&&(d(0,"div",32),b(1,xhe,2,5,"ng-container",9),u()),2&o){const e=m().node,r=m();p(1),g("ngForOf",e.children)("ngForTrackBy",r.trackById)}}function Mhe(o,t){if(1&o){const e=j();d(0,"div",23)(1,"button",24),T("click",function(){const i=F(e).node;return S(m().toggle(i))}),P(2,"i",21),u(),d(3,"div",25)(4,"div",26)(5,"span",27),b(6,vhe,2,1,"span",28),v(7),u(),b(8,bhe,3,2,"span",29),d(9,"span",20),P(10,"i",21),v(11),u(),d(12,"button",17),T("click",function(){const i=F(e).node;return S(m().makePublic(i))}),P(13,"i",18),d(14,"span"),v(15,"Make Public"),u()()()()(),b(16,Dhe,2,2,"div",30)}if(2&o){const e=t.node,r=t.depth,n=m();Tt("padding-left",18*r,"px"),p(1),g("disabled",!n.hasChildren(e)),p(1),ut("fa-chevron-right",!n.isExpanded(e))("fa-chevron-down",n.isExpanded(e)),p(4),g("ngIf",e.hostEntityName),p(1),ce("",e.text," "),p(1),g("ngIf",e.entityType),p(1),ut("pill--public",e.isPublic)("pill--private",!e.isPublic),p(1),ut("fa-lock-open",e.isPublic)("fa-lock",!e.isPublic),p(1),ce(" ",e.isPublic?"Public":"Private"," "),p(1),g("disabled",n.isMakingPublic||!0===(null==e?null:e.isPublic)),p(4),g("ngIf",n.hasChildren(e)&&n.isExpanded(e))}}let khe=(()=>{class o{constructor(e){this.coreServices=e,this.isMakingPublic=!1,this.expanded={},this.trackById=(r,n)=>n?.id??r}ngOnInit(){var e=this;return E(function*(){let r=yield e.coreServices.getEntityGraph(e.id);r.successful&&(e.root=r.result)})()}makePublic(e){var r=this;return E(function*(){if(!e)return;r.isMakingPublic=!0;let n=yield r.coreServices.setEntityPublic(e.id);r.isMakingPublic=!1,n.successful?e.isPublic=!0:alert("Failed to set entity public: "+n.errors.map(i=>i.message).join(", "))})()}toggle(e){!e?.id||(this.expanded[e.id]=!this.isExpanded(e))}isExpanded(e){return!(!e?.id||!this.expanded[e.id])}hasChildren(e){return!!e?.children?.length}}return o.\u0275fac=function(e){return new(e||o)(O(RB))},o.\u0275cmp=ne({type:o,selectors:[["app-set-public-modal"]],decls:3,vars:1,consts:[["style","margin: 10px;",4,"ngIf"],["nodeTemplate",""],[2,"margin","10px"],[1,"entity-graph__hostTitle"],[1,"fa-solid","fa-diagram-project"],["class","entity-graph__host",4,"ngIf"],[1,"entity-graph-container"],["data-testid","entity-graph",1,"entity-graph","stack"],[1,"tree"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"entity-graph__host"],[1,"entity-graph__hostMeta"],[2,"display","flex","width","100%"],[2,"flex-grow","1"],[1,"pill","pill--neutral",2,"margin-right","5px"],["class","pill",3,"pill--public","pill--private",4,"ngIf"],[1,"entity-graph__actions"],["type","button",1,"entity-graph__btn","entity-graph__btn--primary",3,"disabled","click"],[1,"fa-solid","fa-lock-open"],[2,"margin","20px"],[1,"pill"],[1,"fa-solid"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"tree__row"],["type","button",1,"tree__toggle",3,"disabled","click"],[1,"tree__card"],[1,"tree__title"],[1,"tree__name"],[4,"ngIf"],["class","pill pill--neutral",4,"ngIf"],["class","tree__children",4,"ngIf"],[1,"pill","pill--neutral"],[1,"tree__children"]],template:function(e,r){1&e&&(b(0,_he,10,3,"div",0),b(1,Mhe,17,21,"ng-template",null,1,Sn)),2&e&&g("ngIf",r.root)},dependencies:[gt,ve,Rd],styles:[".entity-graph[_ngcontent-%COMP%]{gap:12px}.entity-graph__host[_ngcontent-%COMP%], .entity-graph_help[_ngcontent-%COMP%]{padding:12px;border:1px solid rgba(0,0,0,.12);border-radius:12px}.entity-graph__hostTitle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-weight:600}.entity-graph__hostMeta[_ngcontent-%COMP%]{margin-top:8px;display:flex;flex-wrap:wrap;gap:8px}.tree[_ngcontent-%COMP%]{display:grid;gap:8px}.tree__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;padding-left:calc(var(--depth) * 18px)}.tree__toggle[_ngcontent-%COMP%]{width:28px;height:28px;border-radius:8px;border:1px solid rgba(0,0,0,.12);background:transparent;display:grid;place-items:center;cursor:pointer;&:disabled{opacity:.35;cursor:default}}.tree__card[_ngcontent-%COMP%]{padding:10px 12px;border:1px solid rgba(0,0,0,.12);border-radius:12px}.tree__title[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.tree__name[_ngcontent-%COMP%]{font-weight:600}.tree__sub[_ngcontent-%COMP%]{margin-top:6px;font-size:12px}.tree__children[_ngcontent-%COMP%]{margin-top:8px;display:grid;gap:8px}.pill[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:999px;border:1px solid rgba(0,0,0,.12);font-size:12px;line-height:18px;white-space:nowrap}.pill--muted[_ngcontent-%COMP%]{opacity:.75}.pill--neutral[_ngcontent-%COMP%]{background:rgba(0,0,0,.04)}.pill--public[_ngcontent-%COMP%]{background:rgba(0,128,0,.08)}.pill--private[_ngcontent-%COMP%]{background:rgba(128,0,0,.08)}.pill--ok[_ngcontent-%COMP%]{background:rgba(0,128,0,.1)}.pill--warn[_ngcontent-%COMP%]{background:rgba(255,165,0,.14)}.mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.muted[_ngcontent-%COMP%]{opacity:.7}.entity-graph-container[_ngcontent-%COMP%]{width:80%;max-width:80%;margin-left:auto;margin-right:auto;max-height:60vh;overflow-y:auto;overflow-x:hidden;padding:12px}.entity-graph-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px}.entity-graph-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);border-radius:6px}.entity-graph-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.35)}.entity-graph__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.entity-graph__btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;border:1px solid rgba(0,0,0,.14);background:rgba(0,0,0,.02);cursor:pointer;font-weight:600;&:hover:not(:disabled){background:rgba(0,0,0,.04)}&:disabled{opacity:.5;cursor:default}}.entity-graph__btn--primary[_ngcontent-%COMP%]{border-color:#0000002e;background:rgba(0,128,0,.1);&:hover:not(:disabled){background:rgba(0,128,0,.14)}}.entity-graph__hint[_ngcontent-%COMP%]{margin-top:10px;display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;border:1px solid rgba(0,0,0,.12);background:rgba(0,0,0,.02);font-size:13px;opacity:.85}"]}),o})(),K1=(()=>{class o{constructor(){this._topMenuOptions={saveVisible:!1,advancedVisible:!1,cancelVisible:!1,backVisible:!1,homeVisible:!1,filterVisible:!1,addVisible:!1},this._menuItems=[],this._menuOptionsUpdated$=new Ae,this._headerOptionClick$=new Ae,this._dummy$=new Ae,this._menuOptionsVisibilityChanged=new Ae,this.onMenuItemsChanged=new ee,this.onMenuVisibilityChanged=new ee,this.onHeaderClick=new ee,this.onTitleChanged=new ee,this.title=void 0}addOption(e){this._menuItems=e,this.onMenuItemsChanged.emit(this._menuItems)}headerClick(e){console.log("headerClick",e),this.onHeaderClick.emit(e)}getMenuOptions(){return this._topMenuOptions}setTitle(e){this.title=e,this.onTitleChanged.emit(e)}get saveVisible(){return this._topMenuOptions.saveVisible}set saveVisible(e){this._topMenuOptions.saveVisible=e;let r=JSON.parse(JSON.stringify(this._topMenuOptions));r.saveVisible=e,this.onMenuVisibilityChanged.emit(r),this._topMenuOptions=r}get advancedVisible(){return this._topMenuOptions.advancedVisible}set advancedVisible(e){if(e!=this._topMenuOptions.advancedVisible){let r=JSON.parse(JSON.stringify(this._topMenuOptions));r.advancedVisible=e,this.onMenuVisibilityChanged.next(r),this._topMenuOptions=r}}get cancelVisible(){return this._topMenuOptions.cancelVisible}set cancelVisible(e){if(e!=this._topMenuOptions.cancelVisible){let r=JSON.parse(JSON.stringify(this._topMenuOptions));r.cancelVisible=e,this.onMenuVisibilityChanged.next(r),this._topMenuOptions=r}}get backVisible(){return this._topMenuOptions.backVisible}set backVisible(e){if(this._topMenuOptions.backVisible=e,e!=this._topMenuOptions.backVisible){let r=JSON.parse(JSON.stringify(this._topMenuOptions));r.backVisible=e,this.onMenuVisibilityChanged.next(r),this._topMenuOptions=r}}get homeVisible(){return this._topMenuOptions.homeVisible}set homeVisible(e){if(e!=this._topMenuOptions.homeVisible){this._topMenuOptions.homeVisible=e;let r=JSON.parse(JSON.stringify(this._topMenuOptions));r.backVisible=e,this.onMenuVisibilityChanged.next(r),this._topMenuOptions=r}}get filterVisible(){return this._topMenuOptions.filterVisible}set filterVisible(e){if(this._topMenuOptions.filterVisible=e,e!=this._topMenuOptions.filterVisible){let r=JSON.parse(JSON.stringify(this._topMenuOptions));r.filterVisible=e,this.onMenuVisibilityChanged.next(r),this._topMenuOptions=r}}get addVisible(){return this._topMenuOptions.addVisible}set addVisible(e){if(this._topMenuOptions.addVisible=e,e!=this._topMenuOptions.addVisible){let r=JSON.parse(JSON.stringify(this._topMenuOptions));r.addVisible=e,this.onMenuVisibilityChanged.next(r),this._topMenuOptions=r}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Z1=(()=>{class o{constructor(e,r,n,i){this.storage=e,this.clientService=r,this.userService=n,this.ua=i,this._favoritesChanged$=new pt}onFavoritesChanged(){return this._favoritesChanged$.asObservable()}getUserFavorites(){var e=this;return E(function*(){var r=yield e.userService.getUserFavorites();return e._favoritesChanged$.next(r),r})()}addUserFavorites(e){var r=this;return E(function*(){let n=yield r.clientService.postWithResponse("/api/user/favorite",e,!1);if(n.successful){let i=yield r.userService.getCurrentOrg();yield r.storage.setItemAsync(`user_favorites_${i.id}`,JSON.stringify(n.result)),r._favoritesChanged$.next(n.result)}return n.result})()}removeUserFavorite(e){var r=this;return E(function*(){let n=yield r.clientService.deleteWithResponse(`/api/user/favorite/${e}`,!1),i=yield r.userService.getCurrentOrg();return yield r.storage.setItemAsync(`user_favorites_${i.id}`,JSON.stringify(n.result)),r._favoritesChanged$.next(n.result),n.result})()}getFavoriteForUrl(e){var r=this;return E(function*(){return(yield r.userService.getUserFavorites()).favorites.find(i=>i.link==e)})()}}return o.\u0275fac=function(e){return new(e||o)(Z(Hi),Z(Ft),Z(uo),Z(uo))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),X1=(()=>{class o{constructor(e,r,n,i){this.storage=e,this.clientService=r,this.userService=n,this.ua=i,this._mruTasks$=new pt,this._mruChanged$=new pt}getRecentTasks(){var e=this;return E(function*(){if(e._recentTasks)return e._recentTasks;let r=yield e.ua.getCurrentOrg(),n=yield e.storage.getItemAsync(`mru_tasks-org-${r.id}`);return e._recentTasks=n?JSON.parse(n):[],e._recentTasks})()}addMurTask(e){var r=this;return E(function*(){let n=yield r.getRecentTasks(),i=n.find(c=>c.workTask.id==e.id);i&&n.splice(n.indexOf(i),1),n.unshift({project:{id:e.project.id,text:e.project.text},workTask:{id:e.id,text:e.name},taskCode:e.taskCode,externalTaskLink:e.externalTaskLink}),n.length>10&&n.splice(10,1),r._recentTasks=n,r._mruTasks$.next(n);let a=yield r.ua.getCurrentOrg();r.storage.setItemAsync(`mru_tasks-org-${a.id}`,JSON.stringify(n));let s=window.location.pathname,l=s.substring(1).split("/");r.addMRU({name:e.name,type:"Task",moduleKey:He.moduleRouteHome,icon:e.icon,summary:e.icon,route:l,link:s})})()}onMruChanged(){return this._mruChanged$.asObservable()}onMruTasksChanged(){return this._mruTasks$.asObservable()}getMruDevices(){var e=this;return E(function*(){let r=yield e.ua.getCurrentOrg();return JSON.parse(yield e.storage.getItemAsync(`mru-devices-org-${r.id}`,"[]"))})()}getMruDeviceRepos(){var e=this;return E(function*(){let r=yield e.ua.getCurrentOrg();return JSON.parse(yield e.storage.getItemAsync(`mru-device-repos-org-${r.id}`,"[]"))})()}addRepoToMru(e){var r=this;return E(function*(){let n={repositoryType:e.repositoryType.text,isPublic:e.isPublic,id:e.id,name:e.name,description:e.description,icon:e.icon,key:e.key},i=yield r.getMruDeviceRepos(),a=i.find(l=>l.id==n.id);a&&i.splice(i.indexOf(a),1),i.unshift(n);let s=yield r.ua.getCurrentOrg();yield r.storage.setItemAsync(`mru-device-repos-org-${s.id}`,JSON.stringify(i))})()}addDeviceToMru(e){var r=this;return E(function*(){let n={id:e.id,deviceName:e.name,deviceId:e.deviceId,deviceType:e.deviceType.text,deviceTypeId:e.deviceType.id,balances:e.balances,deviceConfiguration:e.deviceConfiguration.text,deviceConfigurationId:e.deviceConfiguration.id,customStatus:e.customStatus,deviceRepo:e.deviceRepository.text,deviceRepoId:e.deviceRepository.id,icon:e.icon,geoLocation:e.geoLocation,internalSummary:e.internalSummary,lastContact:e.lastContact,status:e.status.text,selected:!1,testingMode:e.testingMode,debugMode:e.debugMode},i=yield r.getMruDevices(),a=i.find(l=>l.id==n.id);a&&i.splice(i.indexOf(a),1),i.unshift(n);let s=yield r.ua.getCurrentOrg();yield r.storage.setItemAsync(`mru-devices-org-${s.id}`,JSON.stringify(i))})()}get(e,r){var n=this;return E(function*(){let i=yield n.ua.getCurrentOrg();return yield n.storage.getItemAsync(`mru-setting-${e}-org-${i.id}`,r)})()}set(e,r){var n=this;return E(function*(){let i=yield n.ua.getCurrentOrg();yield n.storage.setItemAsync(`mru-setting-${e}-org-${i.id}`,r)})()}getMRU(){var e=this;return E(function*(){var r=yield e.userService.getMRU();return e._mruChanged$.next(r),r})()}addMRU(e){var r=this;return E(function*(){let n=yield r.clientService.postWithResponse("/api/mru/item",e,!1),i=yield r.userService.getCurrentOrg();return yield r.storage.setItemAsync(`user_mru_${i.id}`,JSON.stringify(n.result)),r._mruChanged$.next(n.result),n.result})()}clearMru(){var e=this;return E(function*(){let r=yield e.clientService.deleteWithResponse("/api/mru"),n=yield e.userService.getCurrentOrg();return yield e.storage.setItemAsync(`user_mru_${n.id}`,JSON.stringify(r.result)),e._mruChanged$.next(r.result),r.result})()}}return o.\u0275fac=function(e){return new(e||o)(Z(Hi),Z(Ft),Z(uo),Z(uo))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),qM=(()=>{class o{constructor(){}isPhone(){var e=navigator.userAgent;return/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS/i.test(e)}isTablet(){var e=navigator.userAgent;return/iPad/i.test(e)}isDesktop(){return!this.isPhone()&&!this.isTablet()}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),LB=(()=>{class o{constructor(e,r,n,i,a,s,l,c,h){this.nuviotClient=e,this.route=r,this.router=n,this.menuService=i,this.favoriteService=a,this.mruService=s,this.errorReporterService=l,this.modalService=c,this.appServices=h,this.hasBaseDropZoneOver=!1,this.debug=!1,this.hasAdvancedFields=!1,this.formIcon="icon-ae-document",this.phoneView=!1,this.allowKeyEdit=!1,this.hideToolBar=!1,this.canExport=!1,this.inPlaceEditing=!1,this.toggleEditorVisibility=!1,this.editorVisible=!0,this.canImport=!1,this.allowSaveWithOutClose=!0,this.autoSave=!1,this.isChildForm=!1,this.advancedFieldsVisible=!1,this._originalFormFields=void 0,this._originalFormFieldsCol2=void 0,this.readOnlyNameAndKey=!0,this.count=0,this.isImporting=!1,this._nameKeyFields=[],this.showSimpleView=!1,this.isDirtyChanged=new ee,this.imported=new ee,this.save=new ee,this.export=new ee,this.saved=new ee,this.modelUpdated=new ee,this.cancel=new ee,this.formAction=new ee}ngOnDestroy(){this.model&&this.fields&&this.viewToModel(this.model,this.fields),this.model&&this.fieldsCol2&&this.viewToModel(this.model,this.fieldsCol2),this._onHeaderClickSubscription.unsubscribe(),window.setTimeout(()=>{this.menuService.saveVisible=!1,this.menuService.cancelVisible=!1,this.menuService.advancedVisible=!1,this.menuService.backVisible=!0},100),this.autoSaveTimerId&&(window.clearInterval(this.autoSaveTimerId),this.autoSaveTimerId=void 0)}ngOnInit(){this.phoneView=this.appServices.isPhone(),this.importObjectName&&(this.uploader=new DB({url:`${He.siteUri}/api/dataservices/yaml/${this.importObjectName}/import`}),this.uploader.onAfterAddingFile=r=>{this.fileNameOrStatus=`Uploading: ${r.some.name}`,this.uploader.uploadItem(r)},this.uploader.onCompleteItem=(r,n,i,a)=>{this.model=JSON.parse(n).result,this.modelToView(this.model,this.fields),this.modelToView(this.model,this._nameKeyFields),this.imported.emit(this.model),this.fileNameOrStatus=`Success uploading: ${r.some.name}`,this.isImporting=!1}),this._onHeaderClickSubscription=this.menuService.onHeaderClick.subscribe(e=>{switch(e){case"cancel":case"back":this.cancelForm();break;case"save":this.saveForm();break;case"advanced":this.toggleAdvancedFields()}})}set headerExtension(e){e&&(this._headerExtension=e)}get headerExtension(){return this._headerExtension}set model(e){this._model=e,e.labels&&(this.labeledModel=e),this.modelToView(this.model,this._nameKeyFields),this._model&&this._fields&&this.modelToView(this.model,this.fields),this._model&&this._fields2&&this.modelToView(this.model,this._fields2),this._model&&this.fieldsBottom&&this.modelToView(this.model,this.fieldsBottom)}get model(){return this._model}set isEditing(e){this._isEditing=e,this.setReadOnlyKey()}get isEditing(){return this._isEditing}setForm(){var e=this;return E(function*(){const r=Object.keys(e.form.view),n=Object.values(e.form.view).filter(c=>c.parentRowName);e.additionalActions=e.form.formAdditionalActions,e._formConditionals=e.form.conditionalFields,e.fields=e.form.formFields.map(c=>{let h=n.filter(_=>_.parentRowName==c);if(h.length>0)return{name:c,childFields:h,label:"",fieldType:"ComponentRow",isUserEditable:!0,isVisible:!0,isEnabled:!0,isReferenceField:!1,isFileUploadImage:!1};if(!r.some(_=>_.toLowerCase()===c.toLocaleLowerCase())&&!n.some(_=>_.parentRowName==c))throw new Error(`Field ${c} does not exist on the view. And is not a parent row: ${n.some(_=>_.parentRowName==c)}`);return e.form.view[Dt.toCamelCase(c)]}),e.fieldsCol2=e.form.formFieldsCol2?e.form.formFieldsCol2.map(c=>{if(r.some(h=>h.toLowerCase()===c.toLocaleLowerCase()))return e.form.view[Dt.toCamelCase(c)]}):void 0,e.form.formFieldsBottom&&(e.fieldsBottom=e.form.formFieldsBottom.map(c=>{if(r.some(h=>h.toLowerCase()===c.toLocaleLowerCase()))return e.form.view[Dt.toCamelCase(c)]})),e.form.formFieldsTab&&(e.fieldsBottom=e.form.formFieldsTab.map(c=>{if(r.some(h=>h.toLowerCase()===c.toLocaleLowerCase()))return e.form.view[Dt.toCamelCase(c)]})),e.form.formFieldsSimple&&(e.fieldsSimple=e.form.formFieldsSimple.map(c=>{let h=n.filter(_=>_.parentRowName==c);if(h.length>0){let _={name:c,childFields:h,label:"",fieldType:"ComponentRow",isUserEditable:!0,isVisible:!0,isEnabled:!0,isReferenceField:!1,isFileUploadImage:!1};return console.log(_),_}return r.some(_=>_.toLowerCase()===c.toLocaleLowerCase())?e.form.view[Dt.toCamelCase(c)]:void 0}));for(let c of e.fields)c.internalValueChanged=h=>e.fieldChanged(h);if(e.fieldsCol2)for(let c of e.fieldsCol2)c.internalValueChanged=h=>e.fieldChanged(h);let i=window.location.pathname,a=i.substring(1).split("/");e.form.isEditing&&e.mruService.addMRU({name:e.title,type:e.form.modelTitle,moduleKey:He.moduleRouteHome,icon:e.form.model.icon??e.form.icon??"icon-ae-document",summary:e.form.modelHelp,route:a,link:i});let l=yield e.favoriteService.getUserFavorites();e.favorite=l.favorites.find(c=>c.link==e.router.url)})()}viewReady(){}get discussionCount(){return this.form.model.discussions.length}autoSaveHandler(){this.isDirtyCheck()&&this.internalSaveForm(!1,!0)}set form(e){var r=this;if(e&&e.model!=this.model){this.autoSaveTimerId&&window.clearInterval(this.autoSaveTimerId),e.autoSave&&(e.isEditing||e.saveDraft)&&(this.autoSaveTimerId=window.setInterval(E(function*(){yield r.autoSaveHandler()}),this.debug?5e3:e.autoSaveIntervalSections?1e3*e.autoSaveIntervalSections:6e4)),this._form=e,this._form.formHost=this;let i=this.form.model;if(this.form.isEditing){var n=i.name??i.title;this.title=n?`${e.modelTitle} - ${n}`:e.modelTitle}else this.title=`${e.modelTitle} - New`;if(i.icon?this.formIcon=i.icon:e.icon&&(this.formIcon=e.icon),this.help=e.modelHelp,this.isEditing=e.isEditing,this._saveUrl=e.saveUrl,this._updateUrl=e.updateUrl,!i.isDraft&&e.isEditing&&this.appServices.isDesktop()&&this.readOnlyNameAndKey){let a=this.form.formFields.findIndex(s=>"key"===s);-1!=a&&(this.readOnlyNameAndKey&&this.form.formFields.splice(a,1),this._nameKeyFields.push(this.form.view.key)),a=this.form.formFields.findIndex(s=>"name"===s),-1!=a&&(this.form.formFields.splice(a,1),this._nameKeyFields.push(this.form.view.name)),this.form.formFieldsSimple&&(a=this.form.formFieldsSimple?.findIndex(s=>"name"===s),-1!=a&&this.form.formFieldsSimple.splice(a,1),a=this.form.formFieldsSimple?.findIndex(s=>"key"===s),-1!=a&&this.form.formFieldsSimple.splice(a,1))}this.hasAdvancedFields=null!=e.formFieldsAdvanced&&e.formFieldsAdvanced.length>0,window.setTimeout(()=>{this.menuService.advancedVisible=this.hasAdvancedFields,this.menuService.saveVisible=!0,this.menuService.cancelVisible=!0,this.menuService.backVisible=!1},100),this.view=e.view,this.model=e.model,this.setForm(),!e.isEditing&&e.autoSave&&(this.model.isDraft=!0),this.modelToView(e.model,this._nameKeyFields),this.viewReady()}}get form(){return this._form}set fields(e){this._fields=e,this.setReadOnlyKey(),this._model&&this._fields&&this.modelToView(this.model,this.fields)}get fields(){return this._fields}set fieldsSimple(e){this._fieldsSimple=e,this.setReadOnlyKey(),this._model&&this._fieldsSimple&&this.modelToView(this.model,this.fieldsSimple)}get fieldsSimple(){return this._fieldsSimple}set fieldsCol2(e){this._fields2=e,this.setReadOnlyKey(),this._model&&this._fields2&&this.modelToView(this.model,this.fieldsCol2)}get fieldsCol2(){return this._fields2}set fieldsBottom(e){this._fieldsBottom=e,this.setReadOnlyKey(),this._model&&this._fieldsBottom&&this.modelToView(this.model,this._fieldsBottom)}get fieldsBottom(){return this._fieldsBottom}setReadOnlyKey(){if(this._fields&&!this.model?.isDraft){let e=this._fields.find(r=>"key"==r.name);e?e.isUserEditable=!this._isEditing||this.allowKeyEdit:this._fields2&&(e=this._fields2.find(r=>"key"==r.name),e&&(e.isUserEditable=!this._isEditing||this.allowKeyEdit))}}getConditional(e){let r,n=e.value;return n||(n=this.model[e.name]),r=this._formConditionals.conditionals.find(i=>i.field==e.name&&((!i.value||"-1"==i.value)&&i.notSet||(i.value==e.value?.toString()||"*"==i.value&&e.value&&"-1"!=e.value)&&!i.notEquals&&!i.notSet||(i.value!==e.value?.toString()&&"-1"!=e.value||"*"==i.value&&!e.value)&&i.notEquals&&!i.notSet)&&(i.forCreate&&!this.isEditing||i.forUpdate&&this.isEditing)),r||(r=this._formConditionals.conditionals.find(i=>!i.field&&(i.forUpdate&&this.isEditing||i.forCreate&&!this.isEditing))),r||this._formConditionals.conditionals.find(i=>i.value==this.model[i.field]),this.debug&&(r?console.log(`hit-conditional-eval: ${r.field} - trigger: ${r.value}, field:${e.name} value: ${e.value}`,r,e):console.log(`miss-conditional-eval: ${e.name} - ${n}`),r&&console.log(r)),r}initialFieldVisibility(e){let r=this.fieldsCol2?this.fields.concat(this.fieldsCol2):this.fields;if(r&&(r=r.concat(this._nameKeyFields),this._formConditionals)){for(let n of this._formConditionals.conditionalFields){let i=e.find(a=>a.name==n);i&&(i.isVisible=!1,i.isRequired=!1)}for(let n of r){let i=this.getConditional(n);if(i){for(let a of i.visibleFields){let s=e.find(l=>l.name==a);s&&(s.isVisible=!0)}for(let a of i.requiredFields){let s=e.find(l=>l.name==a);s&&(s.isRequired=!0,s.requiredMessage=`${s.label} is a required field.`)}for(let a of i.readOnlyFields){let s=e.find(l=>l.name==a);s&&(s.isUserEditable=!1)}}}}}handleFieldChanged(e,r){if(!e)return;let n=this.fieldsCol2?this.fields.concat(this.fieldsCol2):this.fields;if(n=n.concat(this._nameKeyFields),this._formConditionals){for(let i of this._formConditionals.conditionalFields){let a=r.find(s=>s.name==i);a&&(a.isVisible=!1,a.isRequired=!1)}for(let i of n){let a=this.getConditional(i);if(a){for(let s of a.visibleFields){let l=r.find(c=>c.name==s);l&&(l.isVisible=!0)}for(let s of a.requiredFields){let l=r.find(c=>c.name==s);l&&(l.isRequired=!0,l.requiredMessage=`${l.label} is a required field.`)}for(let s of a.readOnlyFields){let l=r.find(c=>c.name==s);l&&(l.isUserEditable=!1)}}}}if("name"==e.name){let i=r.find(s=>"key"==s.name);if(i&&!i.value&&e.value){let s=e.value;s=s.replaceAll(/[^a-zA-Z0-9]/g,""),s=s.toLowerCase(),i.value=s,i.propertyChanged&&i.propertyChanged(i)}let a=r.find(s=>"title"==s.name);a&&!a.value&&e.value&&(a.value=e.value,a.propertyChanged&&a.propertyChanged(i))}this.isDirtyCheck()}fieldChanged(e){this.handleFieldChanged(e,this.fields),this.handleFieldChanged(e,this._nameKeyFields),this.fieldsCol2&&this.handleFieldChanged(e,this.fieldsCol2),this.fieldsBottom&&this.handleFieldChanged(e,this.fieldsBottom)}showHelpDialog(){this.modalService.open(kB,{size:"lg"}).componentInstance.modelName=this.form.modelName}showError(e){}fileOverBase(e){this.hasBaseDropZoneOver=e}getLatestModel(){var e=this;return E(function*(){let r={};if(e.validate())return e.viewToModel(r,e.fields),e.viewToModel(r,e._nameKeyFields),e.fieldsCol2&&e.viewToModel(r,e.fieldsCol2),e.fieldsBottom&&e.viewToModel(r,e.fieldsBottom),r;console.log("is not valid.")})()}setPublic(){var e=this;return E(function*(){e.modalService.open(khe,{size:"lg"}).componentInstance.id=e.model.id})()}saveForm(e=!0,r=!1){var n=this;return E(function*(){return yield n.internalSaveForm(e,!1)})()}internalSaveForm(e,r,n=!1){var i=this;return E(function*(){if(i.autoSave){if(i.model.isDraft||i.validate()){let a=i.model.isDraft;r||(i.model.isDraft=!1),i.viewToModel(i.model,i.fields),i.viewToModel(i.model,i._nameKeyFields),i.fieldsCol2&&i.viewToModel(i.model,i.fieldsCol2),i.fieldsBottom&&i.viewToModel(i.model,i.fieldsBottom);let s=null;if(!i.isChildForm)if(i.isEditing&&i._updateUrl)if(s=yield i.nuviotClient.updateWithResponse(i._updateUrl,i.model,!r),!s.successful&&a)i.model.isDraft=!0;else{i.isDirty=!1,i.model.lastUpdatedDate=(new Date).toISOString();for(let l in i.form.view)i.form.view[l].isDirty=!1}else if(!i.isEditing&&i._saveUrl)if(s=yield i.nuviotClient.insert(i._saveUrl,i.model,!r),!s.successful&&a)i.model.isDraft=!0;else{i.isDirty=!1,i.isEditing=!0,i.form.isEditing=!0,i.model.lastUpdatedDate=(new Date).toISOString();for(let l in i.form.view)i.form.view[l].isDirty=!1}else if(e)return i.saved.emit(s),i.isEditing=!0,i.form.isEditing=!0,!0;return!(!i.isChildForm&&null!=s&&!s.successful||(console.log("saved successfully.",s),e?(console.log("saved successfully.",s),i.didSave(),i.saved.emit(s)):i.modelUpdated?.emit(i.model),i.isEditing=!0,i.form.isEditing=!0,0))}return console.log("is not valid."),!1}return i.save.emit(null),!0})()}cancelForm(){var e=this;if(this.isDirtyCheck()){const r=this.modalService.open(kc,{size:"lg"}).componentInstance;r.title="Are you sure?",r.content="Any unsaved changes will be lost.",r.confirmButtonText="Confirm",r.confirmationMessage="Click 'Confirm' to leave without saving.",r.cancelButtonText="Cancel",r.isPermanent=!1,r.confirmationResult.subscribe(function(){var n=E(function*(i){i&&e.cancel.emit(null)});return function(i){return n.apply(this,arguments)}}())}else this.cancel.emit(null)}exportForm(){this.exportObjectName?window.open(`${He.siteUri}/api/dataservices/yaml/${this.exportObjectName}/${this.model.id}/generate`):this.export&&this.export.emit(null)}importForm(){this.import?this.import.emit(null):this.isImporting=!this.isImporting,console.log("Importing",this.isImporting)}showAlert(e,r,n){}throwException(e){throw this.showAlert("Messages.SystemError","Messages.FatalError - "+e.message),e}canClose(){return!this.isDirtyCheck()}validate(){let e=!0;return this.fields.forEach(r=>{if(r.host){let n=r.host;const i=n.validate();this.debug&&console.log(n.showValidationErrors,n.field.label,n.field.value),this.debug&&!i&&console.log(r.name+" is not valid - col1"),e=e&&i}else console.warn("host is null, not validating",r.name)}),null!=this.fieldsCol2&&this.fieldsCol2.forEach(r=>{if(r.host){let n=r.host;const i=r.host.validate();this.debug&&console.log(n.showValidationErrors,n.field.label,n.field.value),this.debug&&!i&&console.log(r.name+" is not valid - col2"),e=e&&i}}),e}getIdParamName(){return"id"}getFields(){return null}getFieldsCol2(){return null}getNewUrl(){return null}getLoadUrl(e){return null}propertyChanged(e){}postLoad(){}didSave(){}didCancel(){}isDirtyCheck(){var e=this.isDirty;return this.isDirty=!1,this._isDirtyCheck(this._fields)&&(this.isDirty=!0),this._fields2&&this._isDirtyCheck(this._fields2)&&(this.isDirty=!0),this._fieldsBottom&&this._isDirtyCheck(this._fieldsBottom)&&(this.isDirty=!0),e!=this.isDirty&&this.isDirtyChanged.emit(this.isDirty),this.isDirty}isPickerFieldEmpty(e){return"-1"===e||null==e||"-1"===e?.id}_isDirtyCheck(e){if(this.model)for(const r of e){const n=this.model[r.name];let i=r.value;if(r.isEnabled&&r.isUserEditable)if("EntityHeaderPicker"===r.fieldType||"CustomerPicker"===r.fieldType||"ContactPicker"===r.fieldType||"ProductPicker"===r.fieldType||"Custom"===r.fieldType&&"componentpicker"==r.customFieldType||"UserPicker"===r.fieldType||"Picker"===r.fieldType)if(n&&i){if(n.id!==i&&n.id!==i.id&&n.key!=i)return this.debug&&console.log("path 1",r.name,n,i),this.isDirty=!0,!0}else{if(this.isPickerFieldEmpty(n)&&!this.isPickerFieldEmpty(i))return this.debug&&console.log("path 2 - value cleared",r.name),this.isDirty=!0,!0;if(!this.isPickerFieldEmpty(n)&&this.isPickerFieldEmpty(i))return this.debug&&console.log("path 3 - new value set",r.name),this.isDirty=!0,!0}else if("ChildList"===r.fieldType||"ChildListInline"===r.fieldType||"ChildListInlinePicker"===r.fieldType||"ChildListSiteContentPicker"===r.fieldType||"MediaResources"===r.fieldType){if(r.isDirty)return this.isDirty=!0,!0}else if("NodeScript"!==r.fieldType){if(n&&!i)return this.debug&&console.log("path 4",r.name),this.isDirty=!0,!0;if(0===n&&"0"===i)continue;if("-1"===i&&(i=null),!n&&0!==n&&i)return this.debug&&console.log("path 5",r.name,n,i),this.isDirty=!0,!0;if(n&&i&&n.toString()!==i.toString()&&n.id!=i)return this.debug&&console.log("path 6",r.name,n,i),this.isDirty=!0,!0}}return!1}modelToView(e,r){if(this._formConditionals)for(let n of this._formConditionals.conditionalFields){let i=r.find(a=>a.name==n);i&&(i.isVisible=!1)}for(const n of r){const i=e[n.name];if("FileUpload"!==n.fieldType&&"MediaResourceUpload"!==n.fieldType)if(typeof i<"u"&&null!==i)if("EntityHeaderPicker"===n.fieldType||"ProductPicker"===n.fieldType||"Custom"===n.fieldType&&"componentpicker"==n.customFieldType||"Custom"===n.fieldType&&"globalentitypicker"==n.customFieldType||"Custom"===n.fieldType&&"diagram"==n.customFieldType||"CustomerPicker"===n.fieldType||"ContactPicker"===n.fieldType||"Point2D"===n.fieldType||"DevicePicker"===n.fieldType||"Point2DSize"===n.fieldType||"Point3D"===n.fieldType||"Point3DSize"===n.fieldType||"UserPicker"===n.fieldType){const a=i;n.value=a,n.display=a.text}else"Picker"===n.fieldType||"Category"===n.fieldType||"EntithHeaderPickerDropDown"===n.fieldType?n.value=i.id:"Integer"===n.fieldType||"Decimal"===n.fieldType?n.value=i.toString():"Date"===n.fieldType||"DateTime"==n.fieldType?i?(n.display=new Date(i),n.value=i):(n.display=null,n.value=null):n.value=i.text?i.text:i;else"NodeScript"===n.fieldType?n.value=i:"Picker"===n.fieldType?n.value="-1":(n.value=null,n.display="");else n.value=i;this.initialFieldVisibility(this.fields),this.fieldsCol2&&this.initialFieldVisibility(this.fieldsCol2),this.fieldsBottom&&this.initialFieldVisibility(this.fieldsBottom),n.childFields&&n.childFields.length>0&&this.modelToView(e,n.childFields)}this.form?.onModelToView&&this.form?.onModelToView()}viewToModel(e,r){for(const n of r){const i=n.name;if(n.isUserEditable&&"NodeScript"!==n.fieldType&&n.isUserEditable&&"ChildList"!==n.fieldType)if("CheckBox"===n.fieldType)e[i]=!!n.value;else if(null!==n.value)if("EntityHeaderPicker"===n.fieldType||"CustomerPicker"===n.fieldType||"ProductPicker"===n.fieldType||"Point2D"===n.fieldType||"Point2DSize"===n.fieldType||"Point3D"===n.fieldType||"Point3DSize"===n.fieldType||"Custom"===n.fieldType&&"diagram"==n.customFieldType||"Custom"===n.fieldType&&"componentpicker"==n.customFieldType||"Custom"===n.fieldType&&"globalentitypicker"==n.customFieldType||"UserPicker"===n.fieldType)e[i]=n.value;else if("Picker"===n.fieldType||"Category"===n.fieldType||"EntithHeaderPickerDropDown"===n.fieldType)if(n.value&&"-1"!==n.value){this.debug&&console.log("picker",i,n.value);const a=n.options.find(s=>s.key===n.value||s.id===n.value);a&&(e[i]=a.id&&a.key?{id:a.id,key:a.key,text:a.label}:{id:a.key,text:a.label})}else e[i]=null;else if("Date"===n.fieldType||"DateTime"===n.fieldType){let a=Dt.toDateOnly(new Date(n.value));this.debug&&console.log(a),e[i]=a}else e[i]="Integer"===n.fieldType?parseInt(n.value):"Decimal"===n.fieldType?parseFloat(n.value):n.value;else"FileUpload"!==n.fieldType&&n.isVisible&&(e[i]=void 0);else"NodeScript"===n.fieldType&&(e[i]=n.value);n.childFields&&n.childFields.length>0&&this.viewToModel(e,n.childFields)}this.form?.onViewToModel&&this.form?.onViewToModel()}setView(){this.modelToView(this.model,this.fields)}updateModel(){return!!this.validate()&&(this.viewToModel(this.model,this.fields),this.fieldsCol2&&this.viewToModel(this.model,this.fieldsCol2),this.fieldsBottom&&this.viewToModel(this.model,this.fieldsBottom),!0)}toggleAdvancedFields(){this.viewToModel(this.model,this.fields),this.fieldsCol2&&this.viewToModel(this.model,this.fieldsCol2),this.fieldsBottom&&this.viewToModel(this.model,this.fieldsBottom),this.form.formFields!==this.form.formFieldsAdvanced?(this._originalFormFields=this.form.formFields,this._originalFormFieldsCol2=this.form.formFieldsCol2,this.form.formFields=this.form.formFieldsAdvanced,this.form.formFieldsCol2=this.form.formFieldsAdvancedCol2,this.advancedFieldsVisible=!0):(this.form.formFields=this._originalFormFields,this.form.formFieldsCol2=this._originalFormFieldsCol2,this.advancedFieldsVisible=!1),this.setForm()}addFavorite(){let r=window.location.pathname.substring(1).split("/");var n=this.form.model.name;this.favorite={id:Dt.newGuid(),name:n,type:this.form.modelTitle,moduleKey:He.moduleRouteHome,icon:this.formIcon,summary:this.form.modelHelp,route:r,link:this.router.url},this.favoriteService.addUserFavorites(this.favorite)}showDiscussions(){this.modalService.open(uhe,{size:"xl"}).componentInstance.form=this.form}clearFavorite(){this.favoriteService.removeUserFavorite(this.favorite.id),this.favorite=void 0}performAction(e){this.formAction?.emit(e.key)}}return o.\u0275fac=function(e){return new(e||o)(O(Ft),O(_o),O(qr),O(K1),O(Z1),O(X1),O(jd),O(Ut),O(qM))},o.\u0275cmp=ne({type:o,selectors:[["ng-component"]],inputs:{headerExtension:"headerExtension",model:"model",isEditing:"isEditing",allowKeyEdit:"allowKeyEdit",title:"title",summary:"summary",help:"help",isBusy:"isBusy",hideToolBar:"hideToolBar",canExport:"canExport",inPlaceEditing:"inPlaceEditing",toggleEditorVisibility:"toggleEditorVisibility",editorVisible:"editorVisible",canImport:"canImport",importObjectName:"importObjectName",exportObjectName:"exportObjectName",allowSaveWithOutClose:"allowSaveWithOutClose",autoSave:"autoSave",isChildForm:"isChildForm",readOnlyNameAndKey:"readOnlyNameAndKey",form:"form",showSimpleView:"showSimpleView",fields:"fields",fieldsSimple:"fieldsSimple",fieldsCol2:"fieldsCol2",fieldsBottom:"fieldsBottom"},outputs:{isDirty:"isDirty",isDirtyChanged:"isDirtyChanged",imported:"imported",save:"save",import:"import",export:"export",saved:"saved",modelUpdated:"modelUpdated",cancel:"cancel",formAction:"formAction"},decls:1,vars:0,template:function(e,r){1&e&&P(0,"div")},encapsulation:2}),o})();const Ehe=["formContent"];function The(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(2).addFavorite())}),P(1,"i",44),u()}}function Fhe(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(2).clearFavorite())}),P(1,"i",45),u()}}function She(o,t){if(1&o&&(d(0,"span",46),v(1),xr(2,"lastAccessPrinter"),u()),2&o){const e=m(2);p(1),ce("* draft ",Dr(2,1,e.model.lastUpdatedDate),"")}}function Phe(o,t){if(1&o&&(d(0,"p"),v(1),u()),2&o){const e=m(2);p(1),ce(" ",e.form.modelHelp," ")}}function Ihe(o,t){if(1&o){const e=j();d(0,"div")(1,"div",15)(2,"h1")(3,"i",16),T("click",function(){return F(e),S(m().cancelForm())}),u(),d(4,"span",17),P(5,"span",18)(6,"span",19)(7,"span",20)(8,"span",21)(9,"span",22)(10,"span",23)(11,"span",24)(12,"span",25)(13,"span",26)(14,"span",27)(15,"span",28)(16,"span",29)(17,"span",30)(18,"span",31)(19,"span",32)(20,"span",33)(21,"span",34)(22,"span",35)(23,"span",36)(24,"span",37)(25,"span",38)(26,"span",39),u(),d(27,"span",40),v(28),u(),b(29,The,2,0,"span",41),b(30,Fhe,2,0,"span",41),b(31,She,3,3,"span",42),u(),b(32,Phe,2,1,"p",1),u()()}if(2&o){const e=m();p(4),g("className",e.formIcon),p(24),ce(" ",e.title," "),p(1),g("ngIf",!e.favorite&&e.isEditing),p(1),g("ngIf",e.favorite&&e.isEditing),p(1),g("ngIf",e.model.isDraft&&e.form.saveDraft),p(1),g("ngIf",(null==e.form?null:e.form.modelHelp)&&!e.inPlaceEditing)}}function Ahe(o,t){1&o&&P(0,"nuvos-entity-labels",47),2&o&&g("model",m().labeledModel)("title","")}function Ohe(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){return F(e),S(m().toggleAdvancedFields())}),P(1,"i",48),d(2,"span"),v(3,"Standard Fields"),u()()}}function Rhe(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){return F(e),S(m().toggleAdvancedFields())}),P(1,"i",48),d(2,"span"),v(3,"Advanced Fields"),u()()}}function Lhe(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){F(e);const n=m().$implicit;return S(m().performAction(n))}),P(1,"i"),d(2,"span"),v(3),u()()}if(2&o){const e=m().$implicit;p(1),xs("fa-solid ",e.icon,""),p(2),ae(e.title)}}function Bhe(o,t){if(1&o&&(sc(0),b(1,Lhe,4,4,"button",7),lc()),2&o){const e=t.$implicit,r=m();p(1),g("ngIf",r.isEditing&&e.forEdit||!r.isEditing&&e.forCreate)}}function Nhe(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){return F(e),S(m().setPublic())}),P(1,"i",49),d(2,"span"),v(3,"Set Public"),u()()}}function Hhe(o,t){if(1&o){const e=j();d(0,"button",50),T("click",function(){return F(e),S(m().saveForm(!0))}),P(1,"i",51),d(2,"span"),v(3,"Save and Close"),u()()}}function Vhe(o,t){1&o&&(d(0,"span",53),v(1,"(*)"),u())}function $he(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){return F(e),S(m().saveForm(!1))}),P(1,"i",51),d(2,"span"),v(3,"Save"),b(4,Vhe,2,0,"span",52),u()()}if(2&o){const e=m();p(4),g("ngIf",e.isDirty)}}function zhe(o,t){1&o&&(d(0,"span",53),v(1,"(*)"),u())}function Yhe(o,t){if(1&o){const e=j();d(0,"button",50),T("click",function(){return F(e),S(m().saveForm(!0))}),P(1,"i",51),d(2,"span"),v(3,"Save"),b(4,zhe,2,0,"span",52),u()()}if(2&o){const e=m();p(4),g("ngIf",e.isDirty)}}function jhe(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){return F(e),S(m().cancelForm())}),P(1,"i",54),d(2,"span"),v(3,"Cancel"),u()()}}function Uhe(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){return F(e),S(m().showDiscussions())}),P(1,"i",55),d(2,"span"),v(3),u()()}if(2&o){const e=m();p(3),ce("Discussions (",e.discussionCount,")")}}function Whe(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){return F(e),S(m().exportForm())}),P(1,"i",56),d(2,"span"),v(3,"Export"),u()()}}function Ghe(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){return F(e),S(m().importForm())}),P(1,"i",57),d(2,"span"),v(3,"Import"),u()()}}function qhe(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){F(e);const n=m();return S(n.editorVisible=!n.editorVisible)}),P(1,"i",58),d(2,"span"),v(3,"Edit"),u()()}}function Khe(o,t){if(1&o){const e=j();d(0,"button",10),T("click",function(){F(e);const n=m();return S(n.editorVisible=!n.editorVisible)}),P(1,"i",59),d(2,"span"),v(3,"Close"),u()()}}function Zhe(o,t){if(1&o&&(d(0,"div",64)(1,"h5",65),v(2),u()()),2&o){const e=m(2);p(2),ae(e.title)}}function Xhe(o,t){if(1&o&&P(0,"app-name",67),2&o){const e=m(3);g("field",e.view.name)("model",e.model)("view",e.view)}}function Jhe(o,t){if(1&o&&P(0,"app-key",67),2&o){const e=m(3);g("field",e.view.key)("model",e.model)("view",e.view)}}function Qhe(o,t){if(1&o&&(d(0,"div",65),b(1,Xhe,1,3,"app-name",66),b(2,Jhe,1,3,"app-key",66),u()),2&o){const e=m(2);p(1),g("ngIf",e.view.name),p(1),g("ngIf",e.view.key&&e.view.key.value)}}function ege(o,t){if(1&o&&(d(0,"div",74),v(1),u()),2&o){const e=m(3);p(1),ae(e.summary)}}const tge=function(o){return{width:o}};function rge(o,t){if(1&o&&(d(0,"div"),v(1),d(2,"div",80),P(3,"div",81),u()()),2&o){const e=m(4);p(1),ce(" ",e.fileNameOrStatus," "),p(2),g("ngStyle",St(2,tge,e.uploader.progress+"%"))}}const oge=function(o){return{"nv-file-over":o}};function nge(o,t){if(1&o){const e=j();d(0,"div",75)(1,"span",76),T("fileOver",function(n){return F(e),S(m(3).fileOverBase(n))}),P(2,"i",77),u(),d(3,"span",78)(4,"span"),v(5,"Select File"),u(),P(6,"input",79),u(),b(7,rge,4,4,"div",1),u()}if(2&o){const e=m(3);p(1),g("ngClass",St(4,oge,e.hasBaseDropZoneOver))("uploader",e.uploader),p(5),g("uploader",e.uploader),p(1),g("ngIf",e.fileNameOrStatus)}}function ige(o,t){if(1&o){const e=j();d(0,"button",87),T("click",function(){return F(e),S(m(5).activeFormColumn="bottom")}),v(1," Details "),u()}2&o&&ut("active","bottom"===m(5).activeFormColumn)}function age(o,t){if(1&o){const e=j();d(0,"div",86)(1,"button",87),T("click",function(){return F(e),S(m(4).activeFormColumn="main")}),v(2," Main "),u(),d(3,"button",87),T("click",function(){return F(e),S(m(4).activeFormColumn="related")}),v(4," Related "),u(),b(5,ige,2,2,"button",88),u()}if(2&o){const e=m(4);p(1),ut("active","main"===e.activeFormColumn),p(2),ut("active","related"===e.activeFormColumn),p(2),g("ngIf",e.hasBottomFields)}}function sge(o,t){if(1&o&&P(0,"app-form-field",94),2&o){const e=t.$implicit,r=m(5);g("field",e)("model",r.model)("view",r.view)("form",r.form)("host",r)}}function lge(o,t){if(1&o&&P(0,"app-form-field",95),2&o){const e=t.$implicit,r=m(5);g("field",e)("model",r.model)("form",r.form)("host",r)("view",r.view)}}function cge(o,t){if(1&o&&P(0,"app-form-field",95),2&o){const e=t.$implicit,r=m(5);g("field",e)("model",r.model)("form",r.form)("host",r)("view",r.view)}}function dge(o,t){if(1&o&&(d(0,"div",89)(1,"div",90),b(2,sge,1,5,"app-form-field",91),Wr(3,1,["style","display:inline"]),u(),d(4,"div",90),b(5,lge,1,5,"app-form-field",92),Wr(6,2,["style","display:inline"]),u(),d(7,"div",93),b(8,cge,1,5,"app-form-field",92),u()()),2&o){const e=m(4);p(2),g("ngForOf",e.fields),p(3),g("ngForOf",e.fieldsCol2),p(3),g("ngForOf",e.fieldsBottom)}}function uge(o,t){if(1&o&&P(0,"app-form-field",94),2&o){const e=t.$implicit,r=m(6);g("field",e)("model",r.model)("view",r.view)("form",r.form)("host",r)}}function pge(o,t){if(1&o&&(d(0,"div"),b(1,uge,1,5,"app-form-field",91),Wr(2,3,["style","display:inline"]),u()),2&o){const e=m(5);p(1),g("ngForOf",e.fields)}}function hge(o,t){if(1&o&&P(0,"app-form-field",95),2&o){const e=t.$implicit,r=m(6);g("field",e)("model",r.model)("form",r.form)("host",r)("view",r.view)}}function gge(o,t){if(1&o&&(d(0,"div"),b(1,hge,1,5,"app-form-field",92),Wr(2,4,["style","display:inline"]),u()),2&o){const e=m(5);p(1),g("ngForOf",e.fieldsCol2)}}function mge(o,t){if(1&o&&P(0,"app-form-field",95),2&o){const e=t.$implicit,r=m(6);g("field",e)("model",r.model)("form",r.form)("host",r)("view",r.view)}}function fge(o,t){if(1&o&&(d(0,"div"),b(1,mge,1,5,"app-form-field",92),u()),2&o){const e=m(5);p(1),g("ngForOf",e.fieldsBottom)}}function _ge(o,t){if(1&o&&(d(0,"div",96),b(1,pge,3,1,"div",1),b(2,gge,3,1,"div",1),b(3,fge,2,1,"div",1),u()),2&o){const e=m(4);p(1),g("ngIf","main"===e.activeFormColumn),p(1),g("ngIf","related"===e.activeFormColumn),p(1),g("ngIf","bottom"===e.activeFormColumn)}}function vge(o,t){if(1&o&&P(0,"app-form-field",94),2&o){const e=t.$implicit,r=m(5);g("field",e)("model",r.model)("view",r.view)("form",r.form)("host",r)}}function yge(o,t){if(1&o&&P(0,"app-form-field",99),2&o){const e=t.$implicit,r=m(5);g("field",e)("model",r.model)("host",r)("form",r.form)("view",r.view)}}function bge(o,t){if(1&o&&(d(0,"div",97),b(1,vge,1,5,"app-form-field",91),Wr(2,5,["style","display:inline"]),b(3,yge,1,5,"app-form-field",98),u()),2&o){const e=m(4);p(1),g("ngForOf",e.fields),p(2),g("ngForOf",e.fieldsBottom)}}function Cge(o,t){if(1&o&&P(0,"app-form-field",94),2&o){const e=t.$implicit,r=m(5);g("field",e)("model",r.model)("view",r.view)("form",r.form)("host",r)}}function wge(o,t){if(1&o&&(d(0,"div"),b(1,Cge,1,5,"app-form-field",91),u()),2&o){const e=m(4);p(1),g("ngForOf",e.fieldsSimple)}}function xge(o,t){if(1&o&&(d(0,"div"),b(1,age,6,5,"div",82),b(2,dge,9,3,"div",83),b(3,_ge,4,3,"div",84),b(4,bge,4,2,"div",85),b(5,wge,2,1,"div",1),u()),2&o){const e=m(3);p(1),g("ngIf",e.hasColumnTabs),p(1),g("ngIf",e.fieldsCol2&&!e.showSimpleView&&!e.hasColumnTabs),p(1),g("ngIf",e.hasColumnTabs),p(1),g("ngIf",!e.fieldsCol2&&!e.showSimpleView),p(1),g("ngIf",e.showSimpleView)}}function Dge(o,t){if(1&o&&(d(0,"div",68)(1,"div",69,70),P(3,"div",71),b(4,ege,2,1,"div",72),Wr(5),b(6,nge,8,6,"div",73),b(7,xge,6,5,"div",1),u()()),2&o){const e=m(2);p(4),g("ngIf",e.summary),p(2),g("ngIf",e.uploader&&e.isImporting),p(1),g("ngIf",!e.isImporting&&e.editorVisible)}}function Mge(o,t){if(1&o){const e=j();d(0,"div",60),T("cancel",function(n){return F(e),S(m().weGotACancel(n))}),b(1,Zhe,3,1,"div",61),b(2,Qhe,3,2,"div",62),b(3,Dge,8,3,"div",63),u()}if(2&o){const e=m();p(1),g("ngIf",e.inPlaceEditing),p(1),g("ngIf",(null==e.form?null:e.form.isEditing)&&!(null!=e.model&&e.model.isDraft)&&e.appServices.isDesktop()),p(1),g("ngIf",!e.hideToolBar)}}function kge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).addFavorite())}),P(1,"i",44),u()}}function Ege(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).clearFavorite())}),P(1,"i",45),u()}}function Tge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).toggleAdvancedFields())}),P(1,"i",48),v(2,"Standard Fields"),u()}}function Fge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).toggleAdvancedFields())}),P(1,"i",48),v(2,"Advanced Fields"),u()}}function Sge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){F(e);const n=m().$implicit;return S(m(3).performAction(n))}),P(1,"i"),v(2),u()}if(2&o){const e=m().$implicit;p(1),xs("fa-solid ",e.icon,""),p(1),ae(e.title)}}function Pge(o,t){if(1&o&&(d(0,"span",105),b(1,Sge,3,4,"span",41),u()),2&o){const e=t.$implicit,r=m(3);p(1),g("ngIf",r.isEditing&&e.forEdit||!r.isEditing&&e.forCreate)}}function Ige(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).saveForm(!0))}),P(1,"i",51),v(2,"Save and Close"),u()}}function Age(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).saveForm(!1))}),P(1,"i",51),v(2,"Save"),u()}}function Oge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).saveForm(!0))}),P(1,"i",51),v(2,"Save"),u()}}function Rge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).exportForm())}),P(1,"i",56),v(2,"Export"),u()}}function Lge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).importForm())}),P(1,"i",57),v(2,"Import"),u()}}function Bge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){F(e);const n=m(3);return S(n.editorVisible=!n.editorVisible)}),P(1,"i",58),v(2,"Edit"),u()}}function Nge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){F(e);const n=m(3);return S(n.editorVisible=!n.editorVisible)}),P(1,"i",59),v(2,"Close"),u()}}function Hge(o,t){if(1&o){const e=j();d(0,"div")(1,"div",102)(2,"h1")(3,"i",16),T("click",function(){return F(e),S(m(2).cancelForm())}),u(),d(4,"span",17),P(5,"span",18)(6,"span",19)(7,"span",20)(8,"span",21)(9,"span",22)(10,"span",23)(11,"span",24)(12,"span",25)(13,"span",26)(14,"span",27)(15,"span",28)(16,"span",29)(17,"span",30)(18,"span",31)(19,"span",32)(20,"span",33)(21,"span",34)(22,"span",35)(23,"span",36)(24,"span",37)(25,"span",38)(26,"span",39),u(),d(27,"span",40),v(28),u(),b(29,kge,2,0,"span",41),b(30,Ege,2,0,"span",41),u(),P(31,"hr"),d(32,"div",103),b(33,Tge,3,0,"span",41),b(34,Fge,3,0,"span",41),b(35,Pge,2,1,"span",104),b(36,Ige,3,0,"span",41),b(37,Age,3,0,"span",41),b(38,Oge,3,0,"span",41),d(39,"span",43),T("click",function(){return F(e),S(m(2).showHelpDialog())}),P(40,"i",11),v(41,"Help"),u(),b(42,Rge,3,0,"span",41),b(43,Lge,3,0,"span",41),b(44,Bge,3,0,"span",41),b(45,Nge,3,0,"span",41),u()()()}if(2&o){const e=m(2);p(4),g("className",e.formIcon),p(24),ce(" ",e.title," "),p(1),g("ngIf",!e.favorite&&e.isEditing),p(1),g("ngIf",e.favorite&&e.isEditing),p(3),g("ngIf",e.advancedFieldsVisible&&e.hasAdvancedFields),p(1),g("ngIf",!e.advancedFieldsVisible&&e.hasAdvancedFields),p(1),g("ngForOf",e.additionalActions),p(1),g("ngIf",e.allowSaveWithOutClose),p(1),g("ngIf",e.allowSaveWithOutClose),p(1),g("ngIf",!e.allowSaveWithOutClose),p(4),g("ngIf",e.isEditing&&(e.canExport||e.exportObjectName)),p(1),g("ngIf",e.importObjectName),p(1),g("ngIf",e.toggleEditorVisibility&&!e.editorVisible),p(1),g("ngIf",e.toggleEditorVisibility&&e.editorVisible)}}function Vge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).saveForm(!0))}),P(1,"i",51),v(2,"Save and Close"),u()}}function $ge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).saveForm(!1))}),P(1,"i",51),v(2,"Save"),u()}}function zge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){return F(e),S(m(3).saveForm(!0))}),P(1,"i",51),v(2,"Save"),u()}}function Yge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){F(e);const n=m(3);return S(n.editorVisible=!n.editorVisible)}),P(1,"i",58),v(2,"Edit"),u()}}function jge(o,t){if(1&o){const e=j();d(0,"span",43),T("click",function(){F(e);const n=m(3);return S(n.editorVisible=!n.editorVisible)}),P(1,"i",59),v(2,"Close"),u()}}function Uge(o,t){if(1&o){const e=j();d(0,"div",106)(1,"div",103),b(2,Vge,3,0,"span",41),b(3,$ge,3,0,"span",41),b(4,zge,3,0,"span",41),d(5,"span",43),T("click",function(){return F(e),S(m(2).cancelForm())}),P(6,"i",54),v(7,"Cancel"),u(),d(8,"span",43),T("click",function(){return F(e),S(m(2).showHelpDialog())}),P(9,"i",11),v(10,"Help"),u(),b(11,Yge,3,0,"span",41),b(12,jge,3,0,"span",41),u()()}if(2&o){const e=m(2);p(2),g("ngIf",e.allowSaveWithOutClose),p(1),g("ngIf",e.allowSaveWithOutClose),p(1),g("ngIf",!e.allowSaveWithOutClose),p(7),g("ngIf",e.toggleEditorVisibility&&!e.editorVisible),p(1),g("ngIf",e.toggleEditorVisibility&&e.editorVisible)}}function Wge(o,t){if(1&o&&P(0,"app-name",67),2&o){const e=m(3);g("field",e.view.name)("model",e.model)("view",e.view)}}function Gge(o,t){if(1&o&&P(0,"app-key",67),2&o){const e=m(3);g("field",e.view.key)("model",e.model)("view",e.view)}}function qge(o,t){if(1&o&&(d(0,"div",65),b(1,Wge,1,3,"app-name",66),b(2,Gge,1,3,"app-key",66),u()),2&o){const e=m(2);p(1),g("ngIf",e.view.name),p(1),g("ngIf",e.view.key&&e.view.key.value)}}function Kge(o,t){if(1&o&&(d(0,"div",100),b(1,Hge,46,14,"div",1),b(2,Uge,13,5,"div",101),b(3,qge,3,2,"div",62),u()),2&o){const e=m();p(1),g("ngIf",!e.inPlaceEditing&&!e.toggleEditorVisibility),p(1),g("ngIf",e.inPlaceEditing),p(1),g("ngIf",(null==e.form?null:e.form.isEditing)&&!e.model.isDraft&&e.appServices.isDesktop())}}function Zge(o,t){if(1&o&&P(0,"app-form-field",109),2&o){const e=t.$implicit,r=m(2);g("form",r.form)("host",r)("field",e)("model",r.model)("view",r.view)}}function Xge(o,t){if(1&o&&(d(0,"div",107),b(1,Zge,1,5,"app-form-field",108),Wr(2,6,["style","display:inline"]),u()),2&o){const e=m();p(1),g("ngForOf",e.fields)}}const Jge=[[["header"]],[["","id","col1-extras"]],[["","id","col2-extras"]],[["","id","col1-extras"]],[["","id","col2-extras"]],[["","id","extras"]],[["","id","col1-extras"]]],Qge=["header","#col1-extras","#col2-extras","#col1-extras","#col2-extras","#extras","#col1-extras"];let _u=(()=>{class o extends LB{constructor(e,r,n,i,a,s,l,c,h,_,C){super(e,r,n,i,a,s,l,c,h),this.ngZone=_,this.changeDetector=C,this.formTabsBreakpoint=900,this.activeFormColumn="main",this.useColumnTabs=!1}weGotACancel(e){e.stopPropagation(),console.log("Cancel intercepted",console.log(e))}get hasColumnTabs(){return this.useColumnTabs&&!!this.fieldsCol2&&this.fieldsCol2.length>0&&!this.showSimpleView}get hasBottomFields(){return!!this.fieldsBottom&&this.fieldsBottom.length>0}onWindowResize(){this.updateColumnTabMode()}updateColumnTabMode(){const e=this.formContent?.nativeElement?.clientWidth||window.innerWidth;this.useColumnTabs=e<=this.formTabsBreakpoint,this.hasColumnTabs||(this.activeFormColumn="main"),console.log("form width",e,"useColumnTabs",this.useColumnTabs)}viewReady(){super.viewReady(),console.log("form view ready",this.form.model?.name),this.formContent&&!this.formResizeObserver&&(this.formResizeObserver=new ResizeObserver(()=>{this.ngZone.run(()=>{console.log(this.form.model.name),this.updateColumnTabMode(),this.changeDetector.detectChanges()})}),this.formResizeObserver.observe(this.formContent.nativeElement)),console.log("updating two column form view ready")}}return o.\u0275fac=function(e){return new(e||o)(O(Ft),O(_o),O(qr),O(K1),O(Z1),O(X1),O(jd),O(Ut),O(qM),O(ct),O(Xr))},o.\u0275cmp=ne({type:o,selectors:[["app-form"]],viewQuery:function(e,r){if(1&e&&Yt(Ehe,5),2&e){let n;ze(n=Ye())&&(r.formContent=n.first)}},hostBindings:function(e,r){1&e&&T("resize",function(){return r.onWindowResize()},0,VF)},features:[Te],ngContentSelectors:Qge,decls:27,vars:18,consts:[[1,"form-surface"],[4,"ngIf"],[1,"form-surface__command-wrap"],[1,"form-command-bar"],[1,"form-command-bar__labels"],[3,"model","title",4,"ngIf"],["aria-label","Form actions",1,"form-command-bar__actions"],["class","form-command-bar__action","type","button",3,"click",4,"ngIf"],[4,"ngFor","ngForOf"],["class","form-command-bar__action form-command-bar__action--primary","type","button",3,"click",4,"ngIf"],["type","button",1,"form-command-bar__action",3,"click"],[1,"fa-solid","fa-question"],["class","panel full-view",3,"cancel",4,"ngIf"],["class","panel","class","phone-view",4,"ngIf"],["class","panel-content phone-view","style","overflow-y: auto;height: calc(100%);",4,"ngIf"],[2,"margin-left","20px","margin-top","5px"],[1,"action","fa","fa-chevron-left",2,"cursor","pointer","font-size","32px",3,"click"],["data-toggle","modal",2,"cursor","pointer","font-size","32px",3,"className"],[1,"path1"],[1,"path2"],[1,"path3"],[1,"path4"],[1,"path5"],[1,"path6"],[1,"path7"],[1,"path8"],[1,"path9"],[1,"path10"],[1,"path11"],[1,"path12"],[1,"path13"],[1,"path14"],[1,"path15"],[1,"path16"],[1,"path17"],[1,"path18"],[1,"path19"],[1,"path20"],[1,"path21"],[1,"path22"],[2,"color","var(--color-primary-80)"],["class","action",3,"click",4,"ngIf"],["class","draft",4,"ngIf"],[1,"action",3,"click"],[1,"far","fa-star","action-favorite"],[1,"fa","fa-star","action-favorite"],[1,"draft"],[3,"model","title"],[1,"fa","fa-gear"],[1,"fa-solid","fa-lock"],["type","button",1,"form-command-bar__action","form-command-bar__action--primary",3,"click"],[1,"fa-solid","fa-save"],["class","form-command-bar__dirty",4,"ngIf"],[1,"form-command-bar__dirty"],[1,"fa-solid","fa-times-circle"],[1,"fa-solid","fa-comments"],[1,"fa","fa-download"],[1,"fa","fa-upload"],[1,"fa-solid","fa-pencil"],[1,"fa-solid","fa-close"],[1,"panel","full-view",3,"cancel"],["style","padding-top:10px;display:flex",4,"ngIf"],["style","margin-left: 20px;",4,"ngIf"],["class","panel-header full-view",4,"ngIf"],[2,"padding-top","10px","display","flex"],[2,"margin-left","20px"],[3,"field","model","view",4,"ngIf"],[3,"field","model","view"],[1,"panel-header","full-view"],[1,"panel-content",2,"overflow-y","auto","height","calc(100%)"],["formContent",""],[2,"clear","both"],["style","margin-bottom:15px",4,"ngIf"],["style","height:120px",4,"ngIf"],[2,"margin-bottom","15px"],[2,"height","120px"],["ng2FileDrop","",1,"well","my-drop-zone",3,"ngClass","uploader","fileOver"],[1,"fa","fa-file-upload"],[1,"fileUpload","btn","btn-primary"],["type","file","ng2FileSelect","",1,"upload",3,"uploader"],[1,"progress"],["role","progressbar",1,"progress-bar",3,"ngStyle"],["class","form-column-tabs",4,"ngIf"],["class","form-layout form-layout--two-column",4,"ngIf"],["class","form-layout form-layout--tabbed",4,"ngIf"],["class","col-md-12",4,"ngIf"],[1,"form-column-tabs"],["type","button",1,"form-column-tabs__tab",3,"click"],["type","button","class","form-column-tabs__tab",3,"active","click",4,"ngIf"],[1,"form-layout","form-layout--two-column"],[1,"form-layout__column"],[3,"field","model","view","form","host",4,"ngFor","ngForOf"],[3,"field","model","form","host","view",4,"ngFor","ngForOf"],[1,"form-layout__bottom"],[3,"field","model","view","form","host"],[3,"field","model","form","host","view"],[1,"form-layout","form-layout--tabbed"],[1,"col-md-12"],[3,"field","model","host","form","view",4,"ngFor","ngForOf"],[3,"field","model","host","form","view"],[1,"phone-view"],["style","padding-top:10px",4,"ngIf"],[2,"margin-left","20px","margin-top","20px"],[1,"panel-actions"],["class","action",4,"ngFor","ngForOf"],[1,"action"],[2,"padding-top","10px"],[1,"panel-content","phone-view",2,"overflow-y","auto","height","calc(100%)"],[3,"form","host","field","model","view",4,"ngFor","ngForOf"],[3,"form","host","field","model","view"]],template:function(e,r){1&e&&(_i(Jge),d(0,"section",0),b(1,Ihe,33,6,"div",1),d(2,"div",2)(3,"header",3)(4,"div",4),b(5,Ahe,1,2,"nuvos-entity-labels",5),u(),d(6,"nav",6),b(7,Ohe,4,0,"button",7),b(8,Rhe,4,0,"button",7),b(9,Bhe,2,1,"ng-container",8),b(10,Nhe,4,0,"button",7),b(11,Hhe,4,0,"button",9),b(12,$he,5,1,"button",7),b(13,Yhe,5,1,"button",9),b(14,jhe,4,0,"button",7),d(15,"button",10),T("click",function(){return r.showHelpDialog()}),P(16,"i",11),d(17,"span"),v(18,"Help"),u()(),b(19,Uhe,4,1,"button",7),b(20,Whe,4,0,"button",7),b(21,Ghe,4,0,"button",7),b(22,qhe,4,0,"button",7),b(23,Khe,4,0,"button",7),u()()(),b(24,Mge,4,3,"div",12),b(25,Kge,4,3,"div",13),b(26,Xge,3,1,"div",14),u()),2&e&&(p(1),g("ngIf",!r.inPlaceEditing&&!r.toggleEditorVisibility),p(4),g("ngIf",r.labeledModel),p(2),g("ngIf",r.advancedFieldsVisible&&r.hasAdvancedFields),p(1),g("ngIf",!r.advancedFieldsVisible&&r.hasAdvancedFields),p(1),g("ngForOf",r.additionalActions),p(1),g("ngIf",r.allowSaveWithOutClose),p(1),g("ngIf",r.allowSaveWithOutClose),p(1),g("ngIf",r.allowSaveWithOutClose),p(1),g("ngIf",!r.allowSaveWithOutClose),p(1),g("ngIf",r.inPlaceEditing),p(5),g("ngIf",null==r.form?null:r.form.hasDiscussions),p(1),g("ngIf",r.isEditing&&(r.canExport||r.exportObjectName)),p(1),g("ngIf",r.importObjectName||r.canImport),p(1),g("ngIf",r.toggleEditorVisibility&&!r.editorVisible),p(1),g("ngIf",r.toggleEditorVisibility&&r.editorVisible),p(1),g("ngIf",r.fields),p(1),g("ngIf",r.fields),p(1),g("ngIf",r.phoneView))},styles:["[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}.form-title[_ngcontent-%COMP%]{display:inline-block!important}.menu[_ngcontent-%COMP%]{background-color:var(--color-bg);width:100%}.my-drop-zone[_ngcontent-%COMP%]{border:dotted 3px lightgray;display:block;float:left;margin-right:20px;padding-top:10px;text-align:center;color:var(--color-bg-panel);height:100px;width:100px}.nv-file-over[_ngcontent-%COMP%]{border:dotted 3px red}.another-file-over-class[_ngcontent-%COMP%]{border:dotted 3px green}.fileUpload[_ngcontent-%COMP%]{position:relative;overflow:hidden;margin-top:10px;margin-bottom:10px}.fileUpload[_ngcontent-%COMP%] input.upload[_ngcontent-%COMP%]{position:absolute;top:0;right:0;margin:0;padding:0;font-size:20px;cursor:pointer;opacity:0;filter:alpha(opacity=0)}.form-help[_ngcontent-%COMP%]{border:1px solid var(--color-border-panel);margin:10px;border-radius:4px;display:flex;font-size:20px}.draft[_ngcontent-%COMP%]{font-style:italic;font-size:smaller;color:var(--color-accent);margin-left:20px}.form-layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(280px,1fr) minmax(320px,1fr);gap:24px;margin:8px 20px 24px;align-items:start}.form-column-tabs[_ngcontent-%COMP%]{display:flex;gap:8px;margin:8px 20px 12px;border-bottom:1px solid #d7dce2}.form-column-tabs__tab[_ngcontent-%COMP%]{border:0;background:transparent;padding:8px 12px;cursor:pointer;color:var(--color-primary-80);font-weight:600}.form-column-tabs__tab.active[_ngcontent-%COMP%]{border-bottom:3px solid var(--color-primary-80)}.form-layout[_ngcontent-%COMP%]{margin:8px 20px 24px}.form-layout--two-column[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(280px,1fr) minmax(320px,1fr);gap:24px;align-items:start}.form-layout--tabbed[_ngcontent-%COMP%]{display:block}.form-layout__bottom[_ngcontent-%COMP%]{grid-column:1/-1}.form-surface[_ngcontent-%COMP%]{background:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:.75rem;box-shadow:0 1px 4px var(--color-shadow-panel);margin:.75rem 1rem 1.5rem;overflow:hidden}.form-surface__hero[_ngcontent-%COMP%]{background:var(--color-bg-panel);padding:1rem 1.25rem .85rem;border-bottom:1px solid var(--color-border-panel)}.form-surface__hero-title[_ngcontent-%COMP%]{color:var(--color-primary-heading);font-size:1.5rem;font-weight:700;line-height:1.2;margin:0}.form-surface__hero-subtitle[_ngcontent-%COMP%]{color:var(--color-fg);margin-top:.5rem}.form-surface__command-wrap[_ngcontent-%COMP%]{background:var(--color-bg-panel);position:sticky;top:30px;z-index:50;box-shadow:0 1px 2px #0000000f;border-bottom:1px solid var(--color-border-panel)}.form-command-bar[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;min-height:2.25rem;padding:.35rem 1.25rem;background:var(--color-bg-panel)}.form-surface__body[_ngcontent-%COMP%]{padding:1rem 1.25rem 1.25rem}"]}),o})();function eme(o,t){if(1&o&&(d(0,"span",2),P(1,"span",3)(2,"span",4)(3,"span",5)(4,"span",6)(5,"span",7)(6,"span",8)(7,"span",9)(8,"span",10)(9,"span",11)(10,"span",12)(11,"span",13)(12,"span",14)(13,"span",15)(14,"span",16)(15,"span",17)(16,"span",18)(17,"span",19)(18,"span",20)(19,"span",21)(20,"span",22)(21,"span",23)(22,"span",24),u()),2&o){const e=m();Tt("font-size",e.fontSize),g("className",e.iconName)}}function tme(o,t){if(1&o&&P(0,"img",25),2&o){const e=m();g("src",e.iconName,Zo)("width",e.fontSize)("height",e.fontSize)}}let Mh=(()=>{class o{constructor(){this.fontSize="32pt"}ngOnInit(){}isImageIcon(){return this.iconName?.startsWith("http")}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["nuv-icon"]],inputs:{iconName:"iconName",fontSize:"fontSize"},decls:2,vars:2,consts:[[3,"className","fontSize",4,"ngIf"],[3,"src","width","height",4,"ngIf"],[3,"className"],[1,"path1"],[1,"path2"],[1,"path3"],[1,"path4"],[1,"path5"],[1,"path6"],[1,"path7"],[1,"path8"],[1,"path9"],[1,"path10"],[1,"path11"],[1,"path12"],[1,"path13"],[1,"path14"],[1,"path15"],[1,"path16"],[1,"path17"],[1,"path18"],[1,"path19"],[1,"path20"],[1,"path21"],[1,"path22"],[3,"src","width","height"]],template:function(e,r){1&e&&(b(0,eme,23,3,"span",0),b(1,tme,1,3,"img",1)),2&e&&(g("ngIf",!r.isImageIcon()),p(1),g("ngIf",r.isImageIcon()))},dependencies:[ve]}),o})();function rme(o,t){1&o&&P(0,"nuv-icon",9),2&o&&g("iconName",m(2).icon)}function ome(o,t){1&o&&P(0,"i",12)}function nme(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m(2).addItems())}),b(1,ome,1,0,"i",11),u()}if(2&o){const e=m(2);p(1),g("ngIf",e.canAdd())}}function ime(o,t){if(1&o&&(d(0,"div",16),P(1,"img",17)(2,"br"),d(3,"div"),v(4,"Please Wait"),u()()),2&o){const e=m(3);p(1),cc("src","",e.root,"/app/ui-shared/assets/ajax-loader.gif",Zo)}}function ame(o,t){if(1&o&&(d(0,"option",26),v(1),u()),2&o){const e=t.$implicit;g("value",e.id),p(1),ae(e.text)}}function sme(o,t){if(1&o){const e=j();d(0,"div",3)(1,"select",23),T("ngModelChange",function(n){return F(e),S(m(4).selectedCategory=n)})("change",function(){return F(e),S(m(4).filterByCategory())}),d(2,"option",24),v(3,"All"),u(),b(4,ame,2,2,"option",25),u()()}if(2&o){const e=m(4);p(1),g("ngModel",e.selectedCategory),p(3),g("ngForOf",e.categories)}}function lme(o,t){if(1&o){const e=j();d(0,"li",30),T("click",function(){const i=F(e).$implicit;return S(m(5).itemSelectedEvent(i))}),v(1),u()}if(2&o){const e=t.$implicit;p(1),ce(" ",e.text," ")}}function cme(o,t){if(1&o&&(d(0,"div",27)(1,"ol",28),b(2,lme,2,1,"li",29),u()()),2&o){const e=m(4);p(2),g("ngForOf",e.filteredItems)}}function dme(o,t){if(1&o&&(d(0,"option",34),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e),p(1),ae(e.text)}}function ume(o,t){if(1&o&&(d(0,"option",34),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e),p(1),ae(e.text)}}function pme(o,t){if(1&o){const e=j();d(0,"div",31)(1,"div",32)(2,"h6"),v(3),u(),d(4,"select",23),T("ngModelChange",function(n){return F(e),S(m(4).selectedItem=n)})("change",function(n){return F(e),S(m(4).itemSelectedEvent(n))}),b(5,dme,2,2,"option",33),u()(),d(6,"div",32)(7,"h6"),v(8),u(),d(9,"select",23),T("ngModelChange",function(n){return F(e),S(m(4).secondItemSelectedItem=n)})("change",function(n){return F(e),S(m(4).secondItemSelected(n))}),b(10,ume,2,2,"option",33),u()()()}if(2&o){const e=m(4);p(3),ae(e.categoryName),p(1),g("ngModel",e.selectedItem),p(1),g("ngForOf",e.items),p(3),ae(e.valueName),p(1),g("ngModel",e.secondItemSelectedItem),p(1),g("ngForOf",e.secondItems)}}function hme(o,t){if(1&o){const e=j();d(0,"div")(1,"div",18),b(2,sme,5,2,"div",19),d(3,"div",3)(4,"input",20),T("ngModelChange",function(n){return F(e),S(m(3).searchText=n)})("change",function(){return F(e),S(m(3).applyFilter())}),u()()(),b(5,cme,3,1,"div",21),b(6,pme,11,6,"div",22),u()}if(2&o){const e=m(3);p(2),g("ngIf",!0),p(2),kv("margin-left:10px;width: 400px; background-image: url('",e.root,"/app/ui-shared/assets/search.png'); background-repeat: no-repeat; background-position: 6px 50%; padding: 7px 8.75px 7px 42px;"),g("ngModel",e.searchText),p(1),g("ngIf",!e.multiPick),p(1),g("ngIf",e.multiPick)}}function gme(o,t){1&o&&(d(0,"div",35)(1,"h5"),v(2,"There are no items to select from."),u(),v(3," Use the button below to add to the list. "),u())}function mme(o,t){if(1&o&&(d(0,"div",36)(1,"h5"),v(2,"Sorry can not select right now"),u(),v(3),u()),2&o){const e=m(3);p(3),ce(" ",e.errorMsg," ")}}function fme(o,t){if(1&o&&(d(0,"div"),b(1,ime,5,1,"div",13),b(2,hme,7,7,"div",7),b(3,gme,4,0,"div",14),b(4,mme,4,1,"div",15),u()),2&o){const e=m(2);p(1),g("ngIf",!e.items&&!e.errorMsg),p(1),g("ngIf",e.items&&e.items.length>0&&!e.errorMsg),p(1),g("ngIf",e.items&&0===e.items.length),p(1),g("ngIf",e.errorMsg)}}function _me(o,t){if(1&o){const e=j();d(0,"div",37)(1,"app-form",38),T("cancel",function(){return F(e),S(m(2).resetModal())})("saved",function(){return F(e),S(m(2).savedItem())}),u()()}if(2&o){const e=m(2);p(1),g("form",e.form)("inPlaceEditing",!0)("autoSave",!0)}}function vme(o,t){if(1&o){const e=j();d(0,"div",1)(1,"div",2)(2,"h3",3),b(3,rme,1,1,"nuv-icon",4),v(4),b(5,nme,2,1,"span",5),u(),d(6,"i",6),T("click",function(){return F(e),S(m().closeModal())}),u()(),b(7,fme,5,4,"div",7),b(8,_me,2,3,"div",8),u()}if(2&o){const e=m();p(3),g("ngIf",e.icon),p(1),ce(" ",e.title," "),p(1),g("ngIf",!e.form),p(2),g("ngIf",!e.form),p(1),g("ngIf",e.form)}}let Sf=(()=>{class o{constructor(e,r,n,i,a,s,l,c,h,_,C,k,A){this.businessService=e,this.pmService=r,this.deviceServices=n,this.deploymentService=i,this.fsliteService=a,this.messagingService=s,this.productService=l,this.simulatorService=c,this.reportingService=h,this.pipelineService=_,this.adminService=C,this.nuviotClientService=k,this.activeModal=A,this.itemSelected=new ee,this.tableSettings={actions:{add:!1,edit:!1,delete:!1},columns:{text:{title:"Name",type:"string"}}},this.categoryName="Source",this.valueName="Value",this.selectedCategory="-1",this.multiPick=!1,this.errorMsg=void 0,this.type_key_errorCode="errorCode",this.type_key_highValueErrorCode="highValueErrorCode",this.type_key_lowValueErrorCode="lowValueErrorCode",He.production&&(this.root=`/${He.moduleRouteHome}`)}set searchText(e){this._searchText=e,this.applyFilter()}get searchText(){return this._searchText}static getExtra(e){let r=this._extras.find(n=>n.extraType==e);if(!r)throw console.log(this._extras),`Could not find registered extra: ${e}.`;return r}static registerExtra(e,r){console.log("register extra");let n=this._extras.find(i=>i.extraType==e);r?n?r.extra=r:this._extras.push({extra:r,extraType:e}):n&&this._extras.splice(this._extras.indexOf(n),1),console.log(this._extras)}ngOnInit(){var e=this;return E(function*(){e.setItems(!1)})()}addItems(){var e=this;return E(function*(){e.form=yield e.nuviotClientService.getFormResponse(e.urls.factory),e.title_hold=e.title,e.title=`Add ${e.form.modelTitle} Item`})()}canAdd(){return this.urls?.factory?.length>0}closeModal(){this.activeModal.close()}resetModal(){this.form=void 0,this.title=this.title_hold}saveChildItem(){this.form.model[this.targetField]||(this.form.model[this.targetField]=[]),this.form.model[this.targetField].push(this.childForm.model),this.childForm=void 0}savedItem(){var e=this;return E(function*(){e.form=void 0,e.setItems(!0)})()}getDataForItems(e,r=!1){var n=this;return E(function*(){n.urls&&n.urls.entityHeaderPickerUrl&&(e=yield n.nuviotClientService.getListResponse(n.urls.entityHeaderPickerUrl),n.icon=e.icon),yield n.setItemsExec(e,r)})()}toCamelCase(e){return e.substring(0,1).toLowerCase()+e.substring(1)}setItems(e=!1){var r=this;return E(function*(){if(r.entityHeaderPickerUrl){let i=r.entityHeaderPickerUrl.match(/\{[A-Za-z\.]+\}/),a=r.entityHeaderPickerUrl;for(;i;){var n=i[0].replaceAll("{","").replaceAll("}","").split(".");console.log(n);for(let _=0;_1?h[r.toCamelCase(n[1])]:r.view[r.toCamelCase(n[0])].value,a=a.replace(i[0],r.parentId),i=a.match(/\{[A-Za-z\.]+\}/),console.log("now looking for",i,a)}let s={pageSize:1e3};"-1"!=r.selectedCategory&&(s.categoryKey=r.selectedCategory);let l=yield r.nuviotClientService.getListResponse(a,s);if(l.successful&&!r.categories){if(l.factoryUrl){let c=yield r.nuviotClientService.request(l.factoryUrl);if(c.successful){let h=c.modelName,_=yield r.adminService.getCategories(h.toLocaleLowerCase());r.categories=_.model.map(C=>({id:C.key,key:C.key,label:C.name,text:C.name}))||[]}}r.icon=l.icon,r.setUrls(l,e),0==l.model.length?(r.items=[],r.errorMsg="Sorry nothing is available, please add a record and try again."):l.model[0].text?r.items=l.model.map(c=>({id:c.id,key:c.key,text:c.text}))||[]:l.model[0].name?r.items=l.model.map(c=>({id:c.id,key:c.key,text:c.name}))||[]:r.errorMsg="System error: Could not finding mapping for text or name."+JSON.stringify(l.model[0])}}else if(r.pickerType){switch(r.pickerType.toLowerCase()){case o.key_agreement:let a=r.view.customer?.value?.id;a?yield r.getDataForItems(yield r.businessService.getActiveAgreements(a),e):r.errorMsg="Please select a customer before selecting an agreement.";break;case o.key_defaultRevision:0==r.model.revisions.length?r.errorMsg="Please add a firmware revision.":(r.items=r.model.revisions.map(_=>({id:_.id,text:_.versionCode}))||[],console.log("found items",r.items));break;case o.key_gcodeOperationTool:let s=r.parentForm.parent.parent.model;0==s.tools.length?r.errorMsg="Please add a tool revision.":r.items=s.tools.map(_=>({id:_.id,text:_.name}))||[];break;case o.key_customer:yield r.getDataForItems(yield r.businessService.getCustomers("active"),e);break;case o.key_customerContact:const l=yield r.businessService.getCustomer(r.parentId);r.items=l.model.contacts.map(_=>({id:_.id,key:_.id.toLocaleLowerCase(),text:`${_.firstName} ${_.lastName}`}))||[];break;case o.key_customField:(!r.items||0===r.items.length)&&alert("please set the 'items' attribute for this property.");break;case o.key_deviceConfiguration:yield r.getDataForItems(yield r.deviceServices.getDeviceConfigurations(),e);break;case o.key_deviceMessageDefinition:yield r.getDataForItems(yield r.messagingService.getMessages(),e);break;case o.key_defaultCompletionTokenProduct:case o.key_defaultPromptTokenProduct:case o.key_product:case o.key_sensor:yield r.getDataForItems(yield r.productService.getProductCategories(),e),r.multiPick=!0,r.categoryName="Product Category",r.valueName="Product";break;case o.key_errorCode:case o.key_highValueErrorCode:case o.key_lowValueErrorCode:const c=yield r.deviceServices.getDeviceConfigurations();r.setItemsExec(c,e),c.successful&&(r.multiPick=r.items.length>0);break;case o.key_firmware:case o.key_qaFirmware:yield r.getDataForItems(yield r.deviceServices.getFirmwares(),e);break;case o.key_qaFirmwareRevision:if(r.view.qaFirmware.value){const _=yield r.deviceServices.getFirmware(r.view.qaFirmware.value.id);_.successful&&(r.items=_.model.revisions.map(C=>({id:C.id,text:C.versionCode}))||[])}else r.errorMsg="Please select firmware before selecting a revision.";break;case o.key_firmwareRevision:if(r.view.firmware.value){const _=yield r.deviceServices.getFirmware(r.view.firmware.value.id);_.successful&&(r.items=_.model.revisions.map(C=>({id:C.id,text:C.versionCode}))||[])}else r.errorMsg="Please select firmware before selecting a revision.";break;case o.key_forState:{let _=o.getExtra(o.key_simulator).extra;r.items=_.simulatorStates.map(C=>({id:C.id,key:C.key,text:C.name}))}break;case o.key_message:{let _=o.getExtra(o.key_simulator).extra;r.items=_.messageTemplates.map(C=>({id:C.id,key:C.key,text:C.name}))}break;case o.key_pipelineModuleType_Custom:yield r.getDataForItems(yield r.pipelineService.getCustomModules(),e);break;case o.key_pipelineModuleType_DataStream:yield r.getDataForItems(yield r.pipelineService.getDataStreams(),e);break;case o.key_pipelineModuleType_InputTranslator:yield r.getDataForItems(yield r.pipelineService.getInputTranslators(),e);break;case o.key_pipelineModuleType_OutputTranslator:yield r.getDataForItems(yield r.pipelineService.getOutputTranslators(),e);break;case o.key_pipelineModuleType_Sentinel:yield r.getDataForItems(yield r.pipelineService.getSentinels(),e);break;case o.key_pipelineModuleType_Transmitter:yield r.getDataForItems(yield r.pipelineService.getTransmitters(),e);break;case o.key_pipelineModuleType_Workflow:yield r.getDataForItems(yield r.pipelineService.getWorkflows(),e);break;case o.key_productPortfolio:yield r.getDataForItems(yield r.pmService.getProductPortfolios(),e);break;case o.key_project:yield r.getDataForItems(yield r.pmService.getProjects(),e);break;case o.key_report:yield r.getDataForItems(yield r.reportingService.getReports(),e);break;case o.key_reportrevision:if(r.view.report.value){const _=yield r.reportingService.getReport(r.view.report.value.id);_.successful&&(r.items=_.model.revisions.map(C=>({id:C.id,text:C.versionCode}))||[])}else r.errorMsg="Please select firmware before selecting a revision.";break;case o.key_serviceTicket:(!r.items||0===r.items.length)&&alert("please set the 'items' attribute for this property.");break;case o.key_serviceTicketTemplate:const h={successful:!0,model:yield r.fsliteService.loadTemplates()};r.setItemsExec(h,e);break;case o.key_stateSet:case o.key_customStatusType:yield r.getDataForItems(yield r.pipelineService.getStateSets(),e);break;case o.key_statusConfig:yield r.getDataForItems(yield r.pmService.getStatusConfigurations(),e);break;case o.key_subscription:yield r.getDataForItems(yield r.deploymentService.GetSubscriptions(),e);break;case o.key_unitSet:yield r.getDataForItems(yield r.pipelineService.getUnitSets(),e);break;case o.key_preferredTag:r.items=r.model.tags.map(_=>({id:_.id,text:_.tag}))||[];break;case o.key_selectListener:r.items=r.model.listeners.map(_=>({id:_.id,text:_.text}))||[],console.log(r.items),console.log(r.model)}r.items?.sort((a,s)=>a.text.toLocaleLowerCase()>s.text.toLocaleLowerCase()?1:a.text.toLocaleLowerCase()({id:i.id,key:i.key,text:i.name}))||[],n.setUrls(e,r),n.filteredItems=n.items)})()}setUrls(e,r=!1){console.log(e,r),r||(this.urls={entityHeaderPickerUrl:this.entityHeaderPickerUrl,factory:e.factoryUrl,get:e.getUrl,getList:e.getListUrl}),console.log(this.urls)}itemSelectedEvent(e){var r=this;return E(function*(){switch(console.log(e,r.pickerType),r.pickerType.toLocaleLowerCase()){case o.key_defaultCompletionTokenProduct:case o.key_defaultPromptTokenProduct:case o.key_sensor:case o.key_product:r.secondItems=(yield r.productService.getProducts(r.selectedItem.id)).model.map(n=>({id:n.id,key:n.key,text:n.name}))||[];break;default:r.itemSelected.emit(e),r.activeModal.close()}})()}secondItemSelected(e){var r=this;return E(function*(){r.itemSelected.emit(r.secondItemSelectedItem),r.activeModal.close()})()}static supportsPicker(e){let n;switch(e.toLowerCase()){case o.key_agreement:case o.key_customer:case o.key_customerContact:case o.key_customField:case o.key_customStatusType:case o.key_defaultRevision:case o.key_deviceConfiguration:case o.key_deviceMessageDefinition:case o.key_distroList:case o.key_errorCode:case o.key_firmware:case o.key_firmwareRevision:case o.key_forState:case o.key_highValueErrorCode:case o.key_lowValueErrorCode:case o.key_message:case o.key_productPortfolio:case o.key_preferredTag:case o.key_project:case o.key_report:case o.key_reportrevision:case o.key_selectListener:case o.key_serviceTicket:case o.key_serviceTicketTemplate:case o.key_simulator:case o.key_stateSet:case o.key_product:case o.key_sensor:case o.key_subscription:case o.key_unitSet:case o.key_defaultCompletionTokenProduct:case o.key_defaultPromptTokenProduct:case o.key_qaFirmware:case o.key_qaFirmwareRevision:case o.key_gcodeOperationTool:n=!0;break;default:n=!1}return n}filterByCategory(){this.setItems(!0)}applyFilter(){console.log(this.searchText,"<-filter"),this.filteredItems=this.searchText?this.items.filter(e=>e.text.toLocaleLowerCase().includes(this.searchText.toLocaleLowerCase())):this.items}}return o._extras=[],o.key_agreement="agreement",o.key_customer="customer",o.key_customerContact="customercontact",o.key_customField="customfield",o.key_customStatusType="customstatustype",o.key_defaultRevision="defaultrevision",o.key_deviceMessageDefinition="devicemessagedefinition",o.key_distroList="distrolist",o.key_errorCode="errorcode",o.key_highValueErrorCode="highvalueerrorcode",o.key_lowValueErrorCode="lowvalueerrorcode",o.key_deviceConfiguration="defaultdeviceconfiguration",o.key_defaultPromptTokenProduct="defaultprompttokenproduct",o.key_defaultCompletionTokenProduct="defaultcompletiontokenproduct",o.key_firmware="firmware",o.key_qaFirmware="qafirmware",o.key_firmwareRevision="firmwarerevision",o.key_qaFirmwareRevision="qafirmwarerevision",o.key_pipelineModuleType_Custom="custom",o.key_pipelineModuleType_DataStream="datastream",o.key_pipelineModuleType_InputTranslator="inputtranslator",o.key_pipelineModuleType_OutputTranslator="outputtranslator",o.key_pipelineModuleType_Sentinel="sentinel",o.key_pipelineModuleType_Transmitter="transmitter",o.key_pipelineModuleType_Workflow="workflow",o.key_productPortfolio="productportfolio",o.key_project="project",o.key_report="report",o.key_reportrevision="reportrevision",o.key_selectListener="selectlistener",o.key_serviceTicket="serviceticket",o.key_serviceTicketTemplate="servicetickettemplate",o.key_stateSet="stateset",o.key_product="product",o.key_sensor="sensor",o.key_statusConfig="statusconfig",o.key_subscription="subscription",o.key_unitSet="unitset",o.key_simulator="simulator",o.key_message="message",o.key_forState="forstate",o.key_preferredTag="preferredtag",o.key_gcodeOperationTool="gcodeoperationtool",o.\u0275fac=function(e){return new(e||o)(O(wh),O(jM),O(wB),O(xB),O(wpe),O(xpe),O(Dpe),O(Mpe),O(kpe),O(Epe),O(eu),O(Ft),O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-generic-picker"]],outputs:{itemSelected:"itemSelected"},decls:1,vars:1,consts:[["class","picker-modal",4,"ngIf"],[1,"picker-modal"],[2,"display","flex","border-bottom","1px solid silver","padding-top","10px","padding-right","10px","padding-left","20px"],[2,"flex-grow","1"],["fontSize","32",3,"iconName",4,"ngIf"],["class","action",3,"click",4,"ngIf"],[1,"fa","fa-times",2,"font-size","20px","margin","10px","cursor","pointer",3,"click"],[4,"ngIf"],["style","background-color: var(--color-bg);color:var(--color-fg);overflow-y:auto;padding:10px",4,"ngIf"],["fontSize","32",3,"iconName"],[1,"action",3,"click"],["class","fa fa-plus action",4,"ngIf"],[1,"fa","fa-plus","action"],["style","text-align: center; margin: 4em;",4,"ngIf"],["style","margin:2em;",4,"ngIf"],["style","margin:2em;color:red",4,"ngIf"],[2,"text-align","center","margin","4em"],[3,"src"],[2,"display","flex","margin-left","20px","margin-right","20px","margin-top","10px","margin-bottom","10px"],["style","flex-grow:1",4,"ngIf"],["placeholder","filter",1,"form-control",3,"ngModel","ngModelChange","change"],["style","min-height: 150px; padding-left:20px;padding-right:20px",4,"ngIf"],["class","row","style","padding:1em;",4,"ngIf"],[1,"form-select",3,"ngModel","ngModelChange","change"],["value","-1"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[2,"min-height","150px","padding-left","20px","padding-right","20px"],[1,"list-gorup"],["class","list-group-item",3,"click",4,"ngFor","ngForOf"],[1,"list-group-item",3,"click"],[1,"row",2,"padding","1em"],[1,"col-md-6"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[2,"margin","2em"],[2,"margin","2em","color","red"],[2,"background-color","var(--color-bg)","color","var(--color-fg)","overflow-y","auto","padding","10px"],[3,"form","inPlaceEditing","autoSave","cancel","saved"]],template:function(e,r){1&e&&b(0,vme,9,5,"div",0),2&e&&g("ngIf",r.items)},dependencies:[_u,Mh,gt,ve,Qo,en,Ht,No,mt,It],styles:[".picker-modal[_ngcontent-%COMP%]{color:var(--color-fg);background-color:var(--color-bg)}ol[_ngcontent-%COMP%]{border-radius:6px;overflow-y:auto;max-height:400px;padding:0}li[_ngcontent-%COMP%]{padding:8px;cursor:pointer;border:1px solid silver}li[_ngcontent-%COMP%]:hover{background-color:#ddd}"]}),o})(),KM=(()=>{class o{constructor(e){this.nuviotClient=e}createGlossary(){return this.nuviotClient.request("/api/glossary/factory")}createTerm(){return this.nuviotClient.getFormResponse("/api/glossary/term/factory")}editTerm(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/glossary/term/factory");return n.model=e,n.isEditing=!0,n})()}getGlossary(e){return this.nuviotClient.request(`/api/glossary/${e}`)}addGlossary(e){return this.nuviotClient.post("/api/glossary",e)}addNewGlossary(e){return this.nuviotClient.post("/api/glossary",e)}updateGlossary(e){return this.nuviotClient.update("/api/glossary",e)}getGlossaries(){return this.nuviotClient.getListResponse("/api/glossaries")}getTerm(e,r){return this.nuviotClient.request(`/api/glossary/${e}/term/${r}`)}getTermForKey(e,r,n){return this.nuviotClient.request(`/api/glossary/${e}/${r}/${n}`)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function yme(o,t){if(1&o&&(d(0,"option",9),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e),p(1),ae(e.text)}}function bme(o,t){if(1&o){const e=j();d(0,"div",6)(1,"label"),v(2),u(),d(3,"select",7),T("change",function(){return F(e),S(m().firstItemSelected())})("ngModelChange",function(n){return F(e),S(m().selectedFirstItem=n)}),b(4,yme,2,2,"option",8),u()()}if(2&o){const e=m();p(2),ae(e.firstLabel),p(1),g("ngModel",e.selectedFirstItem),p(1),g("ngForOf",e.firstItems)}}function Cme(o,t){if(1&o){const e=j();d(0,"input",16),T("click",function(){F(e);const n=m().$implicit;return S(m(3).secondItemSelected(n))}),u()}}function wme(o,t){if(1&o){const e=j();d(0,"input",17),T("ngModelChange",function(n){return F(e),S(m().$implicit.isSelected=n)}),u()}2&o&&g("ngModel",m().$implicit.isSelected)}function xme(o,t){if(1&o&&(d(0,"div")(1,"div"),b(2,Cme,1,0,"input",14),b(3,wme,1,1,"input",15),v(4),u()()),2&o){const e=t.$implicit,r=m(3);p(2),g("ngIf",!r.isMultiSelect),p(1),g("ngIf",r.isMultiSelect),p(1),ce(" ",e.text," ")}}function Dme(o,t){if(1&o&&(d(0,"div"),b(1,xme,5,3,"div",13),u()),2&o){const e=m(2);p(1),g("ngForOf",e.secondItems)}}function Mme(o,t){if(1&o){const e=j();d(0,"input",16),T("click",function(){F(e);const n=m().$implicit;return S(m(3).secondItemSelected(n))}),u()}}function kme(o,t){if(1&o){const e=j();d(0,"input",17),T("ngModelChange",function(n){return F(e),S(m().$implicit.isSelected=n)}),u()}2&o&&g("ngModel",m().$implicit.isSelected)}function Eme(o,t){if(1&o&&(d(0,"div")(1,"div"),b(2,Mme,1,0,"input",14),b(3,kme,1,1,"input",15),v(4),u()()),2&o){const e=t.$implicit,r=m(3);p(2),g("ngIf",!r.isMultiSelect),p(1),g("ngIf",r.isMultiSelect),p(1),ce(" ",e.text," ")}}function Tme(o,t){if(1&o&&(d(0,"div"),b(1,Eme,5,3,"div",13),u()),2&o){const e=m(2);p(1),g("ngForOf",e.filteredSecondItems)}}function Fme(o,t){if(1&o){const e=j();d(0,"div",6)(1,"label"),v(2),u(),d(3,"div")(4,"input",10),T("ngModelChange",function(n){return F(e),S(m().searchText=n)}),u()(),d(5,"div",11),b(6,Dme,2,1,"div",12),b(7,Tme,2,1,"div",12),u()()}if(2&o){const e=m();p(2),ae(e.secondLabel),p(2),kv("margin-left:10px;width: 200px; background-image: url('",e.root,"/app/ui-shared/assets/search.png'); background-repeat: no-repeat; background-position: 6px 50%; padding: 7px 8.75px 7px 42px;"),g("ngModel",e.searchText),p(2),g("ngIf",!e.filteredSecondItems),p(1),g("ngIf",e.filteredSecondItems)}}let BB=(()=>{class o{constructor(e,r,n,i){this.glossaryService=e,this.siteContentService=r,this.guideService=n,this.activeModal=i,this.root="",this.isMultiSelect=!1,this.itemsSelected=new ee,this.itemSelected=new ee,He.production&&(this.root=`/${He.moduleRouteHome}`)}set searchText(e){this._searchText=e,this.searchNow()}get searchText(){return this._searchText}ngOnInit(){var e=this;return E(function*(){switch(e.selectedFirstItem={id:"-1",key:"-1",text:"-select-"},e.pickerFor){case"GlossaryTerm":{e.firstLabel="Glossary",e.secondLabel="Term",e.isMultiSelect=!0;let r=(yield e.glossaryService.getGlossaries()).model.map(n=>({id:n.id,key:n.key,text:n.name}));r.unshift(e.selectedFirstItem),e.firstItems=r}break;case"SiteContent":{e.firstLabel="Site Content Category",e.secondLabel="Site Content";let r=(yield e.siteContentService.getContentTypes()).map(n=>({id:n.id,key:n.key,text:n.label}));r.unshift(e.selectedFirstItem),e.firstItems=r}break;case"Guide":{e.firstLabel="Site Guide Category",e.secondLabel="Guide";let r=yield e.guideService.getGuideCategories();r.unshift(e.selectedFirstItem),e.firstItems=r}}})()}searchNow(){this.filteredSecondItems=this.secondItems.filter(e=>e.text.toLowerCase().indexOf(this.searchText?.toLowerCase()??"")>-1)}firstItemSelected(){var e=this;return E(function*(){if(console.log(e.selectedFirstItem),e.selectedFirstItem&&"-1"!=e.selectedFirstItem.id)switch(e.pickerFor){case"GlossaryTerm":let n=(yield e.glossaryService.getGlossary(e.selectedFirstItem.id)).model.definitions.map(i=>({id:`${e.selectedFirstItem.id}${i.id}`,key:i.key,text:i.name,isSelected:!1}));n.unshift({id:"-1",key:"-1",text:"-select-",isSelected:!1}),e.secondItems=n;break;case"SiteContent":e.secondItems=(yield e.siteContentService.getFilteredSiteContent(e.selectedFirstItem.id)).model.map(i=>({id:i.id,key:i.key,text:i.name,isSelected:!1}));break;case"Guide":e.secondItems=(yield e.guideService.loadGuidesByCategory(e.selectedFirstItem.id,!1)).model.map(i=>({id:i.id,key:i.key,text:i.name,isSelected:!1}))}})()}secondItemSelected(e){this.selectedSecondItem=e}done(){this.selectedSecondItem&&this.itemSelected?.emit({id:this.selectedSecondItem.id,key:this.selectedSecondItem.key,text:this.selectedSecondItem.text}),this.itemsSelected?.emit(this.secondItems.filter(e=>e.isSelected).map(e=>({id:e.id,key:e.key,text:e.text}))),this.activeModal.close()}cancel(){this.activeModal.close()}}return o.\u0275fac=function(e){return new(e||o)(O(KM),O(M1),O(MB),O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-item-picker"]],outputs:{itemsSelected:"itemsSelected",itemSelected:"itemSelected"},decls:10,vars:3,consts:[[2,"margin","30px"],[2,"color","var(--color-primary-80)"],["class","form-group",4,"ngIf"],[2,"text-align","right"],[1,"btn","btn-primary",3,"click"],[1,"btn","btn-danger",3,"click"],[1,"form-group"],[1,"form-control","form-select",3,"ngModel","change","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],["type","search","placeholder","Search","aria-controls","DataTables_Table_2",1,"form-control",3,"ngModel","ngModelChange"],[2,"height","400px","width","100%","overflow-y","scroll"],[4,"ngIf"],[4,"ngFor","ngForOf"],["type","radio","name","exclusive-select-picker",3,"click",4,"ngIf"],["type","checkbox",3,"ngModel","ngModelChange",4,"ngIf"],["type","radio","name","exclusive-select-picker",3,"click"],["type","checkbox",3,"ngModel","ngModelChange"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"h3",1),v(2),u(),b(3,bme,5,3,"div",2),b(4,Fme,8,7,"div",2),d(5,"div",3)(6,"button",4),T("click",function(){return r.done()}),v(7,"Done"),u(),d(8,"button",5),T("click",function(){return r.cancel()}),v(9,"Cancel"),u()()()),2&e&&(p(2),ae(r.title),p(1),g("ngIf",r.firstItems),p(1),g("ngIf",r.secondItems))},dependencies:[gt,ve,Qo,en,Ht,fl,No,mt,It]}),o})();function Sme(o,t){if(1&o){const e=j();d(0,"span",14),T("click",function(n){return F(e),m(3).clearEntityHeaderValue(),S(n.stopPropagation())}),P(1,"i",15),u()}}function Pme(o,t){if(1&o){const e=j();d(0,"span")(1,"i",16),T("click",function(){return F(e),S(m(3).showEditor())}),u()()}}const Ime=function(o){return{"picker-link":o}};function Ame(o,t){if(1&o){const e=j();d(0,"span",11),T("click",function(){return F(e),S(m(2).pickEntityHeaderValue())}),d(1,"span",12),v(2),u(),b(3,Sme,2,0,"span",13),b(4,Pme,2,0,"span",9),u()}if(2&o){const e=m(2);let r;p(1),g("ngClass",St(4,Ime,e.field.isUserEditable)),p(1),ae(e.field.value?e.field.value.text:null!==(r=e.field.watermark)&&void 0!==r?r:"-select-"),p(1),g("ngIf",e.field.value&&!e.field.isRequired&&e.field.isUserEditable),p(1),g("ngIf",e.field.editorPath&&e.field.value)}}function Ome(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function Rme(o,t){1&o&&(d(0,"span",17),P(1,"span",18),u()),2&o&&Re("data-target",m(2).popupId)}function Lme(o,t){if(1&o&&(d(0,"div",3)(1,"div",4)(2,"div",5),P(3,"app-form-field-label",6),d(4,"div",7),b(5,Ame,5,6,"span",8),b(6,Ome,2,1,"div",9),u()(),d(7,"div"),b(8,Rme,2,1,"span",10),u()()()),2&o){const e=m();p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled),p(2),g("ngIf",e.field.help)}}let Bme=(()=>{class o extends Ct{constructor(e){super(),this.modalService=e}ngOnInit(){super.ngOnInit()}pickEntityHeaderValue(){if(console.log("Picking entity header for field",this.field),this.field.selectEntityHeader&&this.field.isUserEditable)this.field.selectEntityHeader(this.field);else if(this.field.pickerFor){const e=this.modalService.open(BB,{size:"lg"}).componentInstance;e.pickerFor=this.field.pickerFor,e.title=`Select ${this.field.label}`,e.model=this.model,e.view=this.view,e.itemSelected.subscribe(r=>{this.field.value=r,this.field.display=r.text,this.changed(this.field)})}else if(Sf.supportsPicker(this.field.name)||this.field.entityHeaderPickerUrl){const e=this.modalService.open(Sf,{size:"lg"}).componentInstance;e.pickerType=this.field.name,e.entityHeaderPickerUrl=this.field.entityHeaderPickerUrl,e.factoryUrl=this.field.factoryUrl,e.title=`Select ${this.field.label}`,e.model=this.model,e.view=this.view,e.parentForm=this.form,e.itemSelected.subscribe(r=>{this.field.value=r,this.field.display=r.text,this.changed(this.field)})}}clearEntityHeaderValue(){this.field.clearEntityHeader&&this.field.isUserEditable?this.field.clearEntityHeader(this.field):(this.field.value=void 0,this.field.display=void 0),this.changed(this.field)}showEditor(){console.log(this.field.value.id,this.field.editorPath);var e=this.field.editorPath.replace("{id}",this.field.value.id);window.open(e)}}return o.\u0275fac=function(e){return new(e||o)(O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-entity-header-picker"]],features:[Te],decls:3,vars:8,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[3,"click"],[3,"ngClass"],["class","picker-link-remove","style","margin-left:20px",3,"click",4,"ngIf"],[1,"picker-link-remove",2,"margin-left","20px",3,"click"],[1,"fa","fa-trash","action-danger"],[1,"fa-solid","fa-arrow-up-right-from-square","action",3,"click"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&(b(0,Lme,9,6,"div",0),P(1,"app-form-field-validation-section",1)(2,"app-form-field-help",2)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Fo,ve,rr,or,ar],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})(),Pf=(()=>{class o{constructor(e){this.nuviotClient=e,this._libraries$=new pt,this._library$=new pt,this._resources$=new pt,this._resource$=new pt}loadMediaLibraries(){return this.nuviotClient.getListResponse("/api/media/libraries")}loadMediaLibrariesForCustomer(e){return this.nuviotClient.getListResponse(`/api/customer/${e}/media/libraries`)}loadMediaResources(e){return this.nuviotClient.getListResponse(`/api/media/library/${e}/resources`)}loadMediaResourcesForMediaTypeKey(e){return this.nuviotClient.getListResponse(`/api/media/mediatype/key/${e}/resources`)}createMediaLibrary(){return this.nuviotClient.getFormResponse("/api/media/library/factory")}loadMediaLibrary(e){return this.nuviotClient.getFormResponse(`/api/media/library/${e}`)}insertMediaLibrary(e){return this.nuviotClient.insert("/api/media/library",e)}updateMediaLibrary(e){return this.nuviotClient.update("/api/media/library",e)}saveMediaLibrary(e){return e.isEditing?this.updateMediaLibrary(e.model):this.insertMediaLibrary(e.model)}generateMediaResource(e){return this.nuviotClient.postWithResponse("/api/media/resource/texttospeech",e)}updateGeneratedMediaResource(e,r){return this.nuviotClient.update(`/api/media/resource/texttospeech/${e}`,r)}getVoices(e){return this.nuviotClient.request(`/api/media/resource/texttospeech/voices/${e}`)}createMediaResource(e){return this.nuviotClient.postWithResponse("/api/media/resource/request",e)}cloneMediaResource(e,r,n,i){let a=`/api/media/resource/${e}/clone?t=1`;return n&&(a+=`&entityFieldName=${n}`),r&&(a+=`&entityTypeName=${r}`),i&&(a+=`&resourceName=${i}`),this.nuviotClient.request(a)}setRating(e,r){return this.nuviotClient.updateWithResponse(`/api/entity/${e}/rate/${r}`,{})}clearRating(e){return this.nuviotClient.deleteWithResponse(`/api/entity/${e}/rating`)}assignCategory(e,r){return this.nuviotClient.updateWithResponse(`/api/entity/${e}/category`,r)}newMediaResource(){return this.nuviotClient.getFormResponse("/api/media/resource/factory")}loadMediaResource(e){return this.nuviotClient.getFormResponse(`/api/media/resource/${e}`)}insertMediaResource(e){return this.nuviotClient.postWithResponse("/api/media/resource",e)}updateMediaResource(e){return this.nuviotClient.updateWithResponse("/api/media/resource",e)}setMediaRevision(e,r){return this.nuviotClient.request(`/api/media/resource/${e}/revision/${r}/set`)}getMediaByCategory(e){return this.nuviotClient.getListResponse("/api/media/resources",{categoryKey:e})}getAllMedia(e=1,r=10){return this.nuviotClient.getListResponse("/api/media/resources",{pageIndex:e,pageSize:r})}saveMediaResource(e){return e.isEditing?this.updateMediaResource(e.model):this.insertMediaResource(e.model)}onMediaLibraries(){this._libraries$.asObservable()}onMediaLibrary(){this._library$.asObservable()}onMediaResources(){this._resources$.asObservable()}onMediaResource(){this._resource$.asObservable()}setMediaLibraries(e){this._mediaLibraries=e,this._libraries$.next(e)}setMediaLibrary(e){this._mediaLibrary=e,this._library$.next(e)}setMediaResources(e){this._mediaResoures=e,this._resources$.next(e)}setMediaResource(e){this._mediaResource=e,this._resource$.next(e)}getMediaLibraries(){return this._mediaLibraries}getMediaLibrary(){return this._mediaLibrary}getMediaResources(){return this._mediaResoures}getMediaResource(){return this._mediaResource}searchImages(e,r="smithsonian_air_and_space_museum",n=1){return this.nuviotClient.getListResponse(`/api/media/images/search?term=${e}&source=${r}`,{pageIndex:n,pageSize:20})}resizeMediaResource(e,r){return this.nuviotClient.updateWithResponse(`/api/media/resource/${e}/resize`,r)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function Nme(o,t){1&o&&(d(0,"label"),v(1,"Image Generation"),u())}function Hme(o,t){1&o&&(d(0,"label"),v(1,"Request Updates"),u())}function Vme(o,t){1&o&&(d(0,"span"),v(1,"(current)"),u())}const $me=function(o){return{"font-weight:bold":o}};function zme(o,t){if(1&o&&(d(0,"option",27)(1,"span",28),v(2),xr(3,"dateTimePrinter"),b(4,Vme,2,0,"span",14),u()()),2&o){const e=t.$implicit,r=m(2);g("value",e.id),p(1),g("ngStyle",St(7,$me,e.id==r.existingResource.currentRevision)),p(1),Eo("",e.name," - ",Dr(3,5,e.creationDate)," "),p(2),g("ngIf",e.id==r.existingResource.currentRevision)}}function Yme(o,t){if(1&o){const e=j();d(0,"div")(1,"textarea",32),T("ngModelChange",function(n){return F(e),S(m(3).revision.originalPrompt=n)}),u()()}if(2&o){const e=m(3);p(1),g("ngModel",e.revision.originalPrompt)}}function jme(o,t){if(1&o){const e=j();d(0,"div")(1,"textarea",32),T("ngModelChange",function(n){return F(e),S(m(3).revision.revisedPrompt=n)}),u()()}if(2&o){const e=m(3);p(1),g("ngModel",e.revision.revisedPrompt)}}function Ume(o,t){if(1&o){const e=j();d(0,"div")(1,"div",29)(2,"label"),v(3,"View: "),u(),d(4,"input",30),T("ngModelChange",function(n){return F(e),S(m(2).promptType=n)}),u(),v(5," Original Prompt "),d(6,"input",31),T("ngModelChange",function(n){return F(e),S(m(2).promptType=n)}),u(),v(7," Revised Prompt "),u(),b(8,Yme,2,1,"div",14),b(9,jme,2,1,"div",14),u()}if(2&o){const e=m(2);p(4),g("ngModel",e.promptType),p(2),g("ngModel",e.promptType),p(2),g("ngIf","original"==e.promptType),p(1),g("ngIf","revised"==e.promptType)}}function Wme(o,t){if(1&o){const e=j();d(0,"div",1)(1,"div",20)(2,"label"),v(3,"Revisions"),u(),d(4,"div",1)(5,"select",21),T("ngModelChange",function(n){return F(e),S(m().currentRevisionId=n)})("change",function(n){return F(e),S(m().onRevisionSelected(n))}),b(6,zme,5,9,"option",22),u(),d(7,"button",23),T("click",function(){F(e);const n=m();return S(n.applyRevision(n.revision))}),v(8,"Use this Revision"),u()(),b(9,Ume,10,4,"div",14),u(),d(10,"div",24),P(11,"img",25)(12,"div",26),u()()}if(2&o){const e=m();p(5),g("ngModel",e.currentRevisionId),p(1),g("ngForOf",e.existingResource.history),p(1),g("disabled",e.revision.id==e.existingResource.currentRevision),p(2),g("ngIf",e.revision.originalPrompt),p(2),g("src",e.getImageUrl(e.revision),Zo)}}function Gme(o,t){1&o&&P(0,"div",33)}function qme(o,t){if(1&o&&(d(0,"div",34)(1,"h4"),v(2,"Please Wait..."),u(),d(3,"h4"),v(4,"...I'll Be Back"),u(),d(5,"h4"),v(6,"This could take a couple of minutes "),u(),d(7,"h4"),v(8,"...seriously..."),u(),P(9,"app-loading-spinner",35),u()),2&o){const e=m();p(9),g("caption",e.terminatorQuote)}}let Kme=(()=>{class o{constructor(e,r,n){this.mlService=e,this.activeModal=r,this.mediaService=n,this.busy=!1,this.terminatorQuotes=["Hasta la vista, baby","Come with me if you want to live","I need your clothes, your boots, and your motorcycle","I know Now Why You Cry, But It\u2019s Something I Can Never Do.","I\u2019m a cybernetic organism. Living tissue over a metal endoskeleton.","If A Machine, A Terminator, Can Learn The Value Of Human Life, Maybe We Can, Too.","All You Know How To Create Is Death And Destruction","She\u2019s A Priority To Me","If Someone Comes Up To You With An Attitude, You Say, 'Eat Me'","You Just Can\u2019t Go Around Killing People","Your Foster Parents Are Dead.","My Mission Is To Protect You","Maybe It\u2019ll Be Enough If You Know That, In The Few Hours We Had Together, We Loved A Lifetime\u2019s Worth","You\u2019re Terminated","So You Feel Nothing?","It Doesn\u2019t Feel Pity, Or Remorse, Or Fear, And It Absolutely Will Not Stop, Ever, Until You Are Dead!","His Name Is Connor. John Connor. Your Son, Sarah\u2026 Your Unborn Son","Cyborgs Don\u2019t Feel Pain. I Do","Your Clothes, Give Them To Me, Now","The Future Has Not Been Written. There Is No Fate But What We Make For Ourselves.","Judgment Day Is Inevitable","The Strength Of The Human Heart. The Difference Between Us And Machines.","This Is The World Now. Logged On, Plugged In, All The Time.","Skynet Was Gone. And Now One Road Has Become Many","When This Is All Over, I Am Going To Kill You","You Need Butterflies, Polka Dots, Balloons","I Am Human. Just Enhanced","Because I Was Her. And It Sucks","Once, I Saved Three Billion Lives\u2026 But I Couldn\u2019t Save My Son","I\u2019m Never Going To Fu**ing Call You Car","You Chose To Destroy Skynet. You Set Me Free"],this.imageType="-1",this.isPublic=!0,this.promptType="original",this.baseUrl=He.siteUri,this.imageGeneration=1,this.onApplyContent=new ee}ngOnInit(){this.aspectRatio="Auto"}getImageUrl(e){return`${this.baseUrl}/api/media/resource/${this.existingResource.id}/download/${e.id}`}generate(){var e=this;return E(function*(){let r=parseInt((Math.random()*e.terminatorQuotes.length).toString());if(e.terminatorQuote=e.terminatorQuotes[r],console.log(e.terminatorQuote),e.busy=!0,!e.additionalInformation)return void alert("Prompt is required");let n="Auto"!=e.aspectRatio?`${e.additionalInformation} aspect ratio should be ${e.aspectRatio}`:e.additionalInformation;"-1"!==e.imageType&&(n="Create a "+e.imageType+". "+n);let i={contentType:e.contentType,additionalDetails:n,numberGenerated:1,imageType:e.imageType,fullRequest:e.fullRequest,resourceName:e.resourceName,entityFieldName:e.entityFieldName,entityTypeName:e.entityTypeName,previousResponseId:e.revision?.responseId??null,mediaResourceId:e.existingResource?e.existingResource.id:null};e.imageGeneration++;let a=yield e.mlService.generateImage(i);e.busy=!1,a.successful&&(e.existingResource=a.result[0],e.revision=e.existingResource.currentRevision?e.existingResource.history.find(s=>s.id===e.existingResource.currentRevision):e.existingResource.history[0],e.currentRevisionId=e.revision.id,e.additionalInformation="")})()}onRevisionSelected(e){this.revision=this.existingResource.history.find(r=>r.id===this.currentRevisionId),this.promptType="original"}apply(){var e=this;return E(function*(){e.onApplyContent.emit({id:e.existingResource.id,key:e.existingResource.key,text:e.existingResource.fileName}),e.activeModal.close()})()}applyRevision(e){var r=this;return E(function*(){r.existingResource.currentRevision=e.id,r.mediaService.setMediaRevision(r.existingResource.id,e.id),r.onApplyContent.emit({id:r.existingResource.id,key:r.existingResource.key,text:r.existingResource.fileName})})()}cancel(){this.activeModal.close()}}return o.\u0275fac=function(e){return new(e||o)(O(WM),O(xo),O(Pf))},o.\u0275cmp=ne({type:o,selectors:[["app-image-generator"]],decls:53,vars:10,consts:[[2,"padding","10pt","position","relative"],[2,"display","flex"],[2,"flex-grow","1"],[1,"fa","fa-chevron-left","action",3,"click"],[1,"fa","fa-user-robot",2,"color","var(--color-accent)"],[1,"action",3,"click"],[1,"fa","fa-save"],[1,"form-group",2,"flex-grow","1"],[1,"form-select",3,"ngModel","ngModelChange"],["value","-1"],[1,"form-group",2,"flex-grow","1","margin-left","15px"],[2,"display","inline"],["type","checkbox",3,"ngModel","ngModelChange"],[1,"form-group",2,"margin-top","10px"],[4,"ngIf"],[1,"form-control",2,"height","120px",3,"placeholder","ngModel","ngModelChange"],[1,"btn","btn-primary",2,"height","120px","margin-left","10px",3,"click"],["style","display:flex",4,"ngIf"],["style","width: 100%; height: 100%;opacity: 0.5; background-color: black;position: absolute;top:0",4,"ngIf"],["style","color:white; text-align: center;padding-top: 200px; position: absolute;top:0; width: 100%",4,"ngIf"],[2,"width","50%"],[1,"form-select",3,"ngModel","ngModelChange","change"],[3,"value",4,"ngFor","ngForOf"],[1,"btn","btn-primary",2,"margin-left","10px",3,"disabled","click"],[2,"width","50%","margin","5px"],[2,"width","100%",3,"src"],[2,"margin","10px"],[3,"value"],[3,"ngStyle"],[2,"margin-top","10px"],["type","radio","name","promptType","value","original",2,"margin-left","10px",3,"ngModel","ngModelChange"],["type","radio","name","promptType","value","revised",2,"margin-left","10px",3,"ngModel","ngModelChange"],["rows","14",1,"form-control",2,"margin-top","10px",3,"ngModel","ngModelChange"],[2,"width","100%","height","100%","opacity","0.5","background-color","black","position","absolute","top","0"],[2,"color","white","text-align","center","padding-top","200px","position","absolute","top","0","width","100%"],[3,"caption"]],template:function(e,r){1&e&&(d(0,"div")(1,"div",0)(2,"div",1)(3,"h2",2)(4,"i",3),T("click",function(){return r.cancel()}),u(),P(5,"i",4),v(6," T-801 Cyber-Dime Image Generator Bot"),u(),d(7,"span",5),T("click",function(){return r.apply()}),P(8,"i",6),v(9," Save"),u()(),d(10,"div",1)(11,"div",7)(12,"label"),v(13,"Image Type"),u(),d(14,"select",8),T("ngModelChange",function(i){return r.imageType=i}),d(15,"option",9),v(16,"-type of image to generate-"),u(),d(17,"option"),v(18,"Flat Design Illustration with people having distorted features with a white background"),u(),d(19,"option"),v(20,"Photo Realistic"),u(),d(21,"option"),v(22,"Abstract"),u(),d(23,"option"),v(24,"Illustration"),u()()(),d(25,"div",10)(26,"label",11),v(27,"Is Public: "),u(),P(28,"br"),d(29,"input",12),T("ngModelChange",function(i){return r.isPublic=i}),u()(),d(30,"div",7)(31,"label"),v(32,"Aspect Ratio"),u(),d(33,"select",8),T("ngModelChange",function(i){return r.aspectRatio=i}),d(34,"option"),v(35,"Auto"),u(),v(36,"] "),d(37,"option"),v(38,"Square"),u(),d(39,"option"),v(40,"Portrait"),u(),d(41,"option"),v(42,"Landscape"),u()()()(),d(43,"div",13),b(44,Nme,2,0,"label",14),b(45,Hme,2,0,"label",14),d(46,"div",1)(47,"textarea",15),T("ngModelChange",function(i){return r.additionalInformation=i}),u(),d(48,"button",16),T("click",function(){return r.generate()}),v(49,"Ask Terminator"),u()()(),b(50,Wme,13,5,"div",17),u(),b(51,Gme,1,0,"div",18),b(52,qme,10,1,"div",19),u()),2&e&&(p(14),g("ngModel",r.imageType),p(15),g("ngModel",r.isPublic),p(4),g("ngModel",r.aspectRatio),p(11),g("ngIf",!(null!=r.revision&&r.revision.originalPrompt)),p(1),g("ngIf",null==r.revision?null:r.revision.originalPrompt),p(2),Ne("placeholder",null!=r.revision&&r.revision.originalPrompt?"provide some changes that you would you like to make to the image.":"provides some details about the image you would like to create"),g("ngModel",r.additionalInformation),p(3),g("ngIf",r.revision),p(1),g("ngIf",r.busy),p(1),g("ngIf",r.busy))},dependencies:[gt,ve,ml,Qo,en,Ht,fl,No,bx,mt,It,GM,tf],styles:["label[_ngcontent-%COMP%]{font-weight:700}"]}),o})();function Zme(o,t){if(1&o){const e=j();d(0,"div")(1,"img",9),T("click",function(){const i=F(e).$implicit;return S(m(2).select(i))}),u()()}if(2&o){const e=t.$implicit;p(1),g("src",e.thumbnail,Zo)}}function Xme(o,t){if(1&o&&(d(0,"div",7),b(1,Zme,2,1,"div",8),u()),2&o){const e=m();p(1),g("ngForOf",e.results.model)}}function Jme(o,t){if(1&o){const e=j();d(0,"div"),P(1,"img",10),d(2,"div")(3,"h4"),v(4),u(),d(5,"label"),v(6,"License:"),u(),d(7,"a",11),v(8),u(),d(9,"label",12),v(10,"Size:"),u(),v(11),u(),d(12,"div",13)(13,"button",14),T("click",function(){return F(e),S(m().apply())}),v(14,"Apply"),u(),d(15,"button",15),T("click",function(){return F(e),S(m().selectedImage=void 0)}),v(16,"Cancel"),u()()()}if(2&o){const e=m();p(1),Ne("src",e.selectedImage.url,Zo),p(3),ae(e.selectedImage.title),p(3),Ne("href",e.selectedImage.license_url,Zo),p(1),ae(e.selectedImage.license),p(3),Eo(" ",e.selectedImage.width,"x",e.selectedImage.height," ")}}let Qme=(()=>{class o{constructor(e,r){this.mediaService=e,this.activeModal=r,this.isPublic=!1,this.onApplyContent=new ee}ngOnInit(){}searchNow(){var e=this;return E(function*(){e.results=void 0,e.selectedImage=void 0,e.results=yield e.mediaService.searchImages(e.searchQuery,e.source)})()}apply(){var e=this;return E(function*(){let r=new Date,n=e.selectedImage.url.split(".").pop();n=n??"png";let a={fileName:`FromSearch_${Dt.toDateOnly(r).replaceAll("/","")}_${Dt.dateToHHMM(r).replace(":","")}.${n}`,isPublic:e.isPublic,uri:e.selectedImage.url,license:e.selectedImage.license_url},s=yield e.mediaService.createMediaResource(a);console.log(s),e.onApplyContent.emit({id:s.result.id,key:s.result.key,text:s.result.fileName}),e.activeModal.close()})()}select(e){this.selectedImage=e}}return o.\u0275fac=function(e){return new(e||o)(O(Pf),O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-image-search"]],decls:12,vars:4,consts:[[2,"padding","10pt","position","relative"],["s","",1,"form-group"],["placeholder","image search criteria",1,"form-control",3,"ngModel","ngModelChange","keydown.enter"],[2,"text-align","right","margin-top","10px","margin-bottom","10px"],[1,"btn","btn-primary",3,"disabled","click"],["style","display:flex; flex-wrap: wrap;",4,"ngIf"],[4,"ngIf"],[2,"display","flex","flex-wrap","wrap"],[4,"ngFor","ngForOf"],[2,"max-width","200px","max-height","200px","margin","5px","border-radius","12px",3,"src","click"],[2,"max-width","100%","max-height","100%",3,"src"],["target","_blank",3,"href"],[2,"margin-right","30px"],[2,"text-align","right"],[1,"btn","btn-primary",2,"margin-left","20px",3,"click"],[1,"btn","btn-danger",3,"click"]],template:function(e,r){1&e&&(d(0,"div")(1,"div",0)(2,"h4"),v(3,"Image Search"),u(),P(4,"hr"),d(5,"div",1)(6,"input",2),T("ngModelChange",function(i){return r.searchQuery=i})("keydown.enter",function(){return r.searchNow()}),u()(),d(7,"div",3)(8,"button",4),T("click",function(){return r.searchNow()}),v(9,"Search"),u()(),b(10,Xme,2,1,"div",5),b(11,Jme,17,6,"div",6),u()()),2&e&&(p(6),g("ngModel",r.searchQuery),p(2),g("disabled",!r.searchQuery),p(2),g("ngIf",r.results&&!r.selectedImage),p(1),g("ngIf",r.selectedImage))},dependencies:[gt,ve,Ht,mt,It],styles:["label[_ngcontent-%COMP%]{font-weight:700;margin-right:10px}"]}),o})();function efe(o,t){if(1&o){const e=j();d(0,"li",8)(1,"div",9)(2,"div",10),v(3),u(),d(4,"div")(5,"span",11),T("click",function(){const i=F(e).$implicit;return S(m(3).applyContentAsLink(i))}),v(6,"Link to Content"),u(),d(7,"span",11),T("click",function(){const i=F(e).$implicit;return S(m(3).editContent(i))}),v(8,"Edit"),u()()()()}if(2&o){const e=t.$implicit;p(3),ce(" ",e.name," ")}}function tfe(o,t){if(1&o&&(d(0,"ol",6),b(1,efe,9,1,"li",7),u()),2&o){const e=m(2);p(1),g("ngForOf",e.items.model)}}function rfe(o,t){1&o&&(d(0,"div"),v(1," Sorry, no shared images available for this content type. "),u())}function ofe(o,t){if(1&o){const e=j();d(0,"div")(1,"button",13),T("click",function(){return F(e),S(m(3).saveToLibrary())}),v(2,"Add to image library"),u()()}}function nfe(o,t){if(1&o){const e=j();d(0,"div")(1,"span"),v(2,"Name *"),u(),d(3,"input",12),T("ngModelChange",function(n){return F(e),S(m(2).resource.name=n)}),u(),b(4,ofe,3,0,"div",3),u()}if(2&o){const e=m(2);p(3),g("ngModel",e.resource.name),p(1),g("ngIf",!e.resource.mediaTypeKey)}}function ife(o,t){if(1&o){const e=j();d(0,"div",1)(1,"h4"),v(2),u(),P(3,"hr"),d(4,"div")(5,"strong"),v(6,"Model:"),u(),v(7),u(),d(8,"div")(9,"strong"),v(10,"Field Text:"),u(),v(11),u(),d(12,"div")(13,"strong"),v(14,"Key:"),u(),v(15),u(),b(16,tfe,2,1,"ol",2),b(17,rfe,2,0,"div",3),b(18,nfe,5,2,"div",3),P(19,"hr"),d(20,"div",4)(21,"button",5),T("click",function(){return F(e),S(m().cancel())}),v(22,"Cancel"),u()()()}if(2&o){const e=m();p(2),ae(e.field.label),p(5),ce(" ",e.field.host.form.modelTitle,""),p(4),ce(" ",e.field.label,""),p(4),ce(" ",e.mediaTypeKey,""),p(1),g("ngIf",e.items&&e.items.model.length>0),p(1),g("ngIf",e.items&&0==e.items.model.length),p(1),g("ngIf",e.resource)}}let afe=(()=>{class o{constructor(e,r){this.activeModal=e,this.mediaService=r}ngOnInit(){var e=this;return E(function*(){if(console.log(e.field.host.form),e.mediaTypeKey=`${e.field.host.form.modelName.toLowerCase()}-${e.field.name.toLowerCase()}`,e.items=yield e.mediaService.loadMediaResourcesForMediaTypeKey(e.mediaTypeKey),e.field.value){let r=e.field.value,n=yield e.mediaService.loadMediaResource(r.id);n.successful&&(e.resource=n.model)}console.log(e.items)})()}applyContentAsLink(e){console.log("applyContentAsLink",e),this.field.value={id:e.id,text:e.name,name:e.name,key:e.key},this.activeModal.close(),this.fieldChange(this.field)}editContent(e){var r=this;return E(function*(){r.editResource=(yield r.mediaService.loadMediaResource(e.id)).model})()}saveToLibrary(){this.resource.mediaTypeKey=this.mediaTypeKey,this.mediaService.updateMediaResource(this.resource),this.activeModal.close(this.resource)}getImageUrl(e){return""}cancel(){this.activeModal.dismiss()}}return o.\u0275fac=function(e){return new(e||o)(O(xo),O(Pf))},o.\u0275cmp=ne({type:o,selectors:[["app-image-library"]],inputs:{field:"field"},outputs:{fieldChange:"fieldChange"},decls:1,vars:1,consts:[["style","padding:10px",4,"ngIf"],[2,"padding","10px"],["class","list-group",4,"ngIf"],[4,"ngIf"],[2,"text-align","right"],[1,"btn","btn-danger",3,"click"],[1,"list-group"],["class","list-group-item",4,"ngFor","ngForOf"],[1,"list-group-item"],[2,"display","flex"],[2,"flex-grow","1"],[1,"action",3,"click"],["type","text",1,"form-control",3,"ngModel","ngModelChange"],[1,"btn","btn-success",3,"click"]],template:function(e,r){1&e&&b(0,ife,23,7,"div",0),2&e&&g("ngIf",r.field)},dependencies:[gt,ve,Ht,mt,It],styles:["label[_ngcontent-%COMP%]{font-weight:700}label[_ngcontent-%COMP%] span.required[_ngcontent-%COMP%]{color:red}"]}),o})(),ZM=(()=>{class o{constructor(e){this.fileOver=new ee,this.onFileDrop=new ee,this.element=e}getOptions(){return this.uploader.options}getFilters(){return{}}onDrop(e){let r=this._getTransfer(e);if(!r)return;let n=this.getOptions(),i=this.getFilters();this._preventAndStop(e),this.uploader.addToQueue(r.files,n,i),this.fileOver.emit(!1),this.onFileDrop.emit(r.files)}onDragOver(e){let r=this._getTransfer(e);!this._haveFiles(r.types)||(r.dropEffect="copy",this._preventAndStop(e),this.fileOver.emit(!0))}onDragLeave(e){e.currentTarget!==this.element[0]&&(this._preventAndStop(e),this.fileOver.emit(!1))}_getTransfer(e){return e.dataTransfer?e.dataTransfer:e.originalEvent.dataTransfer}_preventAndStop(e){e.preventDefault(),e.stopPropagation()}_haveFiles(e){return!!e&&(e.indexOf?-1!==e.indexOf("Files"):!!e.contains&&e.contains("Files"))}}return o.\u0275fac=function(e){return new(e||o)(O(dt))},o.\u0275dir=Se({type:o,selectors:[["","ng2FileDrop",""]],hostBindings:function(e,r){1&e&&T("drop",function(i){return r.onDrop(i)})("dragover",function(i){return r.onDragOver(i)})("dragleave",function(i){return r.onDragLeave(i)})},inputs:{uploader:"uploader"},outputs:{fileOver:"fileOver",onFileDrop:"onFileDrop"}}),o})(),XM=(()=>{class o{constructor(e){this.element=e}getOptions(){return this.uploader.options}getFilters(){}isEmptyAfterSelection(){return!!this.element.nativeElement.attributes.multiple}onChange(){let e=this.element.nativeElement.files,r=this.getOptions(),n=this.getFilters();this.uploader.addToQueue(e,r,n),this.isEmptyAfterSelection()}}return o.\u0275fac=function(e){return new(e||o)(O(dt))},o.\u0275dir=Se({type:o,selectors:[["","ng2FileSelect",""]],hostBindings:function(e,r){1&e&&T("change",function(){return r.onChange()})},inputs:{uploader:"uploader"}}),o})();const Fl=function(o,t){return{"fa-star":o,"fa-star-o":t}};function sfe(o,t){if(1&o){const e=j();d(0,"div"),P(1,"i",2)(2,"i",3)(3,"i",3)(4,"i",3)(5,"i",3),d(6,"i",4),T("click",function(){return F(e),S(m().clearRating())}),u()()}if(2&o){const e=m();p(2),g("ngClass",Br(4,Fl,e.rating.stars>=2,e.rating.stars<2)),p(1),g("ngClass",Br(7,Fl,e.rating.stars>=3,e.rating.stars<3)),p(1),g("ngClass",Br(10,Fl,e.rating.stars>=4,e.rating.stars<4)),p(1),g("ngClass",Br(13,Fl,e.rating.stars>=5,e.rating.stars<5))}}const If=function(o){return{color:o}};function lfe(o,t){if(1&o){const e=j();d(0,"div")(1,"i",5),T("mouseover",function(){return F(e),S(m().highlightRating(1))})("mouseleave",function(){return F(e),S(m().reset())})("click",function(){return F(e),S(m().rate(1))}),u(),d(2,"i",5),T("mouseover",function(){return F(e),S(m().highlightRating(2))})("mouseleave",function(){return F(e),S(m().reset())})("click",function(){return F(e),S(m().rate(2))}),u(),d(3,"i",5),T("mouseover",function(){return F(e),S(m().highlightRating(3))})("mouseleave",function(){return F(e),S(m().reset())})("click",function(){return F(e),S(m().rate(3))}),u(),d(4,"i",5),T("mouseover",function(){return F(e),S(m().highlightRating(4))})("mouseleave",function(){return F(e),S(m().reset())})("click",function(){return F(e),S(m().rate(4))}),u(),d(5,"i",5),T("mouseover",function(){return F(e),S(m().highlightRating(5))})("mouseleave",function(){return F(e),S(m().reset())})("click",function(){return F(e),S(m().rate(5))}),u()()}if(2&o){const e=m();p(1),g("ngStyle",St(10,If,e.tempStars>=1?"gold":"gray"))("ngClass",Br(12,Fl,e.tempStars>=1,!e.tempStars)),p(1),g("ngStyle",St(15,If,e.tempStars>=2?"gold":"gray"))("ngClass",Br(17,Fl,e.tempStars>=2,!e.tempStars||e.tempStars<2)),p(1),g("ngStyle",St(20,If,e.tempStars>=3?"gold":"gray"))("ngClass",Br(22,Fl,e.tempStars>=3,!e.tempStars||e.tempStars<3)),p(1),g("ngStyle",St(25,If,e.tempStars>=4?"gold":"gray"))("ngClass",Br(27,Fl,e.tempStars>=4,!e.tempStars||e.tempStars<4)),p(1),g("ngStyle",St(30,If,5==e.tempStars?"gold":"gray"))("ngClass",Br(32,Fl,5==e.tempStars,!e.tempStars||e.tempStars<5))}}let cfe=(()=>{class o{constructor(){this.set=new ee,this.clear=new ee}ngOnInit(){}highlightRating(e){this.tempStars=e}reset(){this.tempStars=void 0}rate(e){this.set?.emit(e)}clearRating(){this.clear?.emit()}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-rating"]],inputs:{rating:"rating"},outputs:{set:"set",clear:"clear"},decls:3,vars:2,consts:[[2,"margin-top","10px","margin-bottom","10px"],[4,"ngIf"],[1,"fa","fa-star",2,"color","gold"],[1,"fa",2,"color","gold",3,"ngClass"],["title","Remove my rating",1,"fa","fa-trash","action-danger",3,"click"],[1,"fa",3,"ngStyle","ngClass","mouseover","mouseleave","click"]],template:function(e,r){1&e&&(d(0,"div",0),b(1,sfe,7,16,"div",1),b(2,lfe,6,35,"div",1),u()),2&e&&(p(1),g("ngIf",r.rating),p(1),g("ngIf",!r.rating))},dependencies:[Fo,ve,ml],styles:["i[_ngcontent-%COMP%]{cursor:pointer;font-size:1.5em}"]}),o})();const dfe=["mediaLibraryModal"],ufe=["advancedView"];function pfe(o,t){if(1&o){const e=j();d(0,"div",3),T("click",function(){return F(e),S(m().generateImage())}),P(1,"i",15),d(2,"span",16),v(3,"AI"),u()()}}function hfe(o,t){if(1&o){const e=j();d(0,"div",3),T("click",function(){return F(e),S(m().downloadFile())}),P(1,"i",17),v(2,"Download"),u()}}function gfe(o,t){if(1&o){const e=j();d(0,"div",3),T("click",function(){return F(e),S(m().showAdvanced())}),P(1,"i",18),v(2,"Advanced"),u()}}function mfe(o,t){if(1&o){const e=j();d(0,"div",19),T("click",function(){F(e);const n=m();return n.field.value=void 0,n.downloadFileName=void 0,n.fileNameOrStatus=void 0,S(n.error=void 0)}),P(1,"i",20),v(2,"Remove"),u()}}function ffe(o,t){1&o&&(d(0,"span",21),v(1,"Help"),u()),2&o&&Re("data-target",m().popupId)}const _fe=function(o){return{width:o}};function vfe(o,t){if(1&o&&(d(0,"div"),v(1),d(2,"div",27),P(3,"div",28),u()()),2&o){const e=m(3);p(1),ce(" ",e.fileNameOrStatus," "),p(2),g("ngStyle",St(2,_fe,e.uploader.progress+"%"))}}function yfe(o,t){if(1&o&&(d(0,"div")(1,"span",29),v(2),u()()),2&o){const e=m(3);p(2),ae(e.error)}}const bfe=function(o){return{"nv-file-over":o}};function Cfe(o,t){if(1&o){const e=j();d(0,"div")(1,"div",1)(2,"span",23),T("fileOver",function(n){return F(e),S(m(2).fileOverBase(n))}),P(3,"i",24),u(),d(4,"span",25)(5,"span"),v(6,"Select File"),u(),P(7,"input",26),u()(),b(8,vfe,4,4,"div",8),b(9,yfe,3,1,"div",8),u()}if(2&o){const e=m(2);p(2),g("ngClass",St(5,bfe,e.hasBaseDropZoneOver))("uploader",e.uploader),p(5),g("uploader",e.uploader),p(1),g("ngIf",e.fileNameOrStatus&&!e.error),p(1),g("ngIf",e.error)}}function wfe(o,t){1&o&&P(0,"img",32),2&o&&g("src",m(3).downloadFileName,Zo)}function xfe(o,t){if(1&o&&(d(0,"span",33)(1,"label"),v(2,"File Name:"),u(),v(3),u()),2&o){const e=m(3);p(3),ce(" ",e.field.value.text," ")}}function Dfe(o,t){if(1&o&&(d(0,"div",1)(1,"div"),b(2,wfe,1,1,"img",30),b(3,xfe,4,1,"span",31),u()()),2&o){const e=m(2);p(2),g("ngIf",e.field.isFileUploadImage),p(1),g("ngIf",!e.field.isFileUploadImage)}}function Mfe(o,t){if(1&o&&(d(0,"div"),b(1,Cfe,10,7,"div",8),b(2,Dfe,4,2,"div",22),u()),2&o){const e=m();p(1),g("ngIf",!e.downloadFileName),p(1),g("ngIf",e.downloadFileName)}}function kfe(o,t){if(1&o&&(d(0,"option",43),v(1),u()),2&o){const e=t.$implicit;g("value",e.key),p(1),ae(e.name)}}function Efe(o,t){if(1&o&&P(0,"img",53),2&o){const e=m().$implicit;Ne("alt",e.name),g("src",e.link,Zo)}}function Tfe(o,t){if(1&o){const e=j();d(0,"tr")(1,"td",48)(2,"div",49),b(3,Efe,1,2,"img",50),u()(),d(4,"td"),v(5),u(),d(6,"td"),v(7),u(),d(8,"td")(9,"span",51),T("click",function(){const i=F(e).$implicit;return S(m(3).selectResource(i))}),v(10,"Use as a Share"),u()(),d(11,"td")(12,"span",52),T("click",function(){const i=F(e).$implicit;return S(m(3).makeACopy(i))}),v(13,"Make a Copy"),u()()()}if(2&o){const e=t.$implicit;p(3),g("ngIf",e.link),p(2),ce(" ",e.name," "),p(2),ce(" ",e.category," ")}}function Ffe(o,t){if(1&o){const e=j();d(0,"div",54)(1,"span",3),T("click",function(){return F(e),S(m(3).showNextPage())}),v(2,"Next Page"),P(3,"i",55),u()()}}function Sfe(o,t){if(1&o&&(d(0,"div")(1,"table",44)(2,"thead")(3,"tr")(4,"th"),v(5,"Preview"),u(),d(6,"th"),v(7,"Name"),u(),d(8,"th"),v(9,"Category"),u(),P(10,"th")(11,"th"),u()(),d(12,"tbody",45),b(13,Tfe,14,3,"tr",46),u()(),b(14,Ffe,4,0,"div",47),u()),2&o){const e=m(2);p(13),g("ngForOf",e.mediaResources.model),p(1),g("ngIf",e.mediaResources.hasMoreRecords)}}function Pfe(o,t){if(1&o){const e=j();d(0,"div",34)(1,"h4",35),v(2,"Media Library"),u(),d(3,"div",36)(4,"label"),v(5,"Category:"),u(),d(6,"select",37),T("ngModelChange",function(n){return F(e),S(m().categoryFilter=n)})("change",function(){return F(e),S(m().mediaFilterByCategory())}),d(7,"option",38),v(8,"-all-"),u(),b(9,kfe,2,2,"option",39),u()(),d(10,"button",40),T("click",function(){return S(F(e).$implicit.dismiss())}),d(11,"span",41),v(12,"\xd7"),u()()(),d(13,"div",42),b(14,Sfe,15,2,"div",8),u()}if(2&o){const e=m();p(6),g("ngModel",e.categoryFilter),p(3),g("ngForOf",null==e.categories?null:e.categories.model),p(5),g("ngIf",e.mediaResources)}}function Ife(o,t){if(1&o){const e=j();d(0,"div",36)(1,"label"),v(2,"File Name:"),u(),d(3,"input",60),T("ngModelChange",function(n){return F(e),S(m(2).resource.name=n)}),u()()}if(2&o){const e=m(2);p(3),g("ngModel",e.resource.name)}}function Afe(o,t){if(1&o&&(d(0,"div",61)(1,"div",33)(2,"label"),v(3,"Content Type:"),u(),v(4),u(),d(5,"div",33)(6,"label"),v(7,"File Size:"),u(),v(8),xr(9,"fileSize"),u(),d(10,"div",33)(11,"label"),v(12,"Actual Size:"),u(),v(13),u()()),2&o){const e=m(2);p(4),ce(" ",e.resource.mimeType," "),p(4),ce(" ",Dr(9,4,e.resource.contentSize)," "),p(5),Eo(" ",e.resource.width,"x",e.resource.height," ")}}function Ofe(o,t){if(1&o){const e=j();d(0,"div")(1,"span",3),T("click",function(){return F(e),S(m(3).copyToThumbNailField())}),P(2,"i",70),v(3," Copy to Thumbnail"),u()()}}function Rfe(o,t){if(1&o&&(d(0,"option",43),v(1),u()),2&o){const e=t.$implicit;g("value",e.key),p(1),ae(e.name)}}function Lfe(o,t){if(1&o){const e=j();d(0,"div")(1,"fieldset")(2,"legend"),v(3,"Resize Image"),u(),d(4,"label"),v(5,"Recommended:"),u(),v(6),d(7,"label"),v(8,"New Size"),u(),d(9,"div")(10,"input",62),T("ngModelChange",function(n){return F(e),S(m(2).resizeWidth=n)}),u(),v(11,"x "),d(12,"input",63),T("ngModelChange",function(n){return F(e),S(m(2).resizeHeight=n)}),u()(),d(13,"div")(14,"label"),v(15,"File Type:"),u(),d(16,"select",64),T("ngModelChange",function(n){return F(e),S(m(2).resizeFileType=n)}),d(17,"option",65),v(18,"JPEG"),u(),d(19,"option",66),v(20,"PNG"),u(),d(21,"option",67),v(22,"WEBP"),u()()(),d(23,"div",54)(24,"button",68),T("click",function(){return F(e),S(m(2).resize())}),v(25,"Resize"),u()()(),b(26,Ofe,4,0,"div",8),d(27,"div",36)(28,"label"),v(29,"Category:"),u(),d(30,"select",37),T("ngModelChange",function(n){return F(e),S(m(2).mediaCategoryId=n)})("change",function(){return F(e),S(m(2).categoryChanged())}),d(31,"option",38),v(32,"-select category-"),u(),b(33,Rfe,2,2,"option",39),u()(),d(34,"app-rating",69),T("set",function(n){return F(e),S(m(2).setRating(n))})("clear",function(){return F(e),S(m(2).clearRating())}),u()()}if(2&o){const e=m(2);p(6),ce(" ",e.field.displayImageSize," "),p(4),g("ngModel",e.resizeWidth),p(2),g("ngModel",e.resizeHeight),p(4),g("ngModel",e.resizeFileType),p(10),g("ngIf",e.field.thumbnailField),p(4),g("ngModel",e.mediaCategoryId),p(3),g("ngForOf",null==e.categories?null:e.categories.model),p(1),g("rating",e.userRating)}}function Bfe(o,t){if(1&o){const e=j();d(0,"div",34)(1,"h4",35),v(2,"Advanced Image Options"),u(),d(3,"button",40),T("click",function(){return F(e),S(m().advancedModal.dismiss())}),d(4,"span",41),v(5,"\xd7"),u()()(),d(6,"div",42),b(7,Ife,4,1,"div",56),d(8,"div",57)(9,"div"),P(10,"img",58),u(),b(11,Afe,14,6,"div",59),b(12,Lfe,35,8,"div",8),u()()}if(2&o){const e=m();p(7),g("ngIf",e.resource),p(3),g("src",e.downloadFileName,Zo),p(1),g("ngIf",e.resource),p(1),g("ngIf",e.resource)}}let Nfe=(()=>{class o extends Ct{constructor(e,r,n,i){super(),this.modalService=e,this.mediaService=r,this.adminService=n,this.userService=i,this.hasBaseDropZoneOver=!1,this.categoryFilter="-1"}static formView(e,r){return{label:e,uploadUrl:r,name:"uploadControl",isRequired:!1,isEnabled:!0,isVisible:!0,isReferenceField:!1,fieldType:"FileUpload",isUserEditable:!0,isFileUploadImage:!0,fileUploaded:null,propertyChanged:null,addChildItem:null,clearEntityHeader:null,selectEntityHeader:null,childItemSelected:null,childListMenuSelected:null}}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){if(r.fileNameOrStatus=null,r.orgId=(yield r.userService.getCurrentOrg()).id,r.field.refresh=E(function*(){console.log("here now",r.field.value),r.downloadFileName=`${He.siteUri}/api/media/resource/${r.orgId}/${r.field.value.id}/download`}),r.field.value&&(r.field.downloadUrl?r.downloadFileName=r.field.downloadUrl:r.field.value?.id&&(r.downloadFileName=`${He.siteUri}/api/media/resource/${r.orgId}/${r.field.value.id}/download`)),r.currentUser=yield r.userService.getUser(),(!r.field.uploadUrl||!r.field.uploadUrl.startsWith("http"))&&(r.field.uploadUrl=`${He.siteUri}${r.field.uploadUrl}`),r.form.modelName.toLocaleLowerCase(),r.field.name.toLocaleLowerCase(),r.categories=yield r.adminService.getCategories("mediaresource"),r.uploader=new DB({url:r.field.uploadUrl}),r.uploader.onAfterAddingFile=i=>{r.error=void 0,r.fileNameOrStatus=`Uploading: ${i.some.name}`,r.field.value=i.some.name,r.uploader.uploadItem(i)},r.uploader.onErrorItem=(i,a,s,l)=>{r.error=`Upload error: ${s}`},r.uploader.onCancelItem=(i,a,s,l)=>{r.error=`Upload canceled: ${s}`},r.uploader.onCompleteItem=(i,a,s,l)=>{let c=JSON.parse(a);if(c.successful)if(r.field.value=i.some.name,r.fileNameOrStatus=`Success uploading: ${i.some.name}`,r.field.fileUploaded)r.field.fileUploaded(c.result,i.some.name);else{const h=c.result;console.log("uploaded field value",h),h.id&&("MediaResource"==r.form.modelName?(r.field.value=i.some.name,r.model[r.field.name]=i.some.name):(r.field.value={id:h.id,key:h.key,text:h.fileName},r.field.value.text||(r.field.value.text=h.text),h.value&&(r.field.value.value=h.value))),window.setTimeout(()=>{r.field.value.id&&r.field.isFileUploadImage&&(r.downloadFileName=`${He.siteUri}/api/media/resource/${r.orgId}/${r.field.value.id}/download`)},1500)}else r.error=c.errors[0].message},r.field.displayImageSize){let i=r.field.displayImageSize.split("x");r.resizeWidth=parseInt(i[0]),r.resizeHeight=parseInt(i[1])}r.resizeFileType="webp",e().call(r)})()}setRating(e){var r=this;return E(function*(){let n=yield r.mediaService.setRating(r.resource.id,e);n.successful&&(r.resource.stars=n.result.stars,r.resource.ratings=n.result.ratings,r.resource.ratingsCount=n.result.ratingsCount,r.userRating=n.result.ratings.find(i=>i.user.id==r.currentUser.id))})()}clearRating(){var e=this;return E(function*(){let r=yield e.mediaService.clearRating(e.resource.id);r.successful&&(console.log("was successful!"),e.resource.stars=r.result.stars,e.resource.ratings=r.result.ratings,e.resource.ratingsCount=r.result.ratingsCount,e.userRating=void 0)})()}generateImage(){var e=this;return E(function*(){if(e.resource=void 0,e.field.value){let n=yield e.mediaService.loadMediaResource(e.field.value.id);if(!n.successful)return;e.resource=n.model}const r=e.modalService.open(Kme,{size:"xl",beforeDismiss:()=>!0}).componentInstance;e.resource&&(r.existingResource=e.resource,r.currentRevisionId=e.resource.currentRevision,e.resource.history&&e.resource.history.length>0&&(r.revision=r.currentRevisionId?e.resource.history.find(n=>n.id===r.currentRevisionId):e.resource.history[0])),r.entityFieldName=e.field.name,r.entityTypeName=e.form.modelName,r.resourceName=e.model.name?e.model.name:"Auto Generated Resource",r.onApplyContent.subscribe(n=>{e.field.value=n,e.downloadFileName=void 0,window.setTimeout(()=>{e.downloadFileName=`${He.siteUri}/api/media/resource/${e.orgId}/${e.field.value.id}/download?t=${(new Date).getTime()}`},1e3)})})()}searchImages(){const e=this.modalService.open(Qme,{size:"xl",beforeDismiss:()=>!0}).componentInstance;console.log(this.field),e.onApplyContent.subscribe(r=>{this.field.value=r,this.downloadFileName=`${He.siteUri}/api/media/resource/${this.orgId}/${this.field.value.id}/download`})}showAdvanced(){var e=this;return E(function*(){let r=yield e.mediaService.loadMediaResource(e.field.value.id);if(r.successful){e.mediaCategoryId=r.model.category?.id??"-1";let n=e.field.displayImageSize.split("x");e.resizeWidth=parseInt(n[0]),e.resizeHeight=parseInt(n[1]),e.userRating=r.model.ratings.find(i=>i.user.id==e.currentUser.id),e.resource=r.model,e.resource.width&&e.resource.height&&e.resizeWidth&&e.resizeHeight&&e.resizeHeight>0&&(e.resizeWidth=Math.round(e.resizeHeight*(e.resource.width/e.resource.height)))}e.advancedModal=e.modalService.open(e.advancedView,{size:"xl"})})()}categoryChanged(){var e=this;return E(function*(){if(e.mediaCategoryId&&"-1"!=e.mediaCategoryId&&e.mediaCategoryId!=e.resource?.category?.id){let r=e.categories.model.find(a=>a.key==e.mediaCategoryId),n={id:r.key,key:r.key,text:r.name};(yield e.mediaService.assignCategory(e.resource.id,n)).successful&&(e.resource.category=n)}})()}showMediaPicker(){var e=this;return E(function*(){e.currentModal=e.modalService.open(e.mediaLibraryModal,{size:"xl"}),e.categoryFilter=e.form.modelName.toLocaleLowerCase()+e.field.name.toLocaleLowerCase(),console.log(e.categoryFilter),e.mediaResources=yield e.mediaService.getMediaByCategory(e.categoryFilter)})()}showAllMedia(){var e=this;return E(function*(){e.mediaResources=yield e.mediaService.getAllMedia()})()}showNextPage(){var e=this;return E(function*(){e.mediaResources=yield e.mediaService.getAllMedia(e.mediaResources.pageIndex+1,e.mediaResources.pageSize)})()}downloadFile(){window.open(this.downloadFileName)}fileOverBase(e){this.hasBaseDropZoneOver=e}resize(){var e=this;return E(function*(){let r=yield e.mediaService.resizeMediaResource(e.resource.id,{fileType:e.resizeFileType,width:e.resizeWidth,height:e.resizeHeight});r.successful&&(e.resource=r.result)})()}showSharedImageModal(){const e=this.modalService.open(afe,{size:"lg",beforeDismiss:()=>!0}).componentInstance;e.field=this.field,e.fieldChange=r=>{this.downloadFileName=`${He.siteUri}/api/media/resource/${this.orgId}/${this.field.value.id}/download`},this.currentModal.close()}selectResource(e){this.field.value={id:e.id,key:e.key,text:e.name},this.downloadFileName=e.link}makeACopy(e){var r=this;return E(function*(){let n=yield r.mediaService.cloneMediaResource(e.id,r.form.modelName,r.field.name,e.name);if(n.successful){let i=n.result;r.field.value={id:i.id,key:i.key,text:i.name},r.downloadFileName=`${He.siteUri}/api/media/resource/${r.orgId}/${r.field.value.id}/download`}r.currentModal.close()})()}mediaFilterByCategory(){var e=this;return E(function*(){e.mediaResources=e.categoryFilter&&"-1"!=e.categoryFilter?yield e.mediaService.getMediaByCategory(e.categoryFilter):yield e.mediaService.getAllMedia()})()}viewImageHistory(){window.open("/contentmanagement/")}copyToThumbNailField(){var e=this;return E(function*(){let r=e.form.modelName,n=e.field.thumbnailField,i=e.form.view.name?e.form.view.name.value:"Auto Generated Resource",a=yield e.mediaService.cloneMediaResource(e.field.value.id,r,n,i);if(a.successful){let s=a.result;e.form.view[e.field.thumbnailField].value={id:s.id,key:s.key,text:s.name},e.form.view[e.field.thumbnailField].refresh()}})()}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(Pf),O(eu),O(uo))},o.\u0275cmp=ne({type:o,selectors:[["app-file-upload"]],viewQuery:function(e,r){if(1&e&&(Yt(dfe,5),Yt(ufe,5)),2&e){let n;ze(n=Ye())&&(r.mediaLibraryModal=n.first),ze(n=Ye())&&(r.advancedView=n.first)}},features:[Te],decls:18,vars:16,consts:[[3,"name","label","isRequired"],[2,"display","flex"],["class","action",3,"click",4,"ngIf"],[1,"action",3,"click"],[1,"fa","fa-images"],[2,"flex-grow","1"],["class","action-danger",3,"click",4,"ngIf"],["data-toggle","modal","class","action",4,"ngIf"],[4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["id","mediaLibraryModal"],["mediaLibraryModal",""],["id","advancedView"],["advancedView",""],[1,"fa","fas","fa-user-robot"],[2,"font-family","serif"],[1,"fa","fa-download"],[1,"fa","fa-gear"],[1,"action-danger",3,"click"],[1,"fa","fas","fa-trash"],["data-toggle","modal",1,"action"],["style","display:flex",4,"ngIf"],["ng2FileDrop","",1,"well","my-drop-zone",3,"ngClass","uploader","fileOver"],[1,"fa","fa-file-upload"],[1,"fileUpload","btn","btn-primary"],["type","file","ng2FileSelect","",1,"upload",3,"uploader"],[1,"progress"],["role","progressbar",1,"progress-bar",3,"ngStyle"],[2,"color","red"],["height","160","style","max-width: 100%; max-height: 100%;",3,"src",4,"ngIf"],["class","img-attr",4,"ngIf"],["height","160",2,"max-width","100%","max-height","100%",3,"src"],[1,"img-attr"],[1,"modal-header"],[1,"modal-title"],[1,"form-group"],[1,"form-select",2,"margin-top","10px",3,"ngModel","ngModelChange","change"],["value","-1"],[3,"value",4,"ngFor","ngForOf"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[3,"value"],[1,"table"],[1,"resource-list"],[4,"ngFor","ngForOf"],["class","save-bar",4,"ngIf"],[2,"display","flex","align-items","center","margin-bottom","10px","cursor","pointer"],[2,"display","block","width","250px","text-align","center"],["height","128",3,"src","alt",4,"ngIf"],["title","The exact same resource will be used and any changes to the resource here will also be made to the original resource.",1,"action",3,"click"],["title","A copy of this resource will be used, that means that any changes you make will not affect the original resource.",1,"action",3,"click"],["height","128",3,"src","alt"],[1,"save-bar"],[1,"fa","fa-chevron-right"],["class","form-group",4,"ngIf"],[2,"display","flex","margin-top","10px"],[2,"max-width","300px","width","auto","height","auto","max-height","300px",3,"src"],["style","width: 300px; padding-left:20px; padding-right: 20px",4,"ngIf"],[1,"form-control",3,"ngModel","ngModelChange"],[2,"width","300px","padding-left","20px","padding-right","20px"],["type","form-control","type","number",2,"width","120px","display","inline","text-align","right",3,"ngModel","ngModelChange"],["type","form-control","type","number",2,"width","120px","text-align","right",3,"ngModel","ngModelChange"],[1,"form-select",3,"ngModel","ngModelChange"],["value","jpeg"],["value","png"],["value","webp"],[1,"btn","btn-primary",3,"click"],[3,"rating","set","clear"],[1,"fa","fa-copy"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1),b(2,pfe,4,0,"div",2),d(3,"div",3),T("click",function(){return r.showMediaPicker()}),P(4,"i",4),v(5," Media Library"),u(),b(6,hfe,3,0,"div",2),P(7,"div",5),b(8,gfe,3,0,"div",2),b(9,mfe,3,0,"div",6),u(),b(10,ffe,2,1,"span",7),b(11,Mfe,3,2,"div",8),P(12,"app-form-field-validation-section",9)(13,"app-form-field-help",10),b(14,Pfe,15,3,"ng-template",11,12,Sn),b(16,Bfe,13,4,"ng-template",13,14,Sn)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),g("ngIf",r.field.imageUpload),p(4),g("ngIf",r.downloadFileName),p(2),g("ngIf",r.downloadFileName&&r.field.imageUpload),p(1),g("ngIf",r.field.value),p(1),g("ngIf",r.field.help),p(1),g("ngIf",r.uploader),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Qo,en,Ht,vl,No,mt,It,Fo,gt,ve,ml,ZM,XM,rr,or,ar,cfe,j6],styles:[".my-drop-zone[_ngcontent-%COMP%]{border:dotted 3px lightgray;display:block;margin-right:20px;padding-top:10px;text-align:center;color:silver;font-size:48pt;height:100px;width:100px}.nv-file-over[_ngcontent-%COMP%]{border:dotted 3px red}.another-file-over-class[_ngcontent-%COMP%]{border:dotted 3px green}.fileUpload[_ngcontent-%COMP%]{position:relative;overflow:hidden;margin-top:10px;height:40px;margin-bottom:10px}.fileUpload[_ngcontent-%COMP%] input.upload[_ngcontent-%COMP%]{position:absolute;top:0;right:0;margin:0;padding:0;font-size:20px;cursor:pointer;opacity:0;filter:alpha(opacity=0)}div.img-attr[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;width:120px}.resource-list[_ngcontent-%COMP%]{max-height:calc(100vh - 250px);overflow-y:auto}label[_ngcontent-%COMP%]{font-weight:700;display:block!important}fieldset[_ngcontent-%COMP%]{margin:8px;border:1px solid lightgray;padding:10px;border-radius:5px}legend[_ngcontent-%COMP%]{float:unset;width:unset;font-size:unset;font-weight:700;color:#666}"]}),o})(),NB=(()=>{class o{constructor(e,r){this.clientService=e,this.activeModal=r,this.itemAdded=new ee}ngOnInit(){var e=this;return E(function*(){let r=yield e.clientService.getFormResponse(e.factoryUrl);r.formFieldsSimple&&(r.formFields=r.formFieldsSimple,r.formFieldsCol2=void 0),e.form=r})()}saved(){var e=this.form.model;this.itemAdded?.emit({id:e.id,name:e.name,label:e.name,text:e.name,key:e.key}),this.activeModal.close()}cancelled(){this.activeModal.close()}}return o.\u0275fac=function(e){return new(e||o)(O(Ft),O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-picker-add"]],outputs:{itemAdded:"itemAdded"},decls:1,vars:3,consts:[[3,"form","autoSave","inPlaceEditing","saved","cancel"]],template:function(e,r){1&e&&(d(0,"app-form",0),T("saved",function(){return r.saved()})("cancel",function(){return r.cancelled()}),u()),2&e&&g("form",r.form)("autoSave",!0)("inPlaceEditing",!0)},dependencies:[_u]}),o})();function Hfe(o,t){if(1&o&&(d(0,"option",8),v(1),u()),2&o){const e=t.$implicit;Ne("value",e.id),p(1),ae(e.label)}}function Vfe(o,t){1&o&&(d(0,"div",9),P(1,"span",10),u()),2&o&&Re("data-target",m().popupId)}function $fe(o,t){if(1&o){const e=j();d(0,"div",11),T("click",function(){return F(e),S(m().add())}),P(1,"span",12),u()}}let zfe=(()=>{class o extends Ct{constructor(e){super(),this.modalService=e}validate(){return this.showValidationErrors=!0,this.field.isRequired?this.field.value&&"-1"!==this.field.value?(this.isValid=!0,this.hasValue=!0):(this.isValid=!1,this.hasValue=!1):this.isValid=!0,this.isValid}onChanged(e){console.log(e),this.field&&(this.showValidationErrors=!0,this.hasValue="-1"!==this.field.value),super.changed(e),console.log(this.field.value)}add(){const e=this.modalService.open(NB,{size:"lg"}).componentInstance;e.factoryUrl=this.field.factoryUrl,e.itemAdded.subscribe(r=>{this.field.value=r.key,this.field.display=r.text,this.changed(this.field),this.field.options.push(r)})}populateOptionsFromField(){this.field.options=[],this.field.options.unshift({key:"-1",label:this.field.watermark??"-select-",text:this.field.watermark??"-select-",id:"-1"});let r=this.view[this.field.pickerProviderFieldName].value.map(n=>({id:n.id,text:n.name,key:n.id,label:n.name}));this.field.options.push(...r)}ngOnInit(){this.field.pickerProviderFieldName?(this.populateOptionsFromField(),this.view[this.field.pickerProviderFieldName].propertyChanged=r=>{this.populateOptionsFromField()}):this.field.options.find(e=>"-1"===e.id)||this.field.options.unshift({key:"-1",label:this.field.watermark??"-select-",text:this.field.watermark??"-select-",id:"-1"}),super.ngOnInit()}}return o.\u0275fac=function(e){return new(e||o)(O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-picker"]],features:[Te],decls:8,vars:19,consts:[[3,"name","label","isRequired"],[1,"input-group"],[1,"form-control","form-select",3,"name","id","ngModel","disabled","ngModelChange","change"],[3,"value",4,"ngFor","ngForOf"],["class","input-group-append","data-toggle","modal","style","cursor:pointer",4,"ngIf"],["class","input-group-append","style","cursor:pointer",3,"click",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[3,"value"],["data-toggle","modal",1,"input-group-append",2,"cursor","pointer"],[1,"input-group-text","fa","fa-question",2,"font-size","12pt","color","#A0A0A0"],[1,"input-group-append",2,"cursor","pointer",3,"click"],[1,"input-group-text","fa","fa-plus",2,"font-size","12pt","color","#A0A0A0"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1)(2,"select",2),T("ngModelChange",function(i){return r.field.value=i})("change",function(i){return r.onChanged(i)}),b(3,Hfe,2,2,"option",3),u(),b(4,Vfe,2,1,"div",4),b(5,$fe,2,0,"div",5),u(),P(6,"app-form-field-validation-section",6)(7,"app-form-field-help",7)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),Tt("background-color",r.field.isUserEditable?"white":"#EEEEEE"),Ne("name",r.field.name),Ne("id",r.field.name),g("ngModel",r.field.value)("disabled",!r.field.isUserEditable),p(1),g("ngForOf",r.field.options),p(1),g("ngIf",r.field.help),p(1),g("ngIf",r.field.factoryUrl),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Qo,en,No,mt,It,gt,ve,rr,or,ar]}),o})();function Yfe(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m().addDiscussion())}),P(1,"i",11),v(2,"Add"),u()}}function jfe(o,t){if(1&o){const e=j();d(0,"i",12),T("click",function(){return F(e),S(m().expanded=!0)}),u()}}function Ufe(o,t){if(1&o){const e=j();d(0,"i",13),T("click",function(){return F(e),S(m().expanded=!1)}),u()}}const HB="lists link image table code help wordcount fullscreen",VB="fullscreen undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | align lineheight | tinycomments | checklist numlist bullist indent outdent | emoticons charmap | removeforma",Wfe=function(){return{branding:!1,plugins:HB,toolbar:VB}};function Gfe(o,t){if(1&o){const e=j();d(0,"editor",14),T("ngModelChange",function(n){return F(e),S(m().discussionText=n)}),u()}if(2&o){const e=m();g("init",rm(2,Wfe))("ngModel",e.discussionText)}}function qfe(o,t){if(1&o){const e=j();d(0,"div",15)(1,"button",16),T("click",function(){return F(e),S(m().saveNewDiscussion())}),v(2,"Save"),u(),d(3,"button",17),T("click",function(){F(e);const n=m();return n.isEditorVisible=!1,S(n.discussionText="")}),v(4,"Cancel"),u()()}if(2&o){const e=m();p(1),g("disabled",!e.discussionText)}}function Kfe(o,t){if(1&o){const e=j();d(0,"div")(1,"div",22)(2,"span",23),v(3),u(),v(4),d(5,"i",24),T("click",function(n){F(e);const i=m().$implicit;return m(2).editDiscussion(i),S(n.stopPropagation())}),u(),d(6,"i",25),T("click",function(n){F(e);const i=m().$implicit;return m(2).remove(i),S(n.stopPropagation())}),u()(),d(7,"div",26),P(8,"div",27),u()()}if(2&o){const e=m().$implicit,r=m(2);p(3),ae(e.user.text),p(1),ce(" - ",r.formatTimeStamp(e.timestamp)," "),p(4),g("innerHTML",e.note,yn)}}const Zfe=function(){return{plugins:HB,branding:!1,toolbar:VB}};function Xfe(o,t){if(1&o){const e=j();d(0,"div")(1,"editor",14),T("ngModelChange",function(n){return F(e),S(m().$implicit.note=n)}),u(),d(2,"div",15)(3,"button",28),T("click",function(){return F(e),S(m().$implicit.isEditing=!1)})("click",function(){F(e);const n=m().$implicit;return S(m(2).saveDiscussion(n))}),v(4,"Save"),u(),d(5,"button",17),T("click",function(){return F(e),S(m().$implicit.isEditing=!1)}),v(6,"Cancel"),u()()()}if(2&o){const e=m().$implicit;p(1),g("init",rm(2,Zfe))("ngModel",e.note)}}function Jfe(o,t){if(1&o&&(d(0,"div",20),b(1,Kfe,9,3,"div",21),b(2,Xfe,7,3,"div",21),u()),2&o){const e=t.$implicit;p(1),g("ngIf",!e.isEditing),p(1),g("ngIf",e.isEditing)}}function Qfe(o,t){if(1&o&&(d(0,"div",18),b(1,Jfe,3,2,"div",19),u()),2&o){const e=m();p(1),g("ngForOf",e.field.value)}}let e_e=(()=>{class o extends Ct{constructor(e){super(),this.pmService=e,this.isEditorVisible=!1,this.expanded=!1}selected(e){}remove(e){}ngOnInit(){super.ngOnInit(),this.expanded=this.field.openByDefault}formatTimeStamp(e){const r=new Date(e);return`${r.toLocaleDateString()} ${r.toLocaleTimeString()}`}saveNewDiscussion(){var e=this;return E(function*(){var r=yield e.pmService.createDiscussion();r.note=e.discussionText,e.field.value.unshift(r),e.discussionText=void 0,e.isEditorVisible=!1})()}addDiscussion(){this.discussionText="",this.isEditorVisible=!0}editDiscussion(e){this.discussionText=e.note,e.isEditing=!0}saveDiscussion(e){e.note=this.discussionText,e.isEditing=!1}}return o.\u0275fac=function(e){return new(e||o)(O(jM))},o.\u0275cmp=ne({type:o,selectors:[["app-discussion-list"]],features:[Te],decls:13,vars:9,consts:[[1,"panel"],[2,"display","flex","padding","10px"],[2,"flex-grow","1"],["class","action",3,"click",4,"ngIf"],["class","fa-regular fa-square-chevron-down action",3,"click",4,"ngIf"],["class","fa-regular fa-square-chevron-up action",3,"click",4,"ngIf"],["apiKey","kjvrmckj7e2u9yuxwg3akvfp3rkybse6455b25ja0liuef9o",3,"init","ngModel","ngModelChange",4,"ngIf"],["style","text-align: right;",4,"ngIf"],["style","padding: 10px",4,"ngIf"],[3,"field"],[1,"action",3,"click"],[1,"fa","fas","fa-plus"],[1,"fa-regular","fa-square-chevron-down","action",3,"click"],[1,"fa-regular","fa-square-chevron-up","action",3,"click"],["apiKey","kjvrmckj7e2u9yuxwg3akvfp3rkybse6455b25ja0liuef9o",3,"init","ngModel","ngModelChange"],[2,"text-align","right"],[1,"btn","btn-primary",3,"disabled","click"],[1,"btn","btn-danger",2,"margin-left","10px",3,"click"],[2,"padding","10px"],["style","margin-bottom:30px;border-bottom:2px solid silver",4,"ngFor","ngForOf"],[2,"margin-bottom","30px","border-bottom","2px solid silver"],[4,"ngIf"],[1,"panel-header"],[2,"font-weight","bold"],[1,"fa","fa-pencil","action",2,"margin-left","20px",3,"click"],[1,"fa","fa-trash","action-danger",3,"click"],[1,"panel-content"],[2,"overflow-x","auto",3,"innerHTML"],[1,"btn","btn-primary",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2)(3,"label"),v(4),u()(),d(5,"div"),b(6,Yfe,3,0,"span",3),b(7,jfe,1,0,"i",4),b(8,Ufe,1,0,"i",5),u()(),b(9,Gfe,1,3,"editor",6),b(10,qfe,5,1,"div",7),b(11,Qfe,2,1,"div",8),P(12,"app-form-field-help",9),u()),2&e&&(p(4),Eo(" ",r.field.label," (",r.field.value.length,")"),p(2),g("ngIf",!r.isEditorVisible),p(1),g("ngIf",!r.expanded),p(1),g("ngIf",r.expanded),p(1),g("ngIf",r.isEditorVisible),p(1),g("ngIf",r.isEditorVisible),p(1),g("ngIf",(null==r.field?null:r.field.value)&&r.expanded),p(1),g("field",r.field))},dependencies:[mt,It,gt,ve,fu,rr],styles:[".section-header[_ngcontent-%COMP%]{font-size:20pt;margin:14pt}.section-header[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{float:right}ol[_ngcontent-%COMP%]{list-style:none;color:var(--color-fg);padding:0;margin:0}li[_ngcontent-%COMP%]{padding-top:14px;padding-bottom:14px;padding-left:10px;border-bottom:1px solid var(--color-gray-80);font-size:12pt}li[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{float:right;margin-right:14px;vertical-align:middle}li[_ngcontent-%COMP%]:hover{background-color:var(--color-bg-menu-active);color:var(--color-fg-panel-header-active);cursor:pointer}.panel[_ngcontent-%COMP%]{background-color:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:8px;-webkit-box-shadow:0 4px 8px 0 rgba(128,128,128,.2),0 6px 20px 0 rgba(128,128,128,.19);-webkit-box-shadow-box-shadow:0 4px 8px 0 rgba(128,128,128,.2),0 6px 20px 0 rgba(128,128,128,.19)}tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--color-border-panel);color:var(--color-fg)}tr[_ngcontent-%COMP%]:hover{background-color:var(--color-bg-menu-active);color:var(--color-fg-panel-header-active);cursor:pointer}td[_ngcontent-%COMP%]:first-child{padding-left:14px}"]}),o})();class JM{static GetToDefaultScript(){return"/* Provide a formula to convert this unit */\n/* to the default unit. */\n/* */\n/* For example to convert celcuis to */\n/* fahrenheit your script would be: */\n/* */\n/* function convertToDefaultUnit(value){ */\n/* return (value * 9/5) + 32; */\n/*} */\n/* */\n\nfunction convertToDefaultUnit(value) {\n return value;\n};"}static GetFromDefaultScript(){return"/* Provide a formula to convert the default*/\n/* unit value to this unit type. */\n/* */\n/* For example to convert celcuis to */\n/* fahrenheit your script would be: */\n/* */\n/* function convertFromDefaultUnit(value){ */\n/* return (value * 9/5) + 32; */\n/*} */\n/* */\n\nfunction convertFromDefaultUnit(value) {\n return value;\n};"}static GetExtraLibs(){return[]}}class Af{GetAttributeLib(){return{classLib:"declare class Attribute { value: any; }\n\n",fileName:"attribute.d.ts"}}GetGeoLocationLib(){return{classLib:"declare class GeoLocation { latitude: number; longitude:number; }\n\n",fileName:"geoLocationLib.d.ts"}}GetAttributesLib(t){let e="declare class Attributes {\n";for(const n of t)switch(e+=` /**\n * DataType: ${n.attributeType.text}\n `,n.description&&(e+=`* ${n.description}.\n `),e+=" */\n",n.attributeType.id){case"valuewithunit":case"decimal":case"integer":e+=`\t static ${n.key}:number;\n`;break;case"true-false":e+=`\t static ${n.key}:boolean;\n`;break;case"geolocation":e+=`\t static ${n.key}:GeoLocation;\n`;break;case"mlinference":e+=`\t static ${n.key}:MLInference;\n`;break;default:e+=`\t static ${n.key}:any;\n`}return{classLib:e,fileName:"attributes.d.ts"}}GetWorkflowInputsLib(t){let e="declare class WorkflowInputs {\n";for(const r of t)switch(e+=` /**\n * DataType: ${r.inputType.text}\n `,r.description&&(e+=`* ${r.description}.\n `),e+=" */\n",r.inputType.id){case"valuewithunit":case"decimal":case"integer":e+=`\t static ${r.key}:number;\n`;break;case"true-false":e+=`\t static ${r.key}:boolean;\n`;break;case"geolocation":e+=`\t static ${r.key}:GeoLocation;\n`;break;case"mlinference":e+=`\t static ${r.key}:MLInference;\n`;break;default:e+=`\t static ${r.key}:any;\n`}return e+="}\n",{classLib:e,fileName:"workflowInput.d.ts"}}GetInputLib(){return{classLib:"declare class Input{ getValue(); setValue(value); }\n\n",fileName:"input.d.ts"}}GetInputsLib(t){let e="declare class Inputs {";for(const r of t)e+="\t"+r.key+":Input;\n";return e+="}",{classLib:e,fileName:"inputs.d.ts"}}GetMLLib(){return{classLib:"declare class MLResult {\n confidence: number;\n key: String;\n name: String;\n}\n\n\n\ndeclare class MLInference {\n results: MLResult[];\n hasResults: boolean;\n modelName: String;\n modelRevision: String;\n}\n\n\n",fileName:"mlLib.d.ts"}}GetOutputCommandLib(){return{classLib:"declare class OutputCommand { create(); }\n\n",fileName:"outputcommand.d.ts"}}GetOutputCommandsLib(t){let e="";for(const r of t){e+=`declare class ${r.key}OutputCommand {\n`;for(const n of r.parameters)n.description&&(e+=` /**\n * ${n.description}.\n */\n`),e+=`\t${n.key}:string;\n`;e+="/**\n* Enqueue an output command to be sent to the device or output source.\n*/\n",e+="\tenqueue() : void\n",e+="}\n\n"}for(const r of t)e+=`declare class ${r.key}Factory {\n`,e+="/**\n* Create an instance of an output command that can be enqeued to be sent to a device or output source.\n*/\n",e+=`\tcreate() : ${r.key}OutputCommand;\n`,e+="/**\nWill invoke the method to create the output command.\n*/\n",e+="\tsend(...args : any[]) : void;\n",e+="}\n";e+="declare class OutputCommands {\n";for(const r of t)e+=`\t static ${r.key}:${r.key}Factory;\n`;return e+="}",{classLib:e,fileName:"outputcommands.d.ts"}}GetSensorSetters(){return{classLib:"\n /**\n*Sets a value on the ADC Sensor Port of the device.\n*/\n\n function setADCValue(sensorIndex: number, sensorValue: number) {} \n\n /**\n*Sets a value on the IO Sensor Port of the device.\n*/\n\n function setIOValue(sensorIndex: number, sensorValue: number) {} \n\n /**\n*Gets a value on the ADC Sensor Port of the device.\n*/\n\n function getADCValue(sensorIndex: number) : number {} \n\n /**\n*Gets a value on the IO Sensor Port of the device.\n*/\n\n function getIOValue(sensorIndex: number) : number {} \n\n /**\n*Gets the calibration for the ADC port.\n*/\n\n function getADCCalibration(sensorIndex: number) : number {} \n\n /**\n*Gets the calibration factor for the IO port.\n*/\n\n function setIOCalibration(sensorIndex: number) : number {} \n",fileName:"sensors.d.ts"}}GetStateMachineLib(){return{classLib:"declare class StateMachine {\n\n send() : void {} \n\n};",fileName:"statemachine.d.ts"}}GetStateMachinesLib(t){let e="";for(const r of t){e+=`declare class ${r.key}StateMachine {\n`,e+=` /** \n @param event ${r.name} Events:\n`;for(const n of r.events)e+=`'${n.key}' `;e+=" */ \n",e+=" send(event: string, ...args : any[]) : void\n",e+="}\n"}e+="declare class StateMachines {\n";for(const r of t)r.description&&(e+=` /**\n * ${r.description}.\n */\n`),e+=`\tstatic ${r.key}:${r.key}StateMachine;\n`;return e+="}",{classLib:e,fileName:"statemachines.d.ts"}}GetDeviceWorkflowLib(){return{classLib:"declare class DeviceWorkflow\n{\n outputCommands: OutputCommands;\n}",fileName:"deviceworkflow.d.ts"}}GetIoTDeviceLib(){return{classLib:"declare staitc class IoTDevice\n{\n /**\n * Given unique device id.\n */\n DeviceId: string;\n\n /**\n * Unique Generated Id for Device\n */\n Id: string;\n}\n\n/**\n * Any properties created at the device configuration level\n **/\ndeclare staitc class DeviceProperties {\n\n}\n",fileName:"iotDeviceLib.d.ts"}}GetPEMBusLib(){return{classLib:"\n /**\n * Enqueue a new PEM (Pipeline Execution Message) to be processed by a specific device.\n * @param msgId Message Id for new PEM\n * @param deviceId Device Id associated with the new PEM\n * @param json JSON Object that will be sent as part of the payload\n **/\n function enqueuePEM(msgId: string, deviceId: string, json:any){}\n\n /**\n * Enqueue a new PEM (Pipeline Execution Message) to be processed by the parent of the current device, if the parent does not exist this method will fail.\n * @param msgId Message Id for new PEM\n * @param json JSON Object that will be sent as part of the payload\n **/\n function enqueuePEMToParent(msgId: string, json:any){}\n\n /**\n * Enqueue a new PEM (Pipeline Execution Message) to be processed by all devices in the current repositories for a device configuration type.\n * @param msgId Message Id for new PEM\n * @param deviceConfigKey Device Id associated with the new PEM\n * @param json JSON Object that will be sent as part of the payload\n **/\n function enqueuePEMForDeviceConfig(msgId: string, deviceConfigKey: string, json:any){}\n\n /**\n * Enqueue a new PEM (Pipeline Execution Message) to be processed by a group of devices.\n * @param msgId Message Id for new PEM\n * @param deviceGroupKey Key of device group to receive this message\n * @param json JSON Object that will be sent as part of the payload\n **/\n function enqueuePEMToDeviceGroup(msgId: string, deviceGroupKey: string, json:any){}\n\n /**\n * Enqueue a new PEM (Pipeline Execution Message) to be processed by a set of device configurations\n * @param msgId Message Id for new PEM\n * @param deviceConfigKey Device Configuration Key to enqueue a message\n * @param json JSON Object that will be sent as part of the payload\n **/\n function enqueuePEMForDeviceConfig(msgId: string, deviceConfigKey: string, json:any){}",fileName:"pemBus.d.ts"}}GetMessagingLib(){return{classLib:"\n /**\n * Send a SMS meessage to a cell phone\n * @param pnone Phone Number to send SMS message\n * @param message Content of text message to be sent.\n **/\n function sendSMS(phone: string, message: message){};\n\n /**\n * Send a SMS meessage to a cell phone\n * @param Email Address of account to receive message.\n * @param Subject for Email.\n * @param Content of Email\n **/\n function xm(email: string, subject: string, body: string){}",fileName:"messaging.d.ts"}}GetDeviceWorkflowRepoLib(){return{classLib:"declare class Repository {\n /**\n * Load the work flow\n **/\n static getWorkflow(workflowKey: string): DeviceWorkflow\n}",fileName:"workflowrepo.d.ts"}}SetFSLiteTicketScript(){return{classLib:"\n /**\n * Create a field service lite service ticket from a ticket key\n * @param serviceTicketTemplateKey unique key assigned to the service ticket template in the Field Service Lite module\n * @param details (optional) any additional details to be added to the field service ticket when it is generated\n * @param dontCreateIfExists (optional, default is true) if this ticket type already exists and is open for this device another copy of the ticket should not be created\n **/\n function generateFSLiteTicket(serviceTicketTemplateKey: string, details: string, dontCreateIfExists: boolean ): {}\n",fileName:"fslitescripts.d.ts"}}GetDeviceStreamLib(){return{classLib:"\n /**\n * Add a message to the device stream\n * @param streamId Id of the stream where data will be logged\n * @param data JSON Object that will be sent as part of the payload\n **/\n function addToDataStream(streamKey: string, data: any): {}\n\n /**\n * Add a message to the device stream\n * @param streamId Id of the stream where data will be logged\n * @param updateValues JSON object that maps to the values that should be updated, the id of the property should mach the column name.\n * @param filterValues JSON Object that has the values that should be used to select the records to update.\n **/\n function updateDataStream(streamKey: string, updateValues: any, filterValues: any): {}",fileName:"deviceStream.d.ts"}}GetDeviceStatusLib(){return{classLib:"\n /**\n *Handle an error code for a device\n **/\n function getDeviceStatus(): string {};\n\n /**\n * Will set the device's custom status to the status identified by the status key\n **/\n function setCustomStatus(statusKey: string): void;\n ",fileName:"devicestatus.d.ts"}}GetDeviceExceptionLib(){return{classLib:"\n /**\n *Handle an error code for a device\n **/\n function generateError(errorCode: string, details: string): void {};",fileName:"deviceexceptions.d.ts"}}DevicePropertiesLib(){let t="/** \n * Log a message to the device \n **/ \nfunction logToDevice(msg:string) { }\n\n";return t+="/** \n * Clear Device Log \n **/ \nfunction clearDeviceLog() { }\n\n",t+="/** \n * Generate a new Guid \n **/ \nfunction newGuid() { }\n\n",t+="/** \n * Generate a new Id, similar to a 32 bit guid, but only upper case letters and numbers \n **/ \nfunction newId() { }\n\n",t+="/** \n * Write a message to the device console \n **/ \nfunction logConsole(msg: string) { }\n\n",t+="/** \n * Send a command to the device \n **/ \nfunction sendCommand(command: string, payload: string):void { }\n\n",t+="/** \n * Credit device account\n **/ \nfunction creditAccount(command: transactionType, payload: number, description: string):void { }\n\n",t+="/** \n * Debit device account\n **/ \nfunction debitAccount(command: transactionType, payload: number, description: string):void { }\n\n",t+="/** \n * Set a property that will be associated with the device \n **/ \nfunction addToPropertyBag(key:string,property) { }\n\n",t+="/** \n * Get a property from property bag that was previously associated with the device \n **/ \nfunction getFromPropertyBag(key:string,defaultValue?:any) :any { }\n\n",t+="/** \n * Check if a property exists in the property bag \n **/ \nfunction hasPropertyBagValue(key:string,defaultValue?:any) :boolean { }\n\n",t+="/** \n * Clear a property that was previously associated with the device \n **/ \nfunction clearPropertyBagValue(key:string) :any { }\n\n",t+="/** \n * Set a temporary storage variable in Session Values \n **/ \nfunction setSessionValue(key:string,property) { }\n\n",t+="/** \n * Get a temporary storage variable from Session Values \n **/ \nfunction getSessionValue(key:string,defaultValue?:any) :any { }\n\n",t+="/** \n * Check if a property exists in the Session Values \n **/ \nfunction hasSessionValue(key:string,defaultValue?:any) :boolean { }\n\n",t+="/** \n * Clear a temporary storage variable \n **/ \nfunction clearSessionValue(key:string) :any { }\n\n",t+="/** \n * Generate an error message with an error code and an optional detail that will be handled by the definition of the error code \n **/ \nfunction generateError(errorCode:string, details: string) :void { }\n\n",t+="/** \n * Send a web socket notification to the current instance \n **/ \nfunction sendInstanceNotification(payloadType:string, payload:any) { }\n\n",t+="/** \n * Send a web socket notification to device configurations for current device \n **/ \nfunction sendDeviceConfigurationNotification(payloadType:string, payload:any) { }\n\n",t+="/** \n * Send a web socket notification to the current device \n **/ \nfunction sendDeviceNotification(payloadType:string, payload:any) { }\n\n",{classLib:"/** \n * Log a message to the device \n **/ \nfunction logToDevice(msg:string) { }\n\n/** \n * Clear Device Log \n **/ \nfunction clearDeviceLog() { }\n\n/** \n * Generate a new Guid \n **/ \nfunction newGuid() { }\n\n/** \n * Generate a new Id, similar to a 32 bit guid, but only upper case letters and numbers \n **/ \nfunction newId() { }\n\n/** \n * Write a message to the device console \n **/ \nfunction logConsole(msg: string) { }\n\n/** \n * Send a command to the device \n **/ \nfunction sendCommand(command: string, payload: string):void { }\n\n/** \n * Credit device account\n **/ \nfunction creditAccount(command: transactionType, payload: number, description: string):void { }\n\n/** \n * Debit device account\n **/ \nfunction debitAccount(command: transactionType, payload: number, description: string):void { }\n\n/** \n * Set a property that will be associated with the device \n **/ \nfunction addToPropertyBag(key:string,property) { }\n\n/** \n * Get a property from property bag that was previously associated with the device \n **/ \nfunction getFromPropertyBag(key:string,defaultValue?:any) :any { }\n\n/** \n * Check if a property exists in the property bag \n **/ \nfunction hasPropertyBagValue(key:string,defaultValue?:any) :boolean { }\n\n/** \n * Clear a property that was previously associated with the device \n **/ \nfunction clearPropertyBagValue(key:string) :any { }\n\n/** \n * Set a temporary storage variable in Session Values \n **/ \nfunction setSessionValue(key:string,property) { }\n\n/** \n * Get a temporary storage variable from Session Values \n **/ \nfunction getSessionValue(key:string,defaultValue?:any) :any { }\n\n/** \n * Check if a property exists in the Session Values \n **/ \nfunction hasSessionValue(key:string,defaultValue?:any) :boolean { }\n\n/** \n * Clear a temporary storage variable \n **/ \nfunction clearSessionValue(key:string) :any { }\n\n/** \n * Generate an error message with an error code and an optional detail that will be handled by the definition of the error code \n **/ \nfunction generateError(errorCode:string, details: string) :void { }\n\n/** \n * Send a web socket notification to the current instance \n **/ \nfunction sendInstanceNotification(payloadType:string, payload:any) { }\n\n/** \n * Send a web socket notification to device configurations for current device \n **/ \nfunction sendDeviceConfigurationNotification(payloadType:string, payload:any) { }\n\n/** \n * Send a web socket notification to the current device \n **/ \nfunction sendDeviceNotification(payloadType:string, payload:any) { }\n\n",fileName:"commonfunc.d.ts"}}GetWorkflowObjectModel(t){const e=[];return e.push(this.GetGeoLocationLib()),e.push(this.GetPEMBusLib()),e.push(this.GetIoTDeviceLib()),e.push(this.GetMLLib()),e.push(this.GetDeviceStreamLib()),e.push(this.GetMessagingLib()),e.push(this.GetAttributeLib()),e.push(this.GetDeviceExceptionLib()),e.push(this.GetWorkflowInputsLib(t.inputs)),e.push(this.DevicePropertiesLib()),e.push(this.GetAttributesLib(t.attributes)),e.push(this.GetInputLib()),e.push(this.GetInputsLib(t.inputs)),e.push(this.GetOutputCommandLib()),e.push(this.GetOutputCommandsLib(t.outputCommands)),e.push(this.GetStateMachineLib()),e.push(this.GetStateMachinesLib(t.stateMachines)),e.push(this.GetDeviceWorkflowLib()),e.push(this.GetDeviceWorkflowRepoLib()),e.push(this.GetSensorSetters()),e.push(this.SetFSLiteTicketScript()),e}GetStateObjectModel(){const t=[];return t.push(this.GetPEMBusLib()),t.push(this.GetIoTDeviceLib()),t.push(this.GetDeviceStreamLib()),t.push(this.GetMessagingLib()),t.push(this.GetAttributeLib()),t.push(this.DevicePropertiesLib()),t.push(this.GetInputLib()),t.push(this.GetDeviceWorkflowRepoLib()),t}GetCustomPipelineObjectModel(t){const e=[];return e.push(this.GetGeoLocationLib()),e.push(this.GetPEMBusLib()),e.push(this.GetIoTDeviceLib()),e.push(this.GetDeviceStreamLib()),e.push(this.GetMessagingLib()),e.push(this.GetAttributeLib()),e.push(this.DevicePropertiesLib()),e.push(this.GetInputLib()),e.push(this.GetDeviceWorkflowRepoLib()),e}}class t_e extends Af{GetScriptHelpLinks(){var t=[];return t.push({title:"Scripting Help",link:"http://support.nuviot.com/help.html#/Scripting/Index.md"}),t.push({title:"State Machine - onTransition",link:"http://support.nuviot.com/help.html#/Scripting/StateTransition.md"}),t.push({title:"State Machine - handle",link:"http://support.nuviot.com/help.html#/Scripting/StateMachineSendEvent.md"}),t.push({title:"Working with Properties",link:"http://support.nuviot.com/help.html#/scripting/workingwithproperties"}),t.push({title:"Property Bag",link:"http://support.nuviot.com/help.html#/scripting/propertybag"}),t}static GetDefaultScript(){return"/*\n * Provide a script that will get execute when this transition\n * into a state occurs.\n *\n * Your onTransitionIn handler can accept an optional parameter\n * the method for the optional parameter would look like:\n *\n * function onTransitionIn(parameter) {\n *\n * }\n *\n */\nfunction onTransitionIn(parameter) {\n\n};"}constructor(t){super()}GetExtraLibs(t){let e=new Af,r=this.GetWorkflowObjectModel(t);return r.concat(e.GetStateObjectModel()),r}}class r_e extends Af{constructor(t,e,r,n,i,a,s){super(),this.StateMachine=e,this.DeviceWorkflow=t,this.Transition=r,this.ConnectionId=s,this.Event=a,this.SourceState=n,this.DestState=i}GetScriptHelpLinks(){var t=[];return t.push({title:"Scripting Help",link:"http://support.nuviot.com/help.html#/Scripting/Index.md"}),t.push({title:"State Machine - onTransition",link:"http://support.nuviot.com/help.html#/Scripting/StateTransition.md"}),t.push({title:"State Machine - handle",link:"http://support.nuviot.com/help.html#/Scripting/StateMachineSendEvent.md"}),t.push({title:"Working with Properties",link:"http://support.nuviot.com/help.html#/scripting/workingwithproperties"}),t.push({title:"Property Bag",link:"http://support.nuviot.com/help.html#/scripting/propertybag"}),t}static GetDefaultScript(){return"/*\n * Provide a script that will get execute when this transition\n * occurs.\n *\n * Your onTransition handler can accept an optional parameter\n * the method for the optional parameter would look like:\n *\n * function onTransition(parameter) {\n *\n * }\n *\n */\nfunction onTransition() {\n\n};"}GetExtraLibs(){return this.GetWorkflowObjectModel(this.DeviceWorkflow)}UpdateScriptOnModel(t){this.Transition.transitionAction=t}}class o_e extends Af{constructor(t,e){super(),this.workflow=t,this.businessRule=e}GetScriptHelpLinks(){const t=[];return t.push({title:"Scripting Help",link:"http://support.nuviot.com/help.html#/Scripting/Index.md"}),t.push({title:"Business Rules Script",link:"http://support.nuviot.com/help.html#/scripting/businessrules"}),t.push({title:"Working with Attributes",link:"http://support.nuviot.com/help.html#/scripting/workingwithattributes"}),t.push({title:"Working with Properties",link:"http://support.nuviot.com/help.html#/scripting/workingwithproperties"}),t.push({title:"Property Bag",link:"http://support.nuviot.com/help.html#/scripting/propertybag"}),t}static GetDefaultScript(){return"/*\n * Provide a script to be executed to evaluate this business rule\n * workflows have been executed.\n *\n * Your function might look as follows:\n *\n * // Example 1: Successful Case\n * function evaluate(){\n * const condition = Attributes.temperature < DeviceProperties.temperaturethreshold;\n * return condition;\n * }\n *\n * // Example 2: failed case\n * function evaluate(){\n * const condition = Attributes.temperature > DeviceProperties.temperaturethreshold;\n *\n * // set a reason to be passed with the error code or service ticket.\n * setReason('check failed, over temperature: ' + Attributes.temperature);\n *\n * // if this is set to true, a ticket will only be generated if the ticket does not exist\n * // if you set this to false, it will generate a service ticket each time this fails.\n * setExclusive(false);\n * return true;\n * }\n */\nfunction evaluate() /*boolean*/{\n\n return true;\n};"}GetExtraLibs(){const t=this.GetWorkflowObjectModel(this.workflow),e={fileName:"businessRuleExec.d.ts",classLib:"declare class ServiceTicketTemplate { /**\n *Create a new service ticket from the given template.\n */ id; }\n\n"};return e.classLib+="\n /**\n* Set a reason to be included with the service ticket or error code\n* that will be generated.\n**/\n function setReason( reason: string) { };\n\n /**\n* If you set isExclusive, if a ticket is already open on\n* the device an additional ticket will not be generated.\n**/\n function setExclusive(exclusive: bool) { };\n",t.push(e),t}UpdateScriptOnModel(t){this.businessRule.script=t}}class n_e extends Af{constructor(t){super(),this.customModule=t}GetScriptHelpLinks(){var t=[];return t.push({title:"Scripting Help",link:"http://support.nuviot.com/help.html#/Scripting/Index.md"}),t.push({title:"Working with Properties",link:"http://support.nuviot.com/help.html#/scripting/workingwithproperties"}),t.push({title:"Property Bag",link:"http://support.nuviot.com/help.html#/scripting/propertybag"}),t}static GetDefaultScript(){return"/*\n * Provide a script to be executed when an\n * on an incoming message.\n *\n * Your function might look as follows\n *\n * function handle(pem) {\n *\n * return true;\n * }\n *\n */\n function handle(pem){\n\n return true;\n };"}GetScript(){return this.customModule.script?this.customModule.script:"/*\n * Provide a script to be executed when an\n * on an incoming message.\n *\n * Your function might look as follows\n *\n * function handle(pem) {\n *\n * return true;\n * }\n *\n */\nfunction handle(pem){\n\n return true;\n};"}GetExtraLibs(){return this.GetCustomPipelineObjectModel(this.customModule)}UpdateScriptOnModel(t){this.customModule.script=t}}let i_e=(()=>{class o{constructor(){}getScriptLibs(e,r){switch(console.log("getScriptLibs",e,r),e.scriptTemplateName){case"unitConversionFromScript":case"unitConversionToScript":return JM.GetExtraLibs();default:console.warn(`Don't know how to get default script libs for ${e.scriptTemplateName}`)}return[]}getDefaultScript(e){switch(e.scriptTemplateName){case"unitConversionToScript":return JM.GetToDefaultScript();case"unitConversionFromScript":return JM.GetFromDefaultScript();case"stateTransitionInAction":return t_e.GetDefaultScript();case"transitionAction":return r_e.GetDefaultScript();case"businessRule":return o_e.GetDefaultScript();case"customPipelineModule":return n_e.GetDefaultScript();default:console.warn(`Don't know how to get default script for ${e.scriptTemplateName}`)}return""}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const QM=new me("NGX_MONACO_EDITOR_CONFIG"),a_e=["editorContainer"];let zB,$B=!1,s_e=(()=>{class o{constructor(e){this.config=e,this.onInit=new ee,this._insideNg=!1}set insideNg(e){this._insideNg=e,this._editor&&(this._editor.dispose(),this.initMonaco(this._options,this.insideNg))}get insideNg(){return this._insideNg}ngAfterViewInit(){$B?zB.then(()=>{this.initMonaco(this._options,this.insideNg)}):($B=!0,zB=new Promise(e=>{const r=this.config.baseUrl||`${He.production?He.moduleRouteHome:""}/assets`;if("object"==typeof window.monaco)return this.initMonaco(this._options,this.insideNg),void e();const n=()=>{window.require.config({paths:{vs:`${r}/monaco/min/vs`}}),window.require(["vs/editor/editor.main"],()=>{"function"==typeof this.config.onMonacoLoad&&this.config.onMonacoLoad(),this.initMonaco(this._options,this.insideNg),e()})};if(window.require)n();else{const i=document.createElement("script");i.type="text/javascript",i.src=`${r}/monaco/min/vs/loader.js`,i.addEventListener("load",n),document.body.appendChild(i)}}))}ngOnDestroy(){this._windowResizeSubscription&&this._windowResizeSubscription.unsubscribe(),this._editor&&(this._editor.dispose(),this._editor=void 0)}}return o.\u0275fac=function(e){return new(e||o)(O(QM))},o.\u0275cmp=ne({type:o,selectors:[["ng-component"]],viewQuery:function(e,r){if(1&e&&Yt(a_e,7),2&e){let n;ze(n=Ye())&&(r._editorContainer=n.first)}},inputs:{insideNg:"insideNg"},outputs:{onInit:"onInit"},decls:0,vars:0,template:function(e,r){},encapsulation:2}),o})();function l_e(o,t){if(1&o&&(d(0,"h4",9),v(1),u()),2&o){const e=m();p(1),ae(e.field.label)}}function c_e(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m().fullScreenView())}),P(1,"i",11),v(2,"Full Screen "),u()}}function d_e(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m().normalView())}),P(1,"i",12),v(2,"Done "),u()}}function u_e(o,t){if(1&o){const e=j();d(0,"i",19),T("click",function(){return F(e),S(m().$implicit.visible=!0)}),u()}}function p_e(o,t){if(1&o){const e=j();d(0,"i",20),T("click",function(){return F(e),S(m().$implicit.visible=!1)}),u()}}function h_e(o,t){if(1&o){const e=j();d(0,"div",22),T("click",function(){const i=F(e).$implicit;return S(m(4).insertTag(i))}),v(1),u()}if(2&o){const e=t.$implicit;p(1),ae(e)}}function g_e(o,t){if(1&o&&(d(0,"div"),b(1,h_e,2,1,"div",21),u()),2&o){const e=m().$implicit;p(1),g("ngForOf",e.tags)}}function m_e(o,t){if(1&o&&(d(0,"div")(1,"div")(2,"h5",15)(3,"div",9),v(4),u(),d(5,"div"),b(6,u_e,1,0,"i",16),b(7,p_e,1,0,"i",17),u()(),d(8,"p"),v(9),u(),b(10,g_e,2,1,"div",18),u()()),2&o){const e=t.$implicit;p(4),ce(" ",e.name," "),p(2),g("ngIf",!e.visible),p(1),g("ngIf",e.visible),p(2),ae(e.description),p(1),g("ngIf",e.visible)}}function f_e(o,t){if(1&o&&(d(0,"div",13),b(1,m_e,11,5,"div",14),u()),2&o){const e=m();p(1),g("ngForOf",e.tagGroups)}}const __e=function(o,t){return{"full-screen":o,"normal-height":t}};let v_e=(()=>{class o extends s_e{constructor(e,r,n){super(n),this.cmsService=e,this.zone=r,this.editorConfig=n,this._value="",this.propagateChange=i=>{},this.onTouched=()=>{},this.fullScreenMode=!1,this.tagGroups=[]}set options(e){this._options=Object.assign({},this.config.defaultOptions,e),this._editor&&(this._editor.dispose(),this.initMonaco(e,this.insideNg))}get options(){return this._options}set model(e){this.options.model=e,this._editor&&(this._editor.dispose(),this.initMonaco(this.options,this.insideNg))}writeValue(e){this._value=e||"",setTimeout(()=>{this._editor&&!this.options.model&&this._editor.setValue(this._value)})}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.onTouched=e}initMonaco(e,r){const n=!!e.model;if(n){const i=monaco.editor.getModel(e.model.uri||"");i?(e.model=i,e.model.setValue(this._value)):e.model=monaco.editor.createModel(e.model.value,e.model.language,e.model.uri)}if(this.field&&this.field.extraScriptLibs&&this.field.extraScriptLibs){this.compiledLibraries=[];for(let i of this.field.extraScriptLibs){let a=monaco.languages.typescript.typescriptDefaults.addExtraLib(i.classLib,i.fileName);this.compiledLibraries.push(a)}}r?this._editor=monaco.editor.create(this._editorContainer.nativeElement,e):this.zone.runOutsideAngular(()=>{this._editor=monaco.editor.create(this._editorContainer.nativeElement,e)}),n||this._editor.setValue(this._value),this._editor.onDidChangeModelContent(i=>{const a=this._editor.getValue();this.zone.run(()=>{this.propagateChange(a),this._value=a})}),this._editor.onDidBlurEditorWidget(()=>{this.onTouched()}),this._windowResizeSubscription&&this._windowResizeSubscription.unsubscribe(),this._windowResizeSubscription=So(window,"resize").subscribe(()=>this._editor.layout()),this.onInit.emit(this._editor),this.getTags()}ngOnDestroy(){if(super.ngOnDestroy(),this.compiledLibraries)for(let e of this.compiledLibraries)e.dispose();this.compiledLibraries=void 0}getTags(){var e=this;return E(function*(){let r=[];for(let n of e.field.tagsCSVURls){let i=yield e.cmsService.getTagGroup(n);r.push(i)}e.tagGroups=r})()}fullScreenView(){this.fullScreenMode=!0}normalView(){this.fullScreenMode=!1}insertTag(e){var r=this._editor.getPosition(),n=new monaco.Range(r.lineNumber,r.column,r.lineNumber,r.column);this._editor.executeEdits("my-source",[{identifier:{major:1,minor:1},range:n,text:e,forceMoveMarkers:!0}])}}return o.\u0275fac=function(e){return new(e||o)(O(W1),O(ct),O(QM))},o.\u0275cmp=ne({type:o,selectors:[["ngx-monaco-editor"]],inputs:{field:"field",options:"options",model:"model"},features:[qt([{provide:yi,useExisting:Gt(()=>o),multi:!0}]),Te],decls:10,vars:8,consts:[[1,"script-editor-container",3,"ngClass"],[2,"display","flex"],["style","flex-grow:1",4,"ngIf"],[2,"width","120px"],["class","action",3,"click",4,"ngIf"],[2,"display","flex","height","100%"],[1,"editor-container",2,"flex-grow","1"],["editorContainer",""],["style","width:400px;height: calc(100vh - 100px);overflow-y:auto",4,"ngIf"],[2,"flex-grow","1"],[1,"action",3,"click"],[1,"fa","fa-expand-arrows"],[1,"fa","fa-arrows-minimize"],[2,"width","400px","height","calc(100vh - 100px)","overflow-y","auto"],[4,"ngFor","ngForOf"],[1,"tag-group-label",2,"display","flex"],["class","fa fa-chevron-down action",3,"click",4,"ngIf"],["class","fa fa-chevron-up action",3,"click",4,"ngIf"],[4,"ngIf"],[1,"fa","fa-chevron-down","action",3,"click"],[1,"fa","fa-chevron-up","action",3,"click"],["class","tag",3,"click",4,"ngFor","ngForOf"],[1,"tag",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1),b(2,l_e,2,1,"h4",2),d(3,"div",3),b(4,c_e,3,0,"span",4),b(5,d_e,3,0,"span",4),u()(),d(6,"div",5),P(7,"div",6,7),b(9,f_e,2,1,"div",8),u()()),2&e&&(g("ngClass",Br(5,__e,r.fullScreenMode,!r.fullScreenMode)),p(2),g("ngIf",r.fullScreenMode),p(2),g("ngIf",!r.fullScreenMode),p(1),g("ngIf",r.fullScreenMode),p(4),g("ngIf",r.fullScreenMode))},dependencies:[Fo,gt,ve],styles:["[_nghost-%COMP%]{display:block;height:100%}.normal-height[_ngcontent-%COMP%] .editor-container[_ngcontent-%COMP%]{width:100%;height:98%}.full-screen[_ngcontent-%COMP%] .editor-container[_ngcontent-%COMP%]{width:calc(100vw - 400px)}.full-screen[_ngcontent-%COMP%]{top:0;left:0;background-color:#fff;position:fixed;height:calc(100vh - 80px);width:100vw;padding:10px}.normal-height[_ngcontent-%COMP%]{height:600px}"]}),o})();const y_e=function(o){return{"normal-mode":o}},b_e=function(o){return{"full-screen-mode":o}};let C_e=(()=>{class o{constructor(e,r){this.activeModal=e,this.scriptManager=r,this.editorOptions={theme:"vs-dark",automaticLayout:!0,language:"typescript",fixedOverflowWidgets:!0},this.code='function x() {\nconsole.log("Hello world!");\n}',this.fullScreenEnabled=!1,this.normalViewMode=!0,this.scriptUpdated=new ee,this.language="typescript"}set field(e){this._fld=e;let r=this.scriptManager.getScriptLibs(e,this.parentModel);r&&!this._fld.extraScriptLibs&&(this._fld.extraScriptLibs=r),this.script=e.scriptTemplateName?e.value?e.value:this.scriptManager.getDefaultScript(e):e.value??e.defaultValue}get field(){return this._fld}ngOnInit(){this.editorOptions.language=this.language,this.editorOptions.theme="vs-dark"}closeModal(){this.field&&this.field.defaultValue!=this.script&&(this.field.value=this.script),this.activeModal.close()}saveChanges(){this.field&&this.field.defaultValue!=this.script&&(this.field.value=this.script),this.save?.()}fullScreen(){this.fullScreenEnabled=!0,this.normalViewMode=!1}exitFullScreen(){this.fullScreenEnabled=!1,this.normalViewMode=!0}}return o.\u0275fac=function(e){return new(e||o)(O(xo),O(i_e))},o.\u0275cmp=ne({type:o,selectors:[["app-script-editor"]],outputs:{scriptUpdated:"scriptUpdated"},decls:14,vars:10,consts:[[2,"z-index","1060","height","800px","width","1138px"],[1,"modal-header"],[1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body",3,"ngClass"],[2,"height","600px",3,"field","options","ngModel","ngModelChange"],[1,"modal-footer"],[1,"btn","btn-md","btn-success",3,"click"],[1,"btn","btn-md","btn-primary",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"h5",2),v(3),u(),d(4,"button",3),T("click",function(){return r.closeModal()}),d(5,"span",4),v(6,"\xd7"),u()()(),d(7,"div",5)(8,"ngx-monaco-editor",6),T("ngModelChange",function(i){return r.script=i}),u()(),d(9,"div",7)(10,"button",8),T("click",function(){return r.saveChanges()}),v(11,"Save Changes to Server"),u(),d(12,"button",9),T("click",function(){return r.closeModal()}),v(13,"Close"),u()()()),2&e&&(p(3),ce("Edit Script - ",r.field.label,""),p(4),g("ngClass",St(6,y_e,!1===r.fullScreenEnabled))("ngClass",St(8,b_e,r.fullScreenEnabled)),p(1),g("field",r.field)("options",r.editorOptions)("ngModel",r.script))},dependencies:[Fo,mt,It,v_e],styles:[".full-screen-mode[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:1000}.normal-mode[_ngcontent-%COMP%]{height:600px}.editorFullView[_ngcontent-%COMP%]{height:calc(100vh - 80px)}"]}),o})();function w_e(o,t){if(1&o){const e=j();d(0,"span",7),T("click",function(){return F(e),S(m(2).showScriptEditor())}),v(1),u()}if(2&o){const e=m(2);p(1),ae(e.getLabel())}}function x_e(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function D_e(o,t){if(1&o&&(d(0,"div",2),P(1,"app-form-field-label",3),d(2,"div",4),b(3,w_e,2,1,"span",5),b(4,x_e,2,1,"div",6),u()()),2&o){const e=m();p(1),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled)}}let M_e=(()=>{class o extends Ct{constructor(e){super(),this.modalService=e}showScriptEditor(){const r=this.modalService.open(C_e,{size:"xl"}).componentInstance;r.save=()=>this.save(),"RawHtml"===this.field.fieldType&&(r.language="html"),r.field=this.field,r.parentModel=this.model}save(){this.host.saveForm(!1)}getLabel(){return"RawHtml"===this.field.fieldType?this.field.value?"-edit html-":"-add html-":this.field.value?"-edit script-":this.field.watermark??"-edit script-"}}return o.\u0275fac=function(e){return new(e||o)(O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-script"]],features:[Te],decls:2,vars:7,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],["attr","one","ng-hide","!isVisible",1,"form-group"],[3,"name","label","isRequired"],[1,"input-group-holder"],["class","picker-link",3,"click",4,"ngIf"],[4,"ngIf"],[1,"picker-link",3,"click"]],template:function(e,r){1&e&&(b(0,D_e,5,5,"div",0),P(1,"app-form-field-validation-section",1)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors))},dependencies:[ve,or,ar],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})();const YB=function(){return{plugins:"lists link image table code help wordcount fullscreen",toolbar:"fullscreen undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | align lineheight | tinycomments | checklist numlist bullist indent outdent | emoticons charmap | removeforma"}};function T_e(o,t){if(1&o){const e=j();d(0,"editor",13),T("ngModelChange",function(n){return F(e),S(m().sourceContent=n)}),u()}if(2&o){const e=m();g("init",rm(2,YB))("ngModel",e.sourceContent)}}function F_e(o,t){if(1&o){const e=j();d(0,"textarea",14),T("ngModelChange",function(n){return F(e),S(m().sourceContent=n)}),u()}2&o&&g("ngModel",m().sourceContent)}function S_e(o,t){if(1&o){const e=j();d(0,"editor",13),T("ngModelChange",function(n){return F(e),S(m().response=n)}),u()}if(2&o){const e=m();g("init",rm(2,YB))("ngModel",e.response)}}function P_e(o,t){if(1&o){const e=j();d(0,"textarea",14),T("ngModelChange",function(n){return F(e),S(m().response=n)}),u()}2&o&&g("ngModel",m().response)}function I_e(o,t){1&o&&P(0,"div",15)}function A_e(o,t){if(1&o&&(d(0,"div",16)(1,"h4"),v(2,"Please Wait..."),u(),d(3,"h4"),v(4,"...I'll Be Back"),u(),P(5,"app-loading-spinner",17),u()),2&o){const e=m();p(5),g("caption",e.terminatorQuote)}}let jB=(()=>{class o{constructor(e,r){this.activeModal=e,this.mlService=r,this.busy=!1,this.htmlContent=!1,this.onApplyContent=new ee,this._requestOption="-1",this.terminatorQuotes=["Hasta la vista, baby","Come with me if you want to live","I need your clothes, your boots, and your motorcycle","I know Now Why You Cry, But It\u2019s Something I Can Never Do.","I\u2019m a cybernetic organism. Living tissue over a metal endoskeleton.","If A Machine, A Terminator, Can Learn The Value Of Human Life, Maybe We Can, Too.","All You Know How To Create Is Death And Destruction","She\u2019s A Priority To Me","If Someone Comes Up To You With An Attitude, You Say, 'Eat Me'","You Just Can\u2019t Go Around Killing People","Your Foster Parents Are Dead.","My Mission Is To Protect You","Maybe It\u2019ll Be Enough If You Know That, In The Few Hours We Had Together, We Loved A Lifetime\u2019s Worth","You\u2019re Terminated","So You Feel Nothing?","It Doesn\u2019t Feel Pity, Or Remorse, Or Fear, And It Absolutely Will Not Stop, Ever, Until You Are Dead!","His Name Is Connor. John Connor. Your Son, Sarah\u2026 Your Unborn Son","Cyborgs Don\u2019t Feel Pain. I Do","Your Clothes, Give Them To Me, Now","The Future Has Not Been Written. There Is No Fate But What We Make For Ourselves.","Judgment Day Is Inevitable","The Strength Of The Human Heart. The Difference Between Us And Machines.","This Is The World Now. Logged On, Plugged In, All The Time.","Skynet Was Gone. And Now One Road Has Become Many","When This Is All Over, I Am Going To Kill You","You Need Butterflies, Polka Dots, Balloons","I Am Human. Just Enhanced","Because I Was Her. And It Sucks","Once, I Saved Three Billion Lives\u2026 But I Couldn\u2019t Save My Son","I\u2019m Never Going To Fu**ing Call You Car","You Chose To Destroy Skynet. You Set Me Free"]}get requestOption(){return this._requestOption}set requestOption(e){this._requestOption=e,this.request=e}ngOnInit(){this.outputFormat=this.htmlContent?"HTML":"Plain Text",this.request&&(this.request=this.request.replaceAll("{name}",this.form.view.name.value??"[SUBJECT MATTER]"))}callTerminator(){var e=this;return E(function*(){let r=parseInt((Math.random()*e.terminatorQuotes.length).toString());if(e.terminatorQuote=e.terminatorQuotes[r],console.log(e.terminatorQuote),e.busy=!0,!e.request&&!e.sourceContent)return void alert("Please provide a Request or Content.");var n="";e.request&&(n=e.request),"HTML"==e.outputFormat&&(n+=" please format as html"),e.sourceContent&&(n+=`: ${e.sourceContent}`);let i={query:n,role:"user",conversationId:void 0},a=yield e.mlService.textQuery(i);if(e.response=a.result.response,e.busy=!1,e.form.view.summary&&!e.form.view.summary.value){i.query=`Please summarize the following content: ${e.response}`;let s=yield e.mlService.textQuery(i);s.successful&&(e.form.view.summary.value=s.result.response)}})()}apply(){this.onApplyContent?.emit(this.response),this.activeModal.close()}cancel(){this.activeModal.close()}}return o.\u0275fac=function(e){return new(e||o)(O(xo),O(WM))},o.\u0275cmp=ne({type:o,selectors:[["app-text-helper"]],decls:53,vars:10,consts:[[2,"padding","10pt","position","relative"],[1,"form-select",3,"ngModel","ngModelChange"],["value","-1"],[1,"form-group",2,"margin-top","10px"],["placeholder","or enter a task",1,"form-control",3,"ngModel","ngModelChange"],["apiKey","kjvrmckj7e2u9yuxwg3akvfp3rkybse6455b25ja0liuef9o",3,"init","ngModel","ngModelChange",4,"ngIf"],["rows","15","class","form-control",3,"ngModel","ngModelChange",4,"ngIf"],[2,"text-align","right","margin-top","10px"],[1,"btn","btn-primary",2,"margin-right","10px",3,"click"],[1,"btn","btn-success",2,"margin-right","10px",3,"disabled","click"],[1,"btn","btn-danger",3,"click"],["style","width: 100%; height: 100%;opacity: 0.5; background-color: black;position: absolute;top:0",4,"ngIf"],["style","color:white; text-align: center;padding-top: 200px; position: absolute;top:0; width: 100%",4,"ngIf"],["apiKey","kjvrmckj7e2u9yuxwg3akvfp3rkybse6455b25ja0liuef9o",3,"init","ngModel","ngModelChange"],["rows","15",1,"form-control",3,"ngModel","ngModelChange"],[2,"width","100%","height","100%","opacity","0.5","background-color","black","position","absolute","top","0"],[2,"color","white","text-align","center","padding-top","200px","position","absolute","top","0","width","100%"],[3,"caption"]],template:function(e,r){1&e&&(d(0,"div")(1,"div",0)(2,"h4"),v(3,"T-800"),u(),d(4,"label"),v(5,"Common Tasks"),u(),d(6,"select",1),T("ngModelChange",function(i){return r.requestOption=i}),d(7,"option",2),v(8,"-select an task-"),u(),d(9,"option"),v(10,"Please Reword"),u(),d(11,"option"),v(12,"Please Reword and Provide More Detail"),u(),d(13,"option"),v(14,"Please Create an Email"),u(),d(15,"option"),v(16,"Please Fix the grammar"),u(),d(17,"option"),v(18,"Please Explain so that a second grader would understand"),u(),d(19,"option"),v(20,"Please Answer the question"),u(),d(21,"option"),v(22,"Please Generate Content"),u()(),d(23,"label"),v(24,"Output Format"),u(),d(25,"select",1),T("ngModelChange",function(i){return r.outputFormat=i}),d(26,"option"),v(27,"Plain Text"),u(),d(28,"option"),v(29,"HTML"),u()(),d(30,"div",3)(31,"label"),v(32,"Request"),u(),d(33,"input",4),T("ngModelChange",function(i){return r.request=i}),u()(),d(34,"div",3)(35,"label"),v(36,"Content"),u(),b(37,T_e,1,3,"editor",5),b(38,F_e,1,1,"textarea",6),u(),d(39,"div",3)(40,"label"),v(41,"Response"),u(),b(42,S_e,1,3,"editor",5),b(43,P_e,1,1,"textarea",6),u(),d(44,"div",7)(45,"button",8),T("click",function(){return r.callTerminator()}),v(46,"Ask Terminator"),u(),d(47,"button",9),T("click",function(){return r.apply()}),v(48,"Apply"),u(),d(49,"button",10),T("click",function(){return r.cancel()}),v(50,"Cancel"),u()()(),b(51,I_e,1,0,"div",11),b(52,A_e,6,1,"div",12),u()),2&e&&(p(6),g("ngModel",r.requestOption),p(19),g("ngModel",r.outputFormat),p(8),g("ngModel",r.request),p(4),g("ngIf",r.htmlContent),p(1),g("ngIf",!r.htmlContent),p(4),g("ngIf",r.htmlContent),p(1),g("ngIf",!r.htmlContent),p(4),g("disabled",!r.response),p(4),g("ngIf",r.busy),p(1),g("ngIf",r.busy))},dependencies:[ve,Qo,en,Ht,No,mt,It,fu,GM],styles:["label[_ngcontent-%COMP%]{font-weight:700;font-family:Roboto,sans-serif}"]}),o})();function O_e(o,t){if(1&o){const e=j();d(0,"div",8)(1,"div",9)(2,"button",10),T("click",function(){return F(e),S(m(2).import=!0)}),v(3,"Import"),u(),d(4,"p"),v(5,"Import an existing template into this object."),u()(),d(6,"div",9)(7,"button",10),T("click",function(){F(e);const n=m(2);return n.export=!0,S(n.isEditingContent=!0)}),v(8,"Export"),u(),d(9,"p"),v(10,"Save the provided content as a template that can be used in other objects."),u()()()}}function R_e(o,t){if(1&o){const e=j();d(0,"li",14)(1,"div",15)(2,"div",9),v(3),u(),d(4,"div")(5,"span",16),T("click",function(){const i=F(e).$implicit;return S(m(4).applyContentAsLink(i))}),v(6,"Link to Content"),u(),d(7,"span",16),T("click",function(){const i=F(e).$implicit;return S(m(4).applyContent(i))}),v(8,"Copy Content"),u(),d(9,"span",16),T("click",function(){const i=F(e).$implicit;return S(m(4).editContent(i))}),v(10,"Edit"),u()()()()}if(2&o){const e=t.$implicit;p(3),ce(" ",e.name," ")}}function L_e(o,t){if(1&o&&(d(0,"ol",12),b(1,R_e,11,1,"li",13),u()),2&o){const e=m(3);p(1),g("ngForOf",e.templates.model)}}function B_e(o,t){1&o&&(d(0,"p"),v(1," Sorry there is no shared content available to import. "),u())}function N_e(o,t){if(1&o&&(d(0,"div")(1,"h4"),v(2,"Import"),u(),b(3,L_e,2,1,"ol",11),b(4,B_e,2,0,"p",3),u()),2&o){const e=m(2);p(3),g("ngIf",e.templates),p(1),g("ngIf",0==e.templates.model.length)}}function H_e(o,t){1&o&&(d(0,"div")(1,"h4"),v(2,"Export"),u()())}function V_e(o,t){if(1&o){const e=j();d(0,"input",18),T("ngModelChange",function(n){return F(e),S(m(3).content=n)}),u()}2&o&&g("ngModel",m(3).content)}function $_e(o,t){if(1&o){const e=j();d(0,"textarea",18),T("ngModelChange",function(n){return F(e),S(m(3).field.value=n)}),u()}2&o&&g("ngModel",m(3).field.value)}function z_e(o,t){if(1&o){const e=j();d(0,"editor",22),T("ngModelChange",function(n){return F(e),S(m(3).content=n)}),u()}if(2&o){const e=m(3);g("init",e.getEditorOptions())("ngModel",e.content)}}function Y_e(o,t){if(1&o){const e=j();d(0,"div",17)(1,"label"),v(2,"Name"),u(),d(3,"input",18),T("ngModelChange",function(n){return F(e),S(m(2).sharedContentName=n)}),u(),d(4,"label"),v(5),d(6,"span",19),v(7,"*"),u()(),b(8,V_e,1,1,"input",20),b(9,$_e,1,1,"textarea",20),b(10,z_e,1,2,"editor",21),u()}if(2&o){const e=m(2);p(3),g("ngModel",e.sharedContentName),p(2),ce("",e.field.label," "),p(3),g("ngIf","Text"==e.field.fieldType),p(1),g("ngIf","MultiLineText"==e.field.fieldType),p(1),g("ngIf","HtmlEditor"==e.field.fieldType)}}function j_e(o,t){if(1&o){const e=j();d(0,"button",23),T("click",function(){return F(e),S(m(2).saveSharedContent())}),v(1,"Save"),u()}if(2&o){const e=m(2);g("disabled",!e.sharedContentName||e.sharedContentName.length<3)}}function U_e(o,t){if(1&o){const e=j();d(0,"div",1)(1,"h4"),v(2),u(),P(3,"hr"),b(4,O_e,11,0,"div",2),b(5,N_e,5,2,"div",3),b(6,H_e,3,0,"div",3),b(7,Y_e,11,5,"div",4),P(8,"hr"),d(9,"div",5),b(10,j_e,2,1,"button",6),d(11,"button",7),T("click",function(){return F(e),S(m().cancel())}),v(12,"Cancel"),u()()()}if(2&o){const e=m();p(2),ae(e.field.label),p(2),g("ngIf",!e.import&&!e.export&&!e.isEditingContent),p(1),g("ngIf",e.import&&!e.isEditingContent),p(1),g("ngIf",e.export),p(1),g("ngIf",e.sharedContent&&e.isEditingContent),p(3),g("ngIf",e.isEditingContent)}}let ek=(()=>{class o{constructor(e,r){this.siteContentService=e,this.activeModal=r,this.sharedContentName="",this.import=!1,this.export=!1,this.isEditingContent=!1}ngOnInit(){var e=this;return E(function*(){e.templates=yield e.siteContentService.getSharedContentItems(e.field.sharedContentKey),e.sharedContent=(yield e.siteContentService.createSharedContent(e.field.sharedContentKey)).model,e.sharedContent.key=e.sharedContent.id.toLowerCase(),e.sharedContent.sharedContentKey=e.field.sharedContentKey,e.isAddingNew=!0,e.content=e.field.value})()}saveSharedContent(){var e=this;return E(function*(){e.sharedContent.name=e.sharedContentName,e.sharedContent.content=e.content,(e.isAddingNew?yield e.siteContentService.addSharedContent(e.sharedContent):yield e.siteContentService.updateSharedContent(e.sharedContent)).successful&&(e.activeModal.close(),e.field.value.startsWith("sharedcontentid=")||(e.field.value=e.content))})()}applyContentAsLink(e){this.field.value=`sharedcontentid=${e.id}`,this.activeModal.close()}applyContent(e){var r=this;return E(function*(){let n=yield r.siteContentService.getSharedContent(e.id);r.field.value=n.model.content,r.activeModal.close()})()}editContent(e){var r=this;return E(function*(){let n=yield r.siteContentService.getSharedContent(e.id);r.sharedContent=n.model,r.content=r.sharedContent.content,r.sharedContentName=r.sharedContent.name,r.isAddingNew=!1,r.isEditingContent=!0})()}getEditorOptions(){let e=[];if(this.field.tags)for(let r of this.field.tags)e.push({title:r.title,value:r.tag});return{plugins:"lists link image table code help wordcount fullscreen autoresize charmap emoticons media mergetags",toolbar:"fullscreen undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | align lineheight | tinycomments | checklist numlist bullist indent outdent | emoticons charmap | removeforma",mergetags_list:e,mergetags_suffix:"]",mergetags_prefix:"[",min_height:400,branding:!1}}cancel(){this.activeModal.dismiss()}}return o.\u0275fac=function(e){return new(e||o)(O(M1),O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-shared-content-modal"]],inputs:{field:"field"},decls:1,vars:1,consts:[["style","padding:10px",4,"ngIf"],[2,"padding","10px"],["style","display:flex;height: 300px;padding-top:20px; text-align: center;",4,"ngIf"],[4,"ngIf"],["class","form-group",4,"ngIf"],[2,"text-align","right"],["class","btn btn-primary",3,"disabled","click",4,"ngIf"],[1,"btn","btn-danger",3,"click"],[2,"display","flex","height","300px","padding-top","20px","text-align","center"],[2,"flex-grow","1"],[1,"btn","btn-success",3,"click"],["class","list-group",4,"ngIf"],[1,"list-group"],["class","list-group-item",4,"ngFor","ngForOf"],[1,"list-group-item"],[2,"display","flex"],[1,"action",3,"click"],[1,"form-group"],["type","text",1,"form-control",3,"ngModel","ngModelChange"],[1,"required"],["type","text","class","form-control",3,"ngModel","ngModelChange",4,"ngIf"],["apiKey","kjvrmckj7e2u9yuxwg3akvfp3rkybse6455b25ja0liuef9o",3,"init","ngModel","ngModelChange",4,"ngIf"],["apiKey","kjvrmckj7e2u9yuxwg3akvfp3rkybse6455b25ja0liuef9o",3,"init","ngModel","ngModelChange"],[1,"btn","btn-primary",3,"disabled","click"]],template:function(e,r){1&e&&b(0,U_e,13,6,"div",0),2&e&&g("ngIf",r.field)},dependencies:[gt,ve,Ht,mt,It,fu],styles:["label[_ngcontent-%COMP%]{font-weight:700}label[_ngcontent-%COMP%] span.required[_ngcontent-%COMP%]{color:red}"]}),o})(),UB=(()=>{class o{constructor(e){this.elementRef=e,this.minRows=1,this.maxRows=10}ngAfterViewInit(){setTimeout(()=>this.resize())}ngOnChanges(e){setTimeout(()=>this.resize())}onInput(){this.resize()}onFocus(){this.resize()}resize(){const e=this.elementRef.nativeElement,r=window.getComputedStyle(e),n=this.getLineHeight(e,r),i=this.toPixels(r.borderTopWidth)+this.toPixels(r.borderBottomWidth),a=this.toPixels(r.paddingTop)+this.toPixels(r.paddingBottom),s=n*this.minRows+a+i,l=n*this.maxRows+a+i;e.style.height="auto";const c=Math.max(s,Math.min(e.scrollHeight+i,l));e.style.height=`${c}px`,e.style.overflowY=e.scrollHeight+i>l?"auto":"hidden"}getLineHeight(e,r){const n=this.toPixels(r.lineHeight);if(n>0)return n;const i=this.toPixels(r.fontSize);return i>0?1.25*i:20}toPixels(e){const r=Number.parseFloat(e);return Number.isFinite(r)?r:0}}return o.\u0275fac=function(e){return new(e||o)(O(dt))},o.\u0275dir=Se({type:o,selectors:[["textarea","nuvosAutoResizeTextarea",""]],hostBindings:function(e,r){1&e&&T("input",function(){return r.onInput()})("focus",function(){return r.onFocus()})},inputs:{minRows:"minRows",maxRows:"maxRows",resizeTick:"resizeTick"},features:[Lr]}),o})();function W_e(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m().fullScreen())}),P(1,"i",11),v(2,"Full Screen "),u()}}function G_e(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m().normalViewMode())}),P(1,"i",12),v(2,"Done "),u()}}function q_e(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m().showSharedContentModal())}),P(1,"i",13),v(2," Shared Content "),u()}}function K_e(o,t){if(1&o){const e=j();d(0,"i",20),T("click",function(){return F(e),S(m().$implicit.visible=!0)}),u()}}function Z_e(o,t){if(1&o){const e=j();d(0,"i",21),T("click",function(){return F(e),S(m().$implicit.visible=!1)}),u()}}function X_e(o,t){if(1&o){const e=j();d(0,"div",23),T("click",function(){const i=F(e).$implicit;return S(m(4).insertTag(i))}),v(1),u()}if(2&o){const e=t.$implicit;p(1),ae(e)}}function J_e(o,t){if(1&o&&(d(0,"div"),b(1,X_e,2,1,"div",22),u()),2&o){const e=m().$implicit;p(1),g("ngForOf",e.tags)}}function Q_e(o,t){if(1&o&&(d(0,"div")(1,"div")(2,"h5",16)(3,"div",2),v(4),u(),d(5,"div"),b(6,K_e,1,0,"i",17),b(7,Z_e,1,0,"i",18),u()(),d(8,"p"),v(9),u(),b(10,J_e,2,1,"div",19),u()()),2&o){const e=t.$implicit;p(4),ce(" ",e.name," "),p(2),g("ngIf",!e.visible),p(1),g("ngIf",e.visible),p(2),ae(e.description),p(1),g("ngIf",e.visible)}}function eve(o,t){if(1&o&&(d(0,"div",14),b(1,Q_e,11,5,"div",15),u()),2&o){const e=m();p(1),g("ngForOf",e.tagGroups)}}const tve=function(o){return{fullScreen:o}},rve=function(o){return{fontFamily:o}};let ove=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.cmsService=r,this.fullScreenMode=!1,this.tagGroups=[],this.isFocused=!1}keyDown(e){let r=e.target;if("Tab"===e.key){e.preventDefault();const n=r.selectionStart,i=r.selectionEnd;r.value=r.value.substring(0,n)+"\t"+r.value.substring(i),r.selectionStart=r.selectionEnd=n+1}}onBlur(e){super.onBlur(e),this.textElement=e.target,this.isFocused=!1}insertTag(e){if(this.textElement){const r=this.textElement.selectionStart,n=this.textElement.selectionEnd,i=this.textElement.value;this.textElement.value=i.substring(0,r)+e+i.substring(n),this.textElement.selectionStart=this.textElement.selectionEnd=r+e.length,this.field.value=this.textElement.value}}aiContentEdit(){const e=this.modalService.open(jB,{size:"lg",beforeDismiss:()=>!0}).componentInstance;e.sourceContent=this.field.value,e.onApplyContent.subscribe(r=>{this.field.value=r})}showSharedContentModal(){this.modalService.open(ek,{size:"lg",beforeDismiss:()=>!0}).componentInstance.field=this.field}fullScreen(){var e=this;return E(function*(){e.fullScreenMode=!0;let r=[];for(let n of e.field.tagsCSVURls){let i=yield e.cmsService.getTagGroup(n);r.push(i)}e.tagGroups=r})()}normalViewMode(){this.fullScreenMode=!1}get hasTextValue(){return!!String(this.field?.value||"").trim()}get effectiveRows(){return this.fullScreenMode?this.field.rows||8:this.isFocused||this.hasTextValue?this.field.rows||6:Math.min(this.field.rows||2,2)}onFocus(e){this.isFocused=!0,super.onFocus(e)}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(W1))},o.\u0275cmp=ne({type:o,selectors:[["app-text-area"]],features:[Te],decls:13,vars:28,consts:[[3,"ngClass"],[1,"label-bar",2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired","ai"],["class","action",3,"click",4,"ngIf"],[1,"textarea-shell"],["nuvosAutoResizeTextarea","",1,"form-control","multiline-textarea",2,"flex-grow","1",3,"name","placeholder","id","ngModel","minRows","maxRows","resizeTick","disabled","ngStyle","ngModelChange","keydown","change","input","focus","blur"],["class","tag-panel",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[1,"action",3,"click"],[1,"fa","fa-expand-arrows"],[1,"fa","fa-arrows-minimize"],[1,"fa","fas","fa-copy"],[1,"tag-panel"],[4,"ngFor","ngForOf"],[1,"tag-group-label",2,"display","flex"],["class","fa fa-chevron-down action",3,"click",4,"ngIf"],["class","fa fa-chevron-up action",3,"click",4,"ngIf"],[4,"ngIf"],[1,"fa","fa-chevron-down","action",3,"click"],[1,"fa","fa-chevron-up","action",3,"click"],["class","tag",3,"click",4,"ngFor","ngForOf"],[1,"tag",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2)(3,"app-form-field-label",3),T("ai",function(){return r.aiContentEdit()}),u()(),d(4,"div"),b(5,W_e,3,0,"span",4),b(6,G_e,3,0,"span",4),b(7,q_e,3,0,"span",4),u()(),d(8,"div",5)(9,"textarea",6),T("ngModelChange",function(i){return r.field.value=i})("keydown",function(i){return r.keyDown(i)})("change",function(i){return r.changed(i)})("input",function(i){return r.textChanged(i)})("focus",function(i){return r.onFocus(i)})("blur",function(i){return r.onBlur(i)}),u(),b(10,eve,2,1,"div",7),u(),P(11,"app-form-field-validation-section",8)(12,"app-form-field-help",9),u()),2&e&&(g("ngClass",St(24,tve,r.fullScreenMode)),p(3),g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),g("ngIf",!r.fullScreenMode),p(1),g("ngIf",r.fullScreenMode),p(1),g("ngIf",r.field.sharedContentKey),p(2),Ne("name",r.field.name),Ne("placeholder",r.field.watermark||"click to add "+r.field.label.toLocaleLowerCase()),Ne("id",r.field.name),g("ngModel",r.field.value)("minRows",1)("maxRows",r.fullScreenMode?999:r.field.rows||8)("resizeTick",r.field.value+":"+r.fullScreenMode)("disabled",!r.field.isUserEditable)("ngStyle",St(26,rve,"MultiLineTextAreaFixedFont"==r.field.fieldType?"consolas":"")),p(1),g("ngIf",r.fullScreenMode),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,mt,It,Fo,gt,ve,ml,rr,or,ar,UB],styles:[".fullScreen[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:1000;background-color:#fff;display:flex;flex-direction:column}.fullScreen[_ngcontent-%COMP%] .label-bar[_ngcontent-%COMP%]{margin-left:20px;margin-top:20px;margin-right:20px;flex:0 0 auto}.fullScreen[_ngcontent-%COMP%] .textarea-shell[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;min-height:0}.fullScreen[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{flex:1 1 auto;height:calc(100vh - 120px)!important;min-height:calc(100vh - 120px)!important;max-height:calc(100vh - 120px)!important;background-color:#fff;border:1px solid #ccc;margin:10px;padding:10px;font-size:16px;resize:none;overflow-y:auto!important}.fullScreen[_ngcontent-%COMP%] .tag-panel[_ngcontent-%COMP%]{width:400px;height:auto;overflow-y:auto;flex:0 0 400px}.multiline-textarea[_ngcontent-%COMP%]{min-height:2.25rem;line-height:1.35;overflow-y:hidden;resize:none;transition:height 80ms ease,box-shadow .12s ease,background-color .12s ease}.multiline-textarea.compact-empty[_ngcontent-%COMP%]{height:2.25rem;overflow:hidden;resize:none}"]}),o})();function nve(o,t){if(1&o){const e=j();d(0,"span",7),T("click",function(){return F(e),S(m().showSharedContentModal())}),P(1,"i",8),v(2," Shared Content "),u()}}function ive(o,t){if(1&o){const e=j();d(0,"input",13),T("ngModelChange",function(n){return F(e),S(m(2).field.value=n)})("change",function(n){return F(e),S(m(2).changed(n))})("input",function(n){return F(e),S(m(2).textChanged(n))})("focus",function(n){return F(e),S(m(2).onFocus(n))})("blur",function(n){return F(e),S(m(2).onBlur(n))}),u()}if(2&o){const e=m(2);Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.field.value)("type",e.inputType)("disabled",!e.field.isUserEditable)}}function ave(o,t){if(1&o){const e=j();d(0,"div",14)(1,"h6"),v(2,"Linked Content - Ready Only"),d(3,"span",7),T("click",function(){return F(e),S(m(2).field.value="")}),P(4,"i",15),v(5,"Edit"),u()(),v(6),xr(7,"async"),xr(8,"sharedContent"),u()}if(2&o){const e=m(2);p(6),ce(" ",Dr(7,1,Dr(8,3,e.field.value)),"")}}function sve(o,t){1&o&&(d(0,"span",16),P(1,"i",17),u()),2&o&&Re("data-target",m(2).popupId)}function lve(o,t){if(1&o&&(d(0,"div",9),b(1,ive,1,8,"input",10),b(2,ave,9,5,"div",11),b(3,sve,2,1,"span",12),u()),2&o){const e=m();p(1),g("ngIf",!e.field.value||"Text"!=e.field.fieldType||!e.field.value.toString().startsWith("sharedcontentid")),p(1),g("ngIf",e.field.value&&"Text"==e.field.fieldType&&e.field.value.toString().startsWith("sharedcontentid")),p(1),g("ngIf",e.field.help)}}let cve=(()=>{class o extends Ct{constructor(e){super(),this.modalService=e}ngOnInit(){super.ngOnInit()}showSharedContentModal(){this.modalService.open(ek,{size:"lg",beforeDismiss:()=>!0}).componentInstance.field=this.field}}return o.\u0275fac=function(e){return new(e||o)(O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-text-box"]],features:[Te],decls:8,vars:12,consts:[[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],["class","action",3,"click",4,"ngIf"],["class","input-group",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[1,"action",3,"click"],[1,"fa","fas","fa-copy"],[1,"input-group"],["class","form-control",3,"name","id","ngModel","type","disabled","background-color","placeholder","ngModelChange","change","input","focus","blur",4,"ngIf"],["class","shared-content-preview",4,"ngIf"],["data-toggle","modal","class","input-group-text","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],[1,"form-control",3,"name","id","ngModel","type","disabled","placeholder","ngModelChange","change","input","focus","blur"],[1,"shared-content-preview"],[1,"fa","fa-pencil"],["data-toggle","modal",1,"input-group-text",2,"cursor","pointer","color","#A0A0A0"],["aria-hidden","true",1,"fa","fa-question"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1),P(2,"app-form-field-label",2),u(),d(3,"div"),b(4,nve,3,0,"span",3),u()(),b(5,lve,4,3,"div",4),P(6,"app-form-field-validation-section",5)(7,"app-form-field-help",6)),2&e&&(p(2),g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),g("ngIf",r.field.sharedContentKey),p(1),g("ngIf",!0),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,mt,It,ve,rr,or,ar,Vw,rM],styles:[".shared-content-preview[_ngcontent-%COMP%]{-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);-webkit-box-shadow-box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);background-color:var(--color-bg);border-radius:4px;padding:10px;border-color:gray}"]}),o})(),J1=(()=>{class o{constructor(e,r){this.client=e,this.router=r,this._currentAppsList$=new pt,this._currentApp$=new pt,this._currentFolder$=new pt,this._currentView$=new pt,this._currentKiosksList$=new pt,this._kioskViews$=new pt,this._currentKiosk$=new pt,this._currentKioskView$=new pt,this._dateRange$=new pt,this._addedWidgets$=new pt(1)}loadApps(e,r){var n=this;return E(function*(){let i=yield n.client.getListResponse(`/api/ui/apps/${e}`);if(n.apps=i.model,"iotdashboard"===e&&n.apps.unshift({id:n.deviceRepoAppId,isReadOnly:!0,title:"Device Explorer",name:"Device Explorer",icon:"fa fa-microchip",foregroundColor:"#fff",backgroundColor:"#3996F2",key:"deviceexplorer",defaultFolder:{id:"-1",text:"db"},defaultView:{id:"-1",text:"db"},phoneDefaultFolder:{id:"-1",text:"db"},tabletDefaultFolder:{id:"-1",text:"db"},help:"Explore and manage the devices in your device repositories.",isBeta:!1,folders:[]}),n._currentAppsList$.next(n.apps),r){const a=n.apps.find(s=>s.id===r);a?(n._currentApp$.next(a),n.currentApp=a):n.currentApp=null}return n.apps})()}getApp(e,r){var n=this;return E(function*(){let i=yield n.client.requestForInvokeResultEx(`/api/ui/app/${e}/${r}`);return n.setCurrentApp(i.result),i.result})()}getAppForEditing(e,r){return this.client.getFormResponse(`/api/ui/app/edit/${e}/${r}`)}createApp(e){return this.client.getFormResponse(`/api/ui/app/${e}/factory`)}createViewFolder(){return this.client.getFormResponse("/api/ui/app/folder/factory")}createView(){return this.client.getFormResponse("/api/ui/app/view/factory")}insertApp(e){var r=this;return E(function*(){return yield r.client.insert("/api/ui/app",e)})()}updateApp(e){var r=this;return E(function*(){return yield r.client.update("/api/ui/app",e)})()}saveApp(e){var r=this;return E(function*(){if(e.isEditing)return yield r.client.update("/api/ui/app",e);{let n=yield r.client.insert("/api/ui/app",e);return n.successful&&(e.isEditing=!0),n}})()}deleteApp(e){return this.client.delete(`/api/ui/iotapp/${e}`)}editApp(e){var r=this;return E(function*(){let n=yield r.client.getFormResponse("/api/ui/app/factory");return n.isEditing=!0,n.model=e,n})()}editFolder(e){var r=this;return E(function*(){let n=yield r.client.getFormResponse("/api/ui/app/folder/factory");return n.isEditing=!0,n.model=e,n})()}editView(e){var r=this;return E(function*(){let n=yield r.client.getFormResponse("/api/ui/app/view/factory");return n.isEditing=!0,n.model=e,n})()}navigateToAppsHome(){this.router.navigate(["apps"])}navigateToKiosksHome(){this.router.navigate(["kiosks"])}addWidgetToCurrentView(e){if(!e)throw new Error("Widget Template was Null");const r={id:Dt.newGuid(),name:e.name,widgetId:e.widgetId,title:e.title,widgetAttributes:e.getDefaultWidgetAttributes(),order:this.getCurrentView().widgets.length+1};console.log(r),this.getCurrentView().widgets.push(r)}createWidget(e,r,n){return this.client.request("/api/ui/widget/factory")}insertWidget(e){return this.client.insert("/api/ui/widget",e)}updateWidget(e){return this.client.update("/api/ui/widget",e)}onWidgetAddedToView(){return this._addedWidgets$.asObservable()}removeWidgetById(e){const r=this._currentView.widgets.find(i=>i.id===e),n=this._currentView.widgets.indexOf(r);this._currentView.widgets.splice(n,1)}reorderWidgets(e){const r=this._currentView.widgets;this._currentView.widgets=[];for(const n of e){const i=r.find(a=>a.id===n);this._currentView.widgets.push(i)}}getWidgets(e,r){return this.client.getListResponse(`/api/ui/dashboard/${e}/${r}`)}deviceSelected(e,r){this.router.navigate(this._currentView?["app",{appid:this.currentApp.id,folder:this._currentFolder,view:this._currentView.key,deviceid:r,repoid:e}]:this.currentApp?["app",{appid:this.currentApp.id,deviceid:r,repoid:e}]:["apps",{deviceid:r,repoid:e}])}clearApp(){this.currentApp=null,this._currentApp$.next(null)}clearView(){this._currentView=null,this._currentView$.next(null)}onDateRangeChanged(){return this._dateRange$.asObservable()}getDateRange(){if(this._dateRange){const e=this._dateRange.split("x");return{start:new Date(parseInt(e[0],10)),end:new Date(parseInt(e[1],10)),hasValue:!0}}return{hasValue:!0}}setDateRange(e,r){e&&r?(this._dateRange=`${e.getTime()}x${r.getTime()}`,this._dateRange$.next({start:e,end:r,hasValue:!0})):(this._dateRange=null,this._dateRange$.next({hasValue:!1}))}onCurrentApp(){return this._currentApp$.asObservable()}onCurrentFolder(){return this._currentFolder$.asObservable()}setCurrentFolder(e){this._currentFolder=e,this._currentFolder$.next(e)}getCurrentFolder(){return this._currentFolder}setCurrentView(e){this._currentView=e,this._currentView$.next(e)}setCurrentApp(e){this.currentApp=e,this._currentApp$.next(e)}onCurrentView(){return this._currentView$.asObservable()}getCurrentView(){return this._currentView}loadKioskViews(e,r,n){return new Promise((a,s)=>{this.currentKiosk&&e===this.currentKiosk.id&&this._kioskViews?(a(this._kioskViews),this.setCurrentKioskView(this.currentKiosk.key,r)):this.client.getListResponse(`/api/ui/kiosks/${e}/views`).then(l=>{this._kioskViews=l.model,n?n.views=this._kioskViews:this.currentKiosk.views=this._kioskViews,this._kioskViews$.next(l.model),a(l.model),this.setCurrentKioskView(this.currentKiosk.key,r)}).catch(l=>{s(l)})})}setCurrentKioskView(e,r){(e!==this._currentKioskKey||r!==this._currentKioskViewKey)&&(this._currentKioskKey=e,this._currentKioskViewKey=r,this.kiosks?(this.currentKiosk=this.kiosks.find(n=>n.key===e),this.currentKiosk&&(this._currentKiosk$.next(this.currentKiosk),this._currentKioskView=this.currentKiosk.views.find(n=>n.key===r),this._currentKioskView$.next(this._currentKioskView))):this.currentKiosk?this.loadKioskViews(this.currentKiosk.id,this._currentKioskViewKey,this.currentKiosk):this.router.navigate(["kiosks"]))}setKiosk(e,r){if(this.kiosks){const n=this.kiosks.find(i=>i.id===e);n&&(this.loadKioskViews(e,r,n),this.currentKiosk=n,this.router.navigate(["kiosk",{kioskid:e}]),this._currentKiosk$.next(n))}else this.loadKiosks(e,r)}loadKiosks(e,r){return new Promise((i,a)=>{this.client.getListResponse("/api/ui/kiosks").then(s=>{if(this.kiosks=s.model,this._currentKiosksList$.next(this.kiosks),i(s.model),e){const l=this.kiosks.find(c=>c.id===e);l?(this.loadKioskViews(e,r,l),this._currentKiosk$.next(l),this.currentKiosk=l):this.currentKiosk=null}}).catch(s=>{console.log("we are reject",s),a(s)})})}loadKiosk(e,r){return new Promise((i,a)=>{this.currentKiosk&&this.currentKiosk.id===e&&this.currentKiosk.viewDefinitions&&this._currentViewKey===r?i(this.currentKiosk):this.kiosks?(this.currentKiosk=this.kiosks.find(s=>s.id===e),this.currentKiosk&&(this._currentKiosk$.next(this.currentKiosk),i(this.currentKiosk),this.loadKioskViews(e,r,this.currentKiosk))):this.loadKiosks(e,r).then(s=>i(this.currentKiosk))})}getKiosk(e){return this.client.requestForInvokeResultEx(`/api/ui/kiosk/${e}`)}createKiosk(){return this.client.requestForInvokeResultEx("/api/ui/kiosk/factory")}insertKiosk(e){return new Promise((n,i)=>{this.client.insert("/api/ui/kiosk",e).then(a=>{this.kiosks.push(e),n(a)}).catch(a=>i(a))})}updateKiosk(e){return new Promise((n,i)=>{this.client.update("/api/ui/kiosk",e).then(a=>{this.kiosks&&(this.kiosks=this.kiosks.filter(s=>s.id!==e.id),this.kiosks.push(e)),n(a)}).catch(a=>i(a))})}deleteKiosk(e){return this.client.delete(`/api/ui/kiosk/${e}`)}getAllIcons(){return["nuv-user-guide","nuv-ml-workbench","nuv-online-chat","nuv-planner","nuv-project-management","nuv-solution","nuv-survey-tool","nuv-system-admin","nuv-system-messages","nuv-tools","nuv-uploading-images","nuv-user-groups","nuv-user-management","nuv-using-7-segment-parser","nuv-working-with-time-series-data","nuv-creating-kiosks","nuv-dashboards","nuv-dashboards-adding-and-config","nuv-dashboards-what-are-they","nuv-dashboards-widgets","nuv-deployment-instance","nuv-device-config","nuv-device-groups","nuv-device-model","nuv-device-repository","nuv-device-workflow","nuv-error-codes-notifications","nuv-error-handling","nuv-field-service-light","nuv-field-service-light-configuring","nuv-firmward-over-the-air-updates","nuv-field-service-lite-managing-tix","nuv-firmware","nuv-firmware-hardware-details","nuv-message-route","nuv-help-resources","nuv-how-to-video","nuv-written-instructions","nuv-instructions","nuv-slide-show","nuv-special-note","nuv-glossary","nuv-troubleshooting","nuv-user-guide","icon-ae-511","icon-ae-accounting","icon-ae-achivement","icon-ae-ads","icon-ae-ads-block","icon-ae-agile","icon-ae-ai","icon-ae-alchemy","icon-ae-antena-1","icon-ae-antena-2","icon-ae-antena-dish","icon-ae-anti-virus","icon-ae-api-1","icon-ae-api-2","icon-ae-apps","icon-ae-ask","icon-ae-assist","icon-ae-bad-review","icon-ae-bag","icon-ae-bank","icon-ae-banned","icon-ae-barcode","icon-ae-bill-1","icon-ae-bill-2","icon-ae-binary","icon-ae-bomb","icon-ae-book-1","icon-ae-book-2","icon-ae-book-connection","icon-ae-border-fill","icon-ae-brainstorm-1","icon-ae-brainstorm-2","icon-ae-briefcase-1","icon-ae-briefcase-2","icon-ae-broadcast","icon-ae-broken","icon-ae-bug-1","icon-ae-bug-2","icon-ae-building","icon-ae-button","icon-ae-buy","icon-ae-cactus","icon-ae-calculating","icon-ae-calculator","icon-ae-calendar","icon-ae-call-1","icon-ae-call-2","icon-ae-call-center","icon-ae-call-history","icon-ae-call-message","icon-ae-call-question","icon-ae-call-time","icon-ae-calling-1","icon-ae-calling-2","icon-ae-camera","icon-ae-cashback","icon-ae-cctv","icon-ae-cctv-2","icon-ae-center","icon-ae-certificate-1","icon-ae-certificate-2","icon-ae-chat-1","icon-ae-chat-2","icon-ae-chat-3","icon-ae-chatting-1","icon-ae-chatting-2","icon-ae-checklist-1","icon-ae-checklist-2","icon-ae-cheque","icon-ae-clipboard","icon-ae-close","icon-ae-cloud-1","icon-ae-cloud-2","icon-ae-cloud-3","icon-ae-cloud-file","icon-ae-cloud-security","icon-ae-coding-1","icon-ae-coding-2","icon-ae-coding-badge","icon-ae-coding-hand","icon-ae-coding-laptop","icon-ae-coding-metal","icon-ae-coding-proaction","icon-ae-coding-view","icon-ae-coffee-cup","icon-ae-color-editing","icon-ae-color-palette","icon-ae-color-wheel","icon-ae-computer-cloud","icon-ae-computer-fullsize","icon-ae-computer-network","icon-ae-computer-programming","icon-ae-connect","icon-ae-connection-1","icon-ae-connection-2","icon-ae-connection-3","icon-ae-console","icon-ae-consultation","icon-ae-control-panel","icon-ae-core-1","icon-ae-core-2","icon-ae-coupon","icon-ae-creating-kiosks","icon-ae-creative","icon-ae-creativity","icon-ae-creditcard","icon-ae-critical","icon-ae-critical-error","icon-ae-croping","icon-ae-css","icon-ae-currency","icon-ae-cv","icon-ae-dashboard","icon-ae-dashboard-widgets","icon-ae-dashboards-adding-and-config","icon-ae-dashboards-what-are-they","icon-ae-data","icon-ae-database-2","icon-ae-database-3","icon-ae-deadline-1","icon-ae-deadline-2","icon-ae-delivery","icon-ae-deployment-instance","icon-ae-design-1","icon-ae-design-2","icon-ae-design-mockup","icon-ae-designer","icon-ae-developer","icon-ae-development","icon-ae-device-config","icon-ae-device-groups","icon-ae-device-model","icon-ae-device-repository","icon-ae-device-workflow","icon-ae-diagram","icon-ae-dial","icon-ae-digital","icon-ae-direct-cursor","icon-ae-direction","icon-ae-discount","icon-ae-document","icon-ae-domain","icon-ae-download-1","icon-ae-download-2","icon-ae-download-3","icon-ae-download-4","icon-ae-download-computer","icon-ae-download-document","icon-ae-drawing","icon-ae-drone","icon-ae-duration","icon-ae-earpiece-wireless","icon-ae-ebook-1","icon-ae-ebook-2","icon-ae-ebook-laptop","icon-ae-ebook-mobile","icon-ae-ecommerce-1","icon-ae-ecommerce-2","icon-ae-ecommerce-3","icon-ae-ecommerce-4","icon-ae-editing","icon-ae-electric-car","icon-ae-email","icon-ae-email-1","icon-ae-email-2","icon-ae-email-3","icon-ae-emergency-911","icon-ae-emoji","icon-ae-error-1","icon-ae-error-2","icon-ae-error-codes-notifications","icon-ae-error-handling","icon-ae-ethernet","icon-ae-ethernet-2","icon-ae-eye","icon-fo-fo-fan-bladeless","icon-fo-faq","icon-fo-fax","icon-fo-feedback-1","icon-fo-feedback-2","icon-fo-field-service-light","icon-fo-field-service-light-configuring","icon-fo-field-service-lite-managing-tix","icon-fo-file","icon-fo-file-ai","icon-fo-file-doc","icon-fo-file-management-1","icon-fo-file-management-2","icon-fo-file-pdf","icon-fo-file-ppt","icon-fo-file-psd","icon-fo-file-sharing","icon-fo-file-txt","icon-fo-files","icon-fo-finding","icon-fo-finger-print","icon-fo-fire-wall","icon-fo-firewall","icon-fo-firmware","icon-fo-firmware-hardware-details","icon-fo-firmware-over-the-air-updates","icon-fo-fixing","icon-fo-flash-sale","icon-fo-flow","icon-fo-folder-1","icon-fo-folder-2","icon-fo-folder-3","icon-fo-folder-4","icon-fo-folder-5","icon-fo-folder-6","icon-fo-folder-delivery","icon-fo-folder-structure","icon-fo-folders","icon-fo-food-delivery-1","icon-fo-gallery-1","icon-fo-gallery-2","icon-fo-gear","icon-fo-gears-1","icon-fo-gears-2","icon-fo-gift","icon-fo-globe-1","icon-fo-globe-2","icon-fo-good-review","icon-fo-gps","icon-fo-green-house","icon-fo-grow-dollar","icon-fo-grow-pound","icon-fo-growth-1","icon-fo-growth-2","icon-fo-hand","icon-fo-hand-laptop","icon-fo-headphone-information","icon-fo-headphone-question","icon-fo-heartbeat","icon-fo-heartrate","icon-fo-help-resource","icon-fo-hologram","icon-fo-hot-coffee","icon-fo-hour","icon-fo-how-to-video","icon-fo-how-to-written","icon-fo-html","icon-fo-human-source","icon-fo-idea-1","icon-fo-idea-2","icon-fo-image","icon-fo-image-laptop","icon-fo-image-tablet","icon-fo-incognito","icon-fo-information-computer","icon-fo-information-laptop","icon-fo-ink-pen","icon-fo-inspection","icon-fo-instructions","icon-fo-internet-1","icon-fo-internet-2","icon-fo-internet-3","icon-fo-internet-network","icon-fo-internet-protection","icon-fo-key","icon-fo-keyboard","icon-fo-knowledge","icon-fo-lamp","icon-fo-lan","icon-fo-landing-page","icon-fo-landscape","icon-fo-laptop","icon-fo-laptop-fullscreen","icon-fo-laptop-info","icon-fo-laptop-management","icon-fo-laptop-protection","icon-fo-laptop-resize","icon-fo-launching","icon-fo-layer-1","icon-fo-layer-2","icon-fo-layer-3","icon-fo-layering","icon-fo-layout-ratio","icon-fo-left","icon-fo-linked","icon-fo-list","icon-fo-listening","icon-fo-location-1","icon-fo-location-2","icon-fo-lock-1","icon-fo-lock-2","icon-fo-magnet","icon-fo-mail","icon-fo-mailing","icon-fo-maintenance-1","icon-fo-maintenance-2","icon-fo-maintenance-3","icon-fo-maintenance-computer","icon-fo-maleware","icon-fo-management","icon-fo-marketing-1","icon-fo-marketing-2","icon-fo-math","icon-fo-medal-1","icon-fo-medal-2","icon-fo-meeting","icon-fo-message-1","icon-fo-message-2","icon-fo-message-info","icon-fo-message-route","icon-fo-mirror","icon-fo-ml-workbench","icon-fo-mobile-apps","icon-fo-mobile-book","icon-fo-mobile-cloud","icon-fo-mobile-code","icon-fo-mobile-discussion","icon-fo-mobile-ebook","icon-fo-mobile-info","icon-fo-mobile-layout","icon-fo-mobile-lock","icon-fo-mobile-maintenance","icon-fo-mobile-news","icon-fo-mobile-payment","icon-fo-mobile-protection","icon-fo-mobile-security","icon-fo-mobile-shop","icon-fo-mobile-site","icon-fo-mobile-web","icon-fo-mockup","icon-fo-modem","icon-fo-money","icon-fo-music-engineer","icon-fo-nerve","icon-fo-network","icon-fo-networking-1","icon-fo-networking-2","icon-fo-news","icon-fo-newsletter","icon-fo-no-internet","icon-fo-notification-1","icon-fo-notification-2","icon-fo-objects","icon-fo-offer","icon-fo-office","icon-fo-online","icon-fo-online-ads","icon-fo-online-book-1","icon-fo-online-book-2","icon-fo-online-book-3","icon-fo-online-chat","icon-fo-online-class","icon-fo-online-donation","icon-fo-online-learning-1","icon-fo-online-learning-2","icon-fo-online-payment","icon-fo-online-report","icon-fo-online-shopping","icon-fo-online-task","icon-fo-open","icon-fo-open-book","icon-fo-organize-1","icon-fo-organize-2","icon-pz-packing","icon-pz-pant","icon-pz-paper-plane","icon-pz-passcode","icon-pz-password","icon-pz-payment-1","icon-pz-payment-2","icon-pz-payment-3","icon-pz-pen-tablet-1","icon-pz-pen-tablet-2","icon-pz-phising","icon-pz-phone-box","icon-pz-phonebook","icon-pz-pick","icon-pz-pie-chart","icon-pz-pie-chart-2","icon-pz-pin","icon-pz-planner","icon-pz-plant","icon-pz-plug","icon-pz-podcast","icon-pz-poster","icon-pz-presentation","icon-pz-printer","icon-pz-problem-solving","icon-pz-processing","icon-pz-processor-1","icon-pz-processor-2","icon-pz-product-1","icon-pz-product-2","icon-pz-productive","icon-pz-profile-1","icon-pz-profile-2","icon-pz-profile-3","icon-pz-programer","icon-pz-programmer","icon-pz-programming","icon-pz-project","icon-pz-project-managment","icon-pz-protection","icon-pz-protection-2","icon-pz-purchase","icon-pz-pyramid","icon-pz-radio","icon-pz-rate","icon-pz-rating-1","icon-pz-rating-2","icon-pz-rating-star","icon-pz-reading","icon-pz-receipt","icon-pz-remote-bulb","icon-pz-report-1","icon-pz-report-2","icon-pz-report-3","icon-pz-report-4","icon-pz-resize-1","icon-pz-resize-2","icon-pz-responsive-1","icon-pz-responsive-2","icon-pz-responsive-3","icon-pz-retina-scan","icon-pz-revenue","icon-pz-review","icon-pz-right","icon-pz-rocket-1","icon-pz-rocket-2","icon-pz-router","icon-pz-ruler","icon-pz-safebox","icon-pz-safetyvest","icon-pz-satelite-1","icon-pz-satelite-2","icon-pz-satelite-3","icon-pz-script-1","icon-pz-script-2","icon-pz-scroll","icon-pz-sdc","icon-pz-search-engine-1","icon-pz-search-engine-2","icon-pz-search-engine-3","icon-pz-searching-1","icon-pz-searching-2","icon-pz-searching-3","icon-pz-searching-4","icon-pz-security","icon-pz-send-email","icon-pz-seo","icon-pz-seo-book","icon-pz-seo-cloud","icon-pz-server-1","icon-pz-server-2","icon-pz-server-cloud","icon-pz-settings-box","icon-pz-share","icon-pz-share-file","icon-pz-shield","icon-pz-shirt","icon-pz-shop","icon-pz-shopping-1","icon-pz-shopping-2","icon-pz-sim-card","icon-pz-siren","icon-pz-site","icon-pz-site-map","icon-pz-site-resize","icon-pz-sitemap-1","icon-pz-sitemap-2","icon-pz-size","icon-pz-skill","icon-pz-skirt","icon-pz-slide-show","icon-pz-slide-up-down","icon-pz-smart-house","icon-pz-smarthome","icon-pz-smartphone-1","icon-pz-smartphone-2","icon-pz-smartwatch-1","icon-pz-smartwatch-2","icon-pz-socialmedia-1","icon-pz-socialmedia-2","icon-pz-solar-panel","icon-pz-solution","icon-pz-sos","icon-pz-spam","icon-pz-special-note","icon-pz-speed-1","icon-pz-speed-2","icon-pz-split","icon-pz-stamp-1","icon-pz-stamp-2","icon-pz-steering-wheel","icon-pz-stock-1","icon-pz-stock-2","icon-pz-strategy-1","icon-pz-strategy-2","icon-pz-strategy-3","icon-pz-support-1","icon-pz-support-2","icon-pz-support-information","icon-pz-survey-tool","icon-pz-svg","icon-pz-sync","icon-pz-system-admin","icon-pz-system-messages","icon-pz-tab-bar","icon-pz-tablet-1","icon-pz-tablet-2","icon-pz-tag","icon-pz-target-goal","icon-pz-task","icon-pz-tea-talk","icon-pz-teamwork","icon-pz-telephone-1","icon-pz-telephone-2","icon-pz-template-1","icon-pz-template-2","icon-pz-terms","icon-pz-text-1","icon-pz-text-2","icon-pz-tie","icon-pz-time","icon-pz-timeline","icon-pz-tin-can-call","icon-pz-to-do","icon-pz-tools","icon-pz-tracking-delivery","icon-pz-transfer-file-cloud","icon-pz-translate-1","icon-pz-translate-2","icon-pz-translate-3","icon-pz-trophy","icon-pz-troubleshooting","icon-pz-tutorial-1","icon-pz-tutorial-2","icon-pz-tutorial-3","icon-pz-tutorial-4","icon-pz-typing-1","icon-pz-typing-2","icon-pz-unboxing","icon-pz-unknown","icon-pz-unlock-1","icon-pz-unlock-2","icon-pz-unlock-3","icon-pz-update-device-1","icon-pz-update-device-2","icon-pz-upload-1","icon-pz-upload-2","icon-pz-upload-3","icon-pz-upload-4","icon-pz-upload-images","icon-pz-user-groups","icon-pz-user-guide","icon-pz-user-interface","icon-pz-user-management","icon-pz-user-profile-1","icon-pz-user-profile-2","icon-pz-using-7-segment-parser","icon-pz-vector","icon-pz-video-1","icon-pz-video-2","icon-pz-video-call-1","icon-pz-video-call-2","icon-pz-virtual-reality","icon-pz-virus-1","icon-pz-virus-2","icon-pz-virus-computer","icon-pz-virus-laptop","icon-pz-vision-1","icon-pz-vision-2","icon-pz-vpn","icon-pz-web","icon-pz-web-design","icon-pz-web-development","icon-pz-wifi-1","icon-pz-wifi-2","icon-pz-wireless-charging","icon-pz-wishlist","icon-pz-working-with-time-series-data","icon-pz-worldwide-1","icon-pz-worldwide-2","icon-pz-worm","icon-pz-writing-email"]}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft),Z(qr))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function dve(o,t){if(1&o){const e=j();d(0,"div",2),T("click",function(){const i=F(e).$implicit;return S(m().iconClicked(i))}),P(1,"nuv-icon",3)(2,"br"),d(3,"div",4),v(4),u()()}if(2&o){const e=t.$implicit;p(1),g("iconName",e),p(3),ae(e)}}let uve=(()=>{class o{constructor(e){this.uiService=e,this.iconSelected=new ee,this.isVisible=!1,this.icons_legacy=[]}iconClicked(e){this.iconSelected.emit(e),this.isVisible=!1}ngOnInit(){this.all_icons=this.uiService.getAllIcons(),this.icons=this.all_icons}}return o.\u0275fac=function(e){return new(e||o)(O(J1))},o.\u0275cmp=ne({type:o,selectors:[["app-icon-picker"]],outputs:{iconSelected:"iconSelected"},decls:3,vars:1,consts:[[2,"height","800px","overflow-y","scroll","width","100%","display","flex","flex-wrap","wrap"],["class","icon-panel",3,"click",4,"ngFor","ngForOf"],[1,"icon-panel",3,"click"],["fontSize","64px",3,"iconName"],[2,"color","var(--color-fg)"]],template:function(e,r){1&e&&(d(0,"div")(1,"div",0),b(2,dve,5,2,"div",1),u()()),2&e&&(p(2),g("ngForOf",r.icons))},dependencies:[gt,Mh],styles:[".icon-panel[_ngcontent-%COMP%]{padding-top:5px;border-radius:6px;border:1px solid silver;margin:5px;background-color:#fff;width:120px;height:120px;text-align:center;cursor:pointer}.icon-panel[_ngcontent-%COMP%]:hover{box-shadow:4px 4px #ddd}"]}),o})();function pve(o,t){if(1&o){const e=j();d(0,"nuv-icon",7),T("click",function(){return F(e),S(m().showPicker())}),u()}if(2&o){const e=m();Gg("data-bs-target","#",e.pickerId,""),g("iconName",e.field.value)}}function hve(o,t){if(1&o){const e=j();d(0,"div",8),T("click",function(){return F(e),S(m().showPicker())}),d(1,"span",9),v(2,"-select-"),u()()}2&o&&Gg("data-bs-target","#",m().pickerId,"")}function gve(o,t){if(1&o){const e=j();d(0,"div",10),T("click",function(){return F(e),S(m().showPicker())}),v(1," Replace\n"),u()}2&o&&Gg("data-bs-target","#",m().pickerId,"")}let mve=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=r,this.allIcons=e.getAllIcons(),this.icons=this.allIcons,this.pickerId=Dt.newGuid()}get filter(){return this._filter}set filter(e){this._filter=e,this.icons=e?this.allIcons.filter(r=>-1!=r.indexOf(e.toLocaleLowerCase())):this.allIcons}ngOnInit(){super.ngOnInit(),this.ariaLabel="popupHelp"+this.field.name,this.modalId="popupModal"+this.field.name}iconClicked(e){console.log(e),this.field.value=e}showPicker(){let e=this.modalService.open(uve,{size:"lg"});e.componentInstance.iconSelected.subscribe(n=>{this.field.value=n,e.close()})}}return o.\u0275fac=function(e){return new(e||o)(O(J1),O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-form-icon-picker"]],features:[Te],decls:7,vars:13,consts:[[3,"name","label","isRequired"],[1,"input-group"],["fontSize","32px","style","cursor:pointer","data-bs-toggle","modal",3,"iconName","click",4,"ngIf"],["class","input-group-append","data-bs-toggle","modal","style","cursor:pointer",3,"click",4,"ngIf"],["class","picker-link","data-bs-toggle","modal",3,"click",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["fontSize","32px","data-bs-toggle","modal",2,"cursor","pointer",3,"iconName","click"],["data-bs-toggle","modal",1,"input-group-append",2,"cursor","pointer",3,"click"],[1,"picker-link"],["data-bs-toggle","modal",1,"picker-link",3,"click"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1),b(2,pve,1,2,"nuv-icon",2),b(3,hve,3,1,"div",3),u(),b(4,gve,2,1,"div",4),P(5,"app-form-field-validation-section",5)(6,"app-form-field-help",6)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),g("ngIf",r.field.value),p(1),g("ngIf",!r.field.value),p(1),g("ngIf",r.field.value),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[ve,rr,or,ar,Mh],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}.icon-panel[_ngcontent-%COMP%]{padding-top:5px;border-radius:6px;border:1px solid silver;margin:5px;background-color:#fff;text-align:center;cursor:pointer}@media screen and (max-width: 480px){.icon-panel[_ngcontent-%COMP%]{width:40px;height:40px}.icon-panel[_ngcontent-%COMP%] .icon-preview[_ngcontent-%COMP%]{font-size:24px}}@media screen and (min-width: 481px){.icon-panel[_ngcontent-%COMP%]{width:120px;height:120px}.icon-panel[_ngcontent-%COMP%] .icon-preview[_ngcontent-%COMP%]{font-size:36px}}.icon-panel[_ngcontent-%COMP%]:hover{box-shadow:4px 4px #ddd}.icon-name[_ngcontent-%COMP%]{line-height:.9}"]}),o})();function fve(o,t){1&o&&(d(0,"div",6),P(1,"span",7),u()),2&o&&Re("data-target",m().popupId)}let _ve=(()=>{class o extends Ct{constructor(){super()}fieldSet(e){if(e?.value){let r=parseInt(e.value.substring(0,2)),n=5==e.value.length?parseInt(e.value.substring(3,5)):parseInt(e.value.substring(2,4));this.ampm=r>11?"PM":"AM",this.hours=r>12?(r-12).toString():r.toString(),this.minutes=n<10?"0"+n.toString():n.toString(),console.log(this.minutes)}else this.hours="HH",this.minutes="MM",this.ampm="AMPM"}currentValueChanged(){if(parseInt(this.hours),this.hours&&"HH"!=this.hours&&this.minutes&&"MM"!=this.minutes&&this.ampm&&"AMPM"!=this.ampm){let r=Dt.toHHMM(this.hours,this.minutes,this.ampm,!1);this.field.value=r,console.log(r)}else this.field.value=void 0}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-time-picker"]],features:[Te],decls:69,vars:14,consts:[[3,"name","label","isRequired"],[2,"display","flex"],[1,"form-control","form-select",3,"ngModel","ngModelChange"],["class","input-group-append","data-toggle","modal","style","cursor:pointer",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["data-toggle","modal",1,"input-group-append",2,"cursor","pointer"],[1,"input-group-text","fa","fa-question",2,"font-size","12pt","color","#A0A0A0"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1)(2,"div")(3,"select",2),T("ngModelChange",function(i){return r.hours=i})("ngModelChange",function(){return r.currentValueChanged()}),d(4,"option"),v(5,"HH"),u(),d(6,"option"),v(7,"12"),u(),d(8,"option"),v(9,"1"),u(),d(10,"option"),v(11,"2"),u(),d(12,"option"),v(13,"3"),u(),d(14,"option"),v(15,"4"),u(),d(16,"option"),v(17,"5"),u(),d(18,"option"),v(19,"6"),u(),d(20,"option"),v(21,"7"),u(),d(22,"option"),v(23,"8"),u(),d(24,"option"),v(25,"9"),u(),d(26,"option"),v(27,"10"),u(),d(28,"option"),v(29,"11"),u()()(),d(30,"div")(31,"select",2),T("ngModelChange",function(i){return r.minutes=i})("ngModelChange",function(){return r.currentValueChanged()}),d(32,"option"),v(33,"MM"),u(),d(34,"option"),v(35,"00"),u(),d(36,"option"),v(37,"05"),u(),d(38,"option"),v(39,"10"),u(),d(40,"option"),v(41,"15"),u(),d(42,"option"),v(43,"20"),u(),d(44,"option"),v(45,"25"),u(),d(46,"option"),v(47,"30"),u(),d(48,"option"),v(49,"35"),u(),d(50,"option"),v(51,"40"),u(),d(52,"option"),v(53,"45"),u(),d(54,"option"),v(55,"50"),u(),d(56,"option"),v(57,"55"),u()()(),d(58,"div")(59,"select",2),T("ngModelChange",function(i){return r.ampm=i})("ngModelChange",function(){return r.currentValueChanged()}),d(60,"option"),v(61,"AM PM"),u(),d(62,"option"),v(63,"AM"),u(),d(64,"option"),v(65,"PM"),u()()(),b(66,fve,2,1,"div",3),u(),P(67,"app-form-field-validation-section",4)(68,"app-form-field-help",5)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(3),g("ngModel",r.hours),p(28),g("ngModel",r.minutes),p(28),g("ngModel",r.ampm),p(7),g("ngIf",r.field.help),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Qo,en,No,mt,It,ve,rr,or,ar],styles:["select[_ngcontent-%COMP%]{width:100px;text-align-last:right}option[_ngcontent-%COMP%]{direction:rtl}"]}),o})();const vve=["dialogPopup"],yve=["hueSlider"],bve=["alphaSlider"];function Cve(o,t){if(1&o&&P(0,"div"),2&o){const e=m();xs("arrow arrow-",e.cpUsePosition,""),Tt("top",e.arrowTop,"px")}}function wve(o,t){if(1&o){const e=j();d(0,"div",28),T("newValue",function(n){return F(e),S(m().onColorChange(n))})("dragStart",function(){return F(e),S(m().onDragStart("saturation-lightness"))})("dragEnd",function(){return F(e),S(m().onDragEnd("saturation-lightness"))}),P(1,"div",14),u()}if(2&o){const e=m();Tt("background-color",e.hueSliderColor),g("rgX",1)("rgY",1),p(1),Tt("top",null==e.slider?null:e.slider.v,"px")("left",null==e.slider?null:e.slider.s,"px")}}function xve(o,t){1&o&&(_d(),d(0,"svg",29),P(1,"path",30)(2,"path",31),u())}function Dve(o,t){if(1&o){const e=j();d(0,"button",32),T("click",function(n){F(e);const i=m();return S(i.onAddPresetColor(n,i.selectedColor))}),v(1),u()}if(2&o){const e=m();Wn(e.cpAddColorButtonClass),g("disabled",e.cpPresetColors&&e.cpPresetColors.length>=e.cpMaxPresetColorsLength),p(1),ce(" ",e.cpAddColorButtonText," ")}}function Mve(o,t){1&o&&P(0,"div",33)}function kve(o,t){if(1&o){const e=j();d(0,"input",39),T("keyup.enter",function(n){return F(e),S(m(2).onAcceptColor(n))})("newValue",function(n){return F(e),S(m(2).onAlphaInput(n))}),u()}if(2&o){const e=m(2);g("rg",1)("value",null==e.cmykText?null:e.cmykText.a)}}function Eve(o,t){1&o&&(d(0,"div"),v(1,"A"),u())}function Tve(o,t){if(1&o){const e=j();d(0,"div",34)(1,"div",35)(2,"input",36),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onCyanInput(n))}),u(),d(3,"input",36),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onMagentaInput(n))}),u(),d(4,"input",36),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onYellowInput(n))}),u(),d(5,"input",36),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onBlackInput(n))}),u(),b(6,kve,1,2,"input",37),u(),d(7,"div",35)(8,"div"),v(9,"C"),u(),d(10,"div"),v(11,"M"),u(),d(12,"div"),v(13,"Y"),u(),d(14,"div"),v(15,"K"),u(),b(16,Eve,2,0,"div",38),u()()}if(2&o){const e=m();Tt("display",3!==e.format?"none":"block"),p(2),g("rg",100)("value",null==e.cmykText?null:e.cmykText.c),p(1),g("rg",100)("value",null==e.cmykText?null:e.cmykText.m),p(1),g("rg",100)("value",null==e.cmykText?null:e.cmykText.y),p(1),g("rg",100)("value",null==e.cmykText?null:e.cmykText.k),p(1),g("ngIf","disabled"!==e.cpAlphaChannel),p(10),g("ngIf","disabled"!==e.cpAlphaChannel)}}function Fve(o,t){if(1&o){const e=j();d(0,"input",39),T("keyup.enter",function(n){return F(e),S(m(2).onAcceptColor(n))})("newValue",function(n){return F(e),S(m(2).onAlphaInput(n))}),u()}if(2&o){const e=m(2);g("rg",1)("value",null==e.hslaText?null:e.hslaText.a)}}function Sve(o,t){1&o&&(d(0,"div"),v(1,"A"),u())}function Pve(o,t){if(1&o){const e=j();d(0,"div",40)(1,"div",35)(2,"input",41),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onHueInput(n))}),u(),d(3,"input",36),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onSaturationInput(n))}),u(),d(4,"input",36),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onLightnessInput(n))}),u(),b(5,Fve,1,2,"input",37),u(),d(6,"div",35)(7,"div"),v(8,"H"),u(),d(9,"div"),v(10,"S"),u(),d(11,"div"),v(12,"L"),u(),b(13,Sve,2,0,"div",38),u()()}if(2&o){const e=m();Tt("display",2!==e.format?"none":"block"),p(2),g("rg",360)("value",null==e.hslaText?null:e.hslaText.h),p(1),g("rg",100)("value",null==e.hslaText?null:e.hslaText.s),p(1),g("rg",100)("value",null==e.hslaText?null:e.hslaText.l),p(1),g("ngIf","disabled"!==e.cpAlphaChannel),p(8),g("ngIf","disabled"!==e.cpAlphaChannel)}}function Ive(o,t){if(1&o){const e=j();d(0,"input",39),T("keyup.enter",function(n){return F(e),S(m(2).onAcceptColor(n))})("newValue",function(n){return F(e),S(m(2).onAlphaInput(n))}),u()}if(2&o){const e=m(2);g("rg",1)("value",null==e.rgbaText?null:e.rgbaText.a)}}function Ave(o,t){1&o&&(d(0,"div"),v(1,"A"),u())}function Ove(o,t){if(1&o){const e=j();d(0,"div",42)(1,"div",35)(2,"input",43),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onRedInput(n))}),u(),d(3,"input",43),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onGreenInput(n))}),u(),d(4,"input",43),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onBlueInput(n))}),u(),b(5,Ive,1,2,"input",37),u(),d(6,"div",35)(7,"div"),v(8,"R"),u(),d(9,"div"),v(10,"G"),u(),d(11,"div"),v(12,"B"),u(),b(13,Ave,2,0,"div",38),u()()}if(2&o){const e=m();Tt("display",1!==e.format?"none":"block"),p(2),g("rg",255)("value",null==e.rgbaText?null:e.rgbaText.r),p(1),g("rg",255)("value",null==e.rgbaText?null:e.rgbaText.g),p(1),g("rg",255)("value",null==e.rgbaText?null:e.rgbaText.b),p(1),g("ngIf","disabled"!==e.cpAlphaChannel),p(8),g("ngIf","disabled"!==e.cpAlphaChannel)}}function Rve(o,t){if(1&o){const e=j();d(0,"input",39),T("keyup.enter",function(n){return F(e),S(m(2).onAcceptColor(n))})("newValue",function(n){return F(e),S(m(2).onAlphaInput(n))}),u()}if(2&o){const e=m(2);g("rg",1)("value",e.hexAlpha)}}function Lve(o,t){1&o&&(d(0,"div"),v(1,"A"),u())}function Bve(o,t){if(1&o){const e=j();d(0,"div",44)(1,"div",35)(2,"input",45),T("blur",function(){return F(e),S(m().onHexInput(null))})("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onHexInput(n))}),u(),b(3,Rve,1,2,"input",37),u(),d(4,"div",35)(5,"div"),v(6,"Hex"),u(),b(7,Lve,2,0,"div",38),u()()}if(2&o){const e=m();Tt("display",0!==e.format?"none":"block"),ut("hex-alpha","forced"===e.cpAlphaChannel),p(2),g("value",e.hexText),p(1),g("ngIf","forced"===e.cpAlphaChannel),p(4),g("ngIf","forced"===e.cpAlphaChannel)}}function Nve(o,t){if(1&o){const e=j();d(0,"input",39),T("keyup.enter",function(n){return F(e),S(m(2).onAcceptColor(n))})("newValue",function(n){return F(e),S(m(2).onAlphaInput(n))}),u()}if(2&o){const e=m(2);g("rg",1)("value",null==e.hslaText?null:e.hslaText.a)}}function Hve(o,t){if(1&o){const e=j();d(0,"div",46)(1,"div",35)(2,"input",36),T("keyup.enter",function(n){return F(e),S(m().onAcceptColor(n))})("newValue",function(n){return F(e),S(m().onValueInput(n))}),u(),b(3,Nve,1,2,"input",37),u(),d(4,"div",35)(5,"div"),v(6,"V"),u(),d(7,"div"),v(8,"A"),u()()()}if(2&o){const e=m();p(2),g("rg",100)("value",null==e.hslaText?null:e.hslaText.l),p(1),g("ngIf","disabled"!==e.cpAlphaChannel)}}function Vve(o,t){if(1&o){const e=j();d(0,"div",47)(1,"span",48),T("click",function(){return F(e),S(m().onFormatToggle(-1))}),u(),d(2,"span",48),T("click",function(){return F(e),S(m().onFormatToggle(1))}),u()()}}function $ve(o,t){if(1&o){const e=j();d(0,"span",55),T("click",function(n){F(e);const i=m().$implicit;return S(m(3).onRemovePresetColor(n,i))}),u()}2&o&&Wn(m(4).cpRemoveColorButtonClass)}function zve(o,t){if(1&o){const e=j();d(0,"div",53),T("click",function(){const i=F(e).$implicit;return S(m(3).setColorFromString(i))}),b(1,$ve,1,3,"span",54),u()}if(2&o){const e=t.$implicit,r=m(3);Tt("background-color",e),p(1),g("ngIf",r.cpAddColorButton)}}function Yve(o,t){if(1&o&&(d(0,"div"),b(1,zve,2,3,"div",52),u()),2&o){const e=m(2);Wn(e.cpPresetColorsClass),p(1),g("ngForOf",e.cpPresetColors)}}function jve(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);Wn(e.cpPresetEmptyMessageClass),p(1),ae(e.cpPresetEmptyMessage)}}function Uve(o,t){if(1&o&&(d(0,"div",49),P(1,"hr"),d(2,"div",50),v(3),u(),b(4,Yve,2,4,"div",51),b(5,jve,2,4,"div",51),u()),2&o){const e=m();p(3),ae(e.cpPresetLabel),p(1),g("ngIf",null==e.cpPresetColors?null:e.cpPresetColors.length),p(1),g("ngIf",!(null!=e.cpPresetColors&&e.cpPresetColors.length)&&e.cpAddColorButton)}}function Wve(o,t){if(1&o){const e=j();d(0,"button",58),T("click",function(n){return F(e),S(m(2).onCancelColor(n))}),v(1),u()}if(2&o){const e=m(2);Wn(e.cpCancelButtonClass),p(1),ae(e.cpCancelButtonText)}}function Gve(o,t){if(1&o){const e=j();d(0,"button",58),T("click",function(n){return F(e),S(m(2).onAcceptColor(n))}),v(1),u()}if(2&o){const e=m(2);Wn(e.cpOKButtonClass),p(1),ae(e.cpOKButtonText)}}function qve(o,t){if(1&o&&(d(0,"div",56),b(1,Wve,2,4,"button",57),b(2,Gve,2,4,"button",57),u()),2&o){const e=m();p(1),g("ngIf",e.cpCancelButton),p(1),g("ngIf",e.cpOKButton)}}function Kve(o,t){1&o&&qg(0)}function Zve(o,t){if(1&o&&(d(0,"div",59),b(1,Kve,1,0,"ng-container",60),u()),2&o){const e=m();p(1),g("ngTemplateOutlet",e.cpExtraTemplate)}}var xn=(()=>{return(o=xn||(xn={}))[o.HEX=0]="HEX",o[o.RGBA=1]="RGBA",o[o.HSLA=2]="HSLA",o[o.CMYK=3]="CMYK",xn;var o})();class Sl{constructor(t,e,r,n){this.r=t,this.g=e,this.b=r,this.a=n}}class Q1{constructor(t,e,r,n){this.h=t,this.s=e,this.v=r,this.a=n}}class vu{constructor(t,e,r,n){this.h=t,this.s=e,this.l=r,this.a=n}}class Of{constructor(t,e,r,n,i=1){this.c=t,this.m=e,this.y=r,this.k=n,this.a=i}}let Qve=(()=>{class o{constructor(){this.newValue=new ee}inputChange(e){const r=e.target.value;if(void 0===this.rg)this.newValue.emit(r);else{const n=parseFloat(r);this.newValue.emit({v:n,rg:this.rg})}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=Se({type:o,selectors:[["","text",""]],hostBindings:function(e,r){1&e&&T("input",function(i){return r.inputChange(i)})},inputs:{rg:"rg",text:"text"},outputs:{newValue:"newValue"}}),o})(),eye=(()=>{class o{constructor(e){this.elRef=e,this.dragEnd=new ee,this.dragStart=new ee,this.newValue=new ee,this.listenerMove=r=>this.move(r),this.listenerStop=()=>this.stop()}mouseDown(e){this.start(e)}touchStart(e){this.start(e)}move(e){e.preventDefault(),this.setCursor(e)}start(e){this.setCursor(e),e.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(e){const r=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==e.pageX?e.pageX:e.touches[0].pageX)-r.left-window.pageXOffset}getY(e){const r=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==e.pageY?e.pageY:e.touches[0].pageY)-r.top-window.pageYOffset}setCursor(e){const r=this.elRef.nativeElement.offsetWidth,n=this.elRef.nativeElement.offsetHeight,i=Math.max(0,Math.min(this.getX(e),r)),a=Math.max(0,Math.min(this.getY(e),n));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:i/r,v:1-a/n,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:a/n,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:i/r,rgX:this.rgX})}}return o.\u0275fac=function(e){return new(e||o)(O(dt))},o.\u0275dir=Se({type:o,selectors:[["","slider",""]],hostBindings:function(e,r){1&e&&T("mousedown",function(i){return r.mouseDown(i)})("touchstart",function(i){return r.touchStart(i)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),o})();class WB{constructor(t,e,r,n){this.h=t,this.s=e,this.v=r,this.a=n}}class GB{constructor(t,e,r,n){this.h=t,this.s=e,this.v=r,this.a=n}}let tk=(()=>{class o{constructor(){this.active=null}setActive(e){this.active&&this.active!==e&&"inline"!==this.active.cpDialogDisplay&&this.active.closeDialog(),this.active=e}hsva2hsla(e){const r=e.h,n=e.s,i=e.v,a=e.a;if(0===i)return new vu(r,0,0,a);if(0===n&&1===i)return new vu(r,1,1,a);{const s=i*(2-n)/2;return new vu(r,i*n/(1-Math.abs(2*s-1)),s,a)}}hsla2hsva(e){const r=Math.min(e.h,1),n=Math.min(e.s,1),i=Math.min(e.l,1),a=Math.min(e.a,1);if(0===i)return new Q1(r,0,0,a);{const s=i+n*(1-Math.abs(2*i-1))/2;return new Q1(r,2*(s-i)/s,s,a)}}hsvaToRgba(e){let r,n,i;const a=e.h,s=e.s,l=e.v,c=e.a,h=Math.floor(6*a),_=6*a-h,C=l*(1-s),k=l*(1-_*s),A=l*(1-(1-_)*s);switch(h%6){case 0:r=l,n=A,i=C;break;case 1:r=k,n=l,i=C;break;case 2:r=C,n=l,i=A;break;case 3:r=C,n=k,i=l;break;case 4:r=A,n=C,i=l;break;case 5:r=l,n=C,i=k;break;default:r=0,n=0,i=0}return new Sl(r,n,i,c)}cmykToRgb(e){return new Sl((1-e.c)*(1-e.k),(1-e.m)*(1-e.k),(1-e.y)*(1-e.k),e.a)}rgbaToCmyk(e){const r=1-Math.max(e.r,e.g,e.b);return 1===r?new Of(0,0,0,1,e.a):new Of((1-e.r-r)/(1-r),(1-e.g-r)/(1-r),(1-e.b-r)/(1-r),r,e.a)}rgbaToHsva(e){let r,n;const i=Math.min(e.r,1),a=Math.min(e.g,1),s=Math.min(e.b,1),l=Math.min(e.a,1),c=Math.max(i,a,s),h=Math.min(i,a,s),_=c,C=c-h;if(n=0===c?0:C/c,c===h)r=0;else{switch(c){case i:r=(a-s)/C+(a{class o{constructor(e,r,n,i,a,s){this.ngZone=e,this.elRef=r,this.cdRef=n,this.document=i,this.platformId=a,this.service=s,this.isIE10=!1,this.dialogArrowSize=10,this.dialogArrowOffset=15,this.dialogInputFields=[xn.HEX,xn.RGBA,xn.HSLA,xn.CMYK],this.useRootViewContainer=!1,this.eyeDropperSupported=Qv(this.platformId)&&"EyeDropper"in this.document.defaultView}handleEsc(e){this.show&&"popup"===this.cpDialogDisplay&&this.onCancelColor(e)}handleEnter(e){this.show&&"popup"===this.cpDialogDisplay&&this.onAcceptColor(e)}ngOnInit(){this.slider=new WB(0,0,0,0),this.sliderDimMax=new GB(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.format=this.cpCmykEnabled?xn.CMYK:"rgba"===this.cpOutputFormat?xn.RGBA:"hsla"===this.cpOutputFormat?xn.HSLA:xn.HEX,this.listenerMouseDown=n=>{this.onMouseDown(n)},this.listenerResize=()=>{this.onResize()},this.openDialog(this.initialColor,!1)}ngOnDestroy(){this.closeDialog()}ngAfterViewInit(){230===this.cpWidth&&"inline"!==this.cpDialogDisplay||(this.sliderDimMax=new GB(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.updateColorPicker(!1),this.cdRef.detectChanges())}openDialog(e,r=!0){this.service.setActive(this),this.width||(this.cpWidth=this.directiveElementRef.nativeElement.offsetWidth),this.height||(this.height=320),this.setInitialColor(e),this.setColorFromString(e,r),this.openColorPicker()}closeDialog(){this.closeColorPicker()}setupDialog(e,r,n,i,a,s,l,c,h,_,C,k,A,B,z,W,q,G,X,oe,de,fe,ye,Be,$e,nt,ft,Qe,lr,_t,ue,ge,Ce,Ge,yt,hr,xe,$r){this.setInitialColor(n),this.setColorMode(c),this.isIE10=10===function Jve(){let o="";typeof navigator<"u"&&(o=navigator.userAgent.toLowerCase());const t=o.indexOf("msie ");return t>0&&parseInt(o.substring(t+5,o.indexOf(".",t)),10)}(),this.directiveInstance=e,this.directiveElementRef=r,this.cpDisableInput=k,this.cpCmykEnabled=h,this.cpAlphaChannel=_,this.cpOutputFormat=C,this.cpDialogDisplay=s,this.cpIgnoredElements=A,this.cpSaveClickOutside=B,this.cpCloseClickOutside=z,this.useRootViewContainer=W,this.width=this.cpWidth=parseInt(i,10),this.height=this.cpHeight=parseInt(a,10),this.cpPosition=q,this.cpPositionOffset=parseInt(G,10),this.cpOKButton=nt,this.cpOKButtonText=Qe,this.cpOKButtonClass=ft,this.cpCancelButton=lr,this.cpCancelButtonText=ue,this.cpCancelButtonClass=_t,this.cpEyeDropper=hr,this.fallbackColor=l||"#fff",this.setPresetConfig(oe,de),this.cpPresetColorsClass=fe,this.cpMaxPresetColorsLength=ye,this.cpPresetEmptyMessage=Be,this.cpPresetEmptyMessageClass=$e,this.cpAddColorButton=ge,this.cpAddColorButtonText=Ge,this.cpAddColorButtonClass=Ce,this.cpRemoveColorButtonClass=yt,this.cpTriggerElement=xe,this.cpExtraTemplate=$r,X||(this.dialogArrowOffset=0),"inline"===s&&(this.dialogArrowSize=0,this.dialogArrowOffset=0),"hex"===C&&"always"!==_&&"forced"!==_&&(this.cpAlphaChannel="disabled")}setColorMode(e){switch(e.toString().toUpperCase()){case"1":case"C":case"COLOR":default:this.cpColorMode=1;break;case"2":case"G":case"GRAYSCALE":this.cpColorMode=2;break;case"3":case"P":case"PRESETS":this.cpColorMode=3}}setInitialColor(e){this.initialColor=e}setPresetConfig(e,r){this.cpPresetLabel=e,this.cpPresetColors=r}setColorFromString(e,r=!0,n=!0){let i;"always"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel?(i=this.service.stringToHsva(e,!0),!i&&!this.hsva&&(i=this.service.stringToHsva(e,!1))):i=this.service.stringToHsva(e,!1),!i&&!this.hsva&&(i=this.service.stringToHsva(this.fallbackColor,!1)),i&&(this.hsva=i,this.sliderH=this.hsva.h,"hex"===this.cpOutputFormat&&"disabled"===this.cpAlphaChannel&&(this.hsva.a=1),this.updateColorPicker(r,n))}onResize(){"fixed"===this.position?this.setDialogPosition():"inline"!==this.cpDialogDisplay&&this.closeColorPicker()}onDragEnd(e){this.directiveInstance.sliderDragEnd({slider:e,color:this.outputColor})}onDragStart(e){this.directiveInstance.sliderDragStart({slider:e,color:this.outputColor})}onMouseDown(e){this.show&&!this.isIE10&&"popup"===this.cpDialogDisplay&&e.target!==this.directiveElementRef.nativeElement&&!this.isDescendant(this.elRef.nativeElement,e.target)&&!this.isDescendant(this.directiveElementRef.nativeElement,e.target)&&0===this.cpIgnoredElements.filter(r=>r===e.target).length&&this.ngZone.run(()=>{this.cpSaveClickOutside?this.directiveInstance.colorSelected(this.outputColor):(this.hsva=null,this.setColorFromString(this.initialColor,!1),this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.initialColor),this.directiveInstance.colorCanceled()),this.cpCloseClickOutside&&this.closeColorPicker()})}onAcceptColor(e){e.stopPropagation(),this.outputColor&&this.directiveInstance.colorSelected(this.outputColor),"popup"===this.cpDialogDisplay&&this.closeColorPicker()}onCancelColor(e){this.hsva=null,e.stopPropagation(),this.directiveInstance.colorCanceled(),this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker())}onEyeDropper(){this.eyeDropperSupported&&(new window.EyeDropper).open().then(r=>{this.setColorFromString(r.sRGBHex,!0)})}onFormatToggle(e){const r=this.dialogInputFields.length-(this.cpCmykEnabled?0:1),n=((this.dialogInputFields.indexOf(this.format)+e)%r+r)%r;this.format=this.dialogInputFields[n]}onColorChange(e){this.hsva.s=e.s/e.rgX,this.hsva.v=e.v/e.rgY,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"lightness",value:this.hsva.v,color:this.outputColor}),this.directiveInstance.sliderChanged({slider:"saturation",value:this.hsva.s,color:this.outputColor})}onHueChange(e){this.hsva.h=e.v/e.rgX,this.sliderH=this.hsva.h,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"hue",value:this.hsva.h,color:this.outputColor})}onValueChange(e){this.hsva.v=e.v/e.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"value",value:this.hsva.v,color:this.outputColor})}onAlphaChange(e){this.hsva.a=e.v/e.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"alpha",value:this.hsva.a,color:this.outputColor})}onHexInput(e){if(null===e)this.updateColorPicker();else{e&&"#"!==e[0]&&(e="#"+e);let r=/^#([a-f0-9]{3}|[a-f0-9]{6})$/gi;"always"===this.cpAlphaChannel&&(r=/^#([a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})$/gi);const n=r.test(e);n&&(e.length<5&&(e="#"+e.substring(1).split("").map(i=>i+i).join("")),"forced"===this.cpAlphaChannel&&(e+=Math.round(255*this.hsva.a).toString(16)),this.setColorFromString(e,!0,!1)),this.directiveInstance.inputChanged({input:"hex",valid:n,value:e,color:this.outputColor})}}onRedInput(e){const r=this.service.hsvaToRgba(this.hsva),n=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;n&&(r.r=e.v/e.rg,this.hsva=this.service.rgbaToHsva(r),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"red",valid:n,value:r.r,color:this.outputColor})}onBlueInput(e){const r=this.service.hsvaToRgba(this.hsva),n=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;n&&(r.b=e.v/e.rg,this.hsva=this.service.rgbaToHsva(r),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"blue",valid:n,value:r.b,color:this.outputColor})}onGreenInput(e){const r=this.service.hsvaToRgba(this.hsva),n=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;n&&(r.g=e.v/e.rg,this.hsva=this.service.rgbaToHsva(r),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"green",valid:n,value:r.g,color:this.outputColor})}onHueInput(e){const r=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;r&&(this.hsva.h=e.v/e.rg,this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"hue",valid:r,value:this.hsva.h,color:this.outputColor})}onValueInput(e){const r=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;r&&(this.hsva.v=e.v/e.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"value",valid:r,value:this.hsva.v,color:this.outputColor})}onAlphaInput(e){const r=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;r&&(this.hsva.a=e.v/e.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"alpha",valid:r,value:this.hsva.a,color:this.outputColor})}onLightnessInput(e){const r=this.service.hsva2hsla(this.hsva),n=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;n&&(r.l=e.v/e.rg,this.hsva=this.service.hsla2hsva(r),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"lightness",valid:n,value:r.l,color:this.outputColor})}onSaturationInput(e){const r=this.service.hsva2hsla(this.hsva),n=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;n&&(r.s=e.v/e.rg,this.hsva=this.service.hsla2hsva(r),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"saturation",valid:n,value:r.s,color:this.outputColor})}onCyanInput(e){!isNaN(e.v)&&e.v>=0&&e.v<=e.rg&&(this.cmyk.c=e.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"cyan",valid:!0,value:this.cmyk.c,color:this.outputColor})}onMagentaInput(e){!isNaN(e.v)&&e.v>=0&&e.v<=e.rg&&(this.cmyk.m=e.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"magenta",valid:!0,value:this.cmyk.m,color:this.outputColor})}onYellowInput(e){!isNaN(e.v)&&e.v>=0&&e.v<=e.rg&&(this.cmyk.y=e.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"yellow",valid:!0,value:this.cmyk.y,color:this.outputColor})}onBlackInput(e){!isNaN(e.v)&&e.v>=0&&e.v<=e.rg&&(this.cmyk.k=e.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"black",valid:!0,value:this.cmyk.k,color:this.outputColor})}onAddPresetColor(e,r){e.stopPropagation(),this.cpPresetColors.filter(n=>n===r).length||(this.cpPresetColors=this.cpPresetColors.concat(r),this.directiveInstance.presetColorsChanged(this.cpPresetColors))}onRemovePresetColor(e,r){e.stopPropagation(),this.cpPresetColors=this.cpPresetColors.filter(n=>n!==r),this.directiveInstance.presetColorsChanged(this.cpPresetColors)}openColorPicker(){this.show||(this.show=!0,this.hidden=!0,setTimeout(()=>{this.hidden=!1,this.setDialogPosition(),this.cdRef.detectChanges()},0),this.directiveInstance.stateChanged(!0),this.isIE10||this.ngZone.runOutsideAngular(()=>{qB?document.addEventListener("touchstart",this.listenerMouseDown):document.addEventListener("mousedown",this.listenerMouseDown)}),window.addEventListener("resize",this.listenerResize))}closeColorPicker(){this.show&&(this.show=!1,this.directiveInstance.stateChanged(!1),this.isIE10||(qB?document.removeEventListener("touchstart",this.listenerMouseDown):document.removeEventListener("mousedown",this.listenerMouseDown)),window.removeEventListener("resize",this.listenerResize),this.cdRef.destroyed||this.cdRef.detectChanges())}updateColorPicker(e=!0,r=!0,n=!1){if(this.sliderDimMax){let i,a,s;2===this.cpColorMode&&(this.hsva.s=0);const l=this.outputColor;if(a=this.service.hsva2hsla(this.hsva),this.cpCmykEnabled?(n?(s=this.service.cmykToRgb(this.service.normalizeCMYK(this.cmyk)),this.hsva=this.service.rgbaToHsva(s)):(s=this.service.hsvaToRgba(this.hsva),this.cmyk=this.service.denormalizeCMYK(this.service.rgbaToCmyk(s))),s=this.service.denormalizeRGBA(s),this.sliderH=this.hsva.h):s=this.service.denormalizeRGBA(this.service.hsvaToRgba(this.hsva)),i=this.service.denormalizeRGBA(this.service.hsvaToRgba(new Q1(this.sliderH||this.hsva.h,1,1,1))),r&&(this.hslaText=new vu(Math.round(360*a.h),Math.round(100*a.s),Math.round(100*a.l),Math.round(100*a.a)/100),this.rgbaText=new Sl(s.r,s.g,s.b,Math.round(100*s.a)/100),this.cpCmykEnabled&&(this.cmykText=new Of(this.cmyk.c,this.cmyk.m,this.cmyk.y,this.cmyk.k,Math.round(100*this.cmyk.a)/100)),this.hexText=this.service.rgbaToHex(s,"always"===this.cpAlphaChannel),this.hexAlpha=this.rgbaText.a),"auto"===this.cpOutputFormat&&this.format!==xn.RGBA&&this.format!==xn.CMYK&&this.format!==xn.HSLA&&this.hsva.a<1&&(this.format=this.hsva.a<1?xn.RGBA:xn.HEX),this.hueSliderColor="rgb("+i.r+","+i.g+","+i.b+")",this.alphaSliderColor="rgb("+s.r+","+s.g+","+s.b+")",this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",null),this.format!==xn.CMYK)this.cmykColor="";else if("always"===this.cpAlphaChannel||"enabled"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel){const c=Math.round(100*this.cmyk.a)/100;this.cmykColor=`cmyka(${this.cmyk.c},${this.cmyk.m},${this.cmyk.y},${this.cmyk.k},${c})`}else this.cmykColor=`cmyk(${this.cmyk.c},${this.cmyk.m},${this.cmyk.y},${this.cmyk.k})`;this.slider=new WB((this.sliderH||this.hsva.h)*this.sliderDimMax.h-8,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-8),e&&l!==this.outputColor&&(this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.outputColor))}}setDialogPosition(){if("inline"===this.cpDialogDisplay)this.position="relative";else{let n,e="static",r="",i=null,a=null,s=this.directiveElementRef.nativeElement.parentNode;const l=this.dialogElement.nativeElement.offsetHeight;for(;null!==s&&"HTML"!==s.tagName;){if(n=window.getComputedStyle(s),e=n.getPropertyValue("position"),r=n.getPropertyValue("transform"),"static"!==e&&null===i&&(i=s),r&&"none"!==r&&null===a&&(a=s),"fixed"===e){i=a;break}s=s.parentNode}const c=this.createDialogBox(this.directiveElementRef.nativeElement,"fixed"!==e);if(this.useRootViewContainer||"fixed"===e&&(!i||i instanceof HTMLUnknownElement))this.top=c.top,this.left=c.left;else{null===i&&(i=s);const _=this.createDialogBox(i,"fixed"!==e);this.top=c.top-_.top,this.left=c.left-_.left}"fixed"===e&&(this.position="fixed");let h=this.cpPosition;"auto"===this.cpPosition&&(h=function Xve(o,t){let e="right",r="bottom";const{height:n,width:i}=o,{top:a,left:s}=t,l=a+t.height,c=s+t.width,h=a-n<0,_=l+n>(window.innerHeight||document.documentElement.clientHeight),C=s-i<0,k=c+i>(window.innerWidth||document.documentElement.clientWidth);return _&&(r="top"),h&&(r="bottom"),C&&(e="right"),k&&(e="left"),h&&_&&C&&k?["left","right","top","bottom"].reduce((z,W)=>o[z]>o[W]?z:W):C&&k?h?"bottom":_||a>l?"top":"bottom":h&&_?C?"right":k||s>c?"left":"right":`${r}-${e}`}(this.dialogElement.nativeElement.getBoundingClientRect(),this.cpTriggerElement.nativeElement.getBoundingClientRect())),"top"===h?(this.arrowTop=l-1,this.top-=l+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*c.width-this.dialogArrowOffset):"bottom"===h?(this.top+=c.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*c.width-this.dialogArrowOffset):"top-left"===h||"left-top"===h?(this.top-=l-c.height+c.height*this.cpPositionOffset/100,this.left-=this.cpWidth+this.dialogArrowSize-2-this.dialogArrowOffset):"top-right"===h||"right-top"===h?(this.top-=l-c.height+c.height*this.cpPositionOffset/100,this.left+=c.width+this.dialogArrowSize-2-this.dialogArrowOffset):"left"===h||"bottom-left"===h||"left-bottom"===h?(this.top+=c.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left-=this.cpWidth+this.dialogArrowSize-2):(this.top+=c.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=c.width+this.dialogArrowSize-2),this.cpUsePosition=h}}isDescendant(e,r){let n=r.parentNode;for(;null!==n;){if(n===e)return!0;n=n.parentNode}return!1}createDialogBox(e,r){const{top:n,left:i}=e.getBoundingClientRect();return{top:n+(r?window.pageYOffset:0),left:i+(r?window.pageXOffset:0),width:e.offsetWidth,height:e.offsetHeight}}}return o.\u0275fac=function(e){return new(e||o)(O(ct),O(dt),O(Xr),O(bt),O(Id),O(tk))},o.\u0275cmp=ne({type:o,selectors:[["color-picker"]],viewQuery:function(e,r){if(1&e&&(Yt(vve,7),Yt(yve,7),Yt(bve,7)),2&e){let n;ze(n=Ye())&&(r.dialogElement=n.first),ze(n=Ye())&&(r.hueSlider=n.first),ze(n=Ye())&&(r.alphaSlider=n.first)}},hostBindings:function(e,r){1&e&&T("keyup.esc",function(i){return r.handleEsc(i)},0,lv)("keyup.enter",function(i){return r.handleEnter(i)},!1,lv)},decls:30,vars:51,consts:[[1,"color-picker",3,"click"],["dialogPopup",""],[3,"class","top",4,"ngIf"],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue","dragStart","dragEnd",4,"ngIf"],[1,"hue-alpha","box"],[1,"left"],[1,"selected-color-background"],[1,"selected-color",3,"click"],["class","eyedropper-icon","xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000",4,"ngIf"],["type","button",3,"class","disabled","click",4,"ngIf"],[1,"right"],["style","height: 16px;",4,"ngIf"],[1,"hue",3,"slider","rgX","newValue","dragStart","dragEnd"],["hueSlider",""],[1,"cursor"],[1,"value",3,"slider","rgX","newValue","dragStart","dragEnd"],["valueSlider",""],[1,"alpha",3,"slider","rgX","newValue","dragStart","dragEnd"],["alphaSlider",""],["class","cmyk-text",3,"display",4,"ngIf"],["class","hsla-text",3,"display",4,"ngIf"],["class","rgba-text",3,"display",4,"ngIf"],["class","hex-text",3,"hex-alpha","display",4,"ngIf"],["class","value-text",4,"ngIf"],["class","type-policy",4,"ngIf"],["class","preset-area",4,"ngIf"],["class","button-area",4,"ngIf"],["class","extra-template",4,"ngIf"],[1,"saturation-lightness",3,"slider","rgX","rgY","newValue","dragStart","dragEnd"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000",1,"eyedropper-icon"],["d","M0 0h24v24H0V0z","fill","none"],["d","M17.66 5.41l.92.92-2.69 2.69-.92-.92 2.69-2.69M17.67 3c-.26 0-.51.1-.71.29l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12c.4-.4.4-1.03.01-1.42l-2.34-2.34c-.2-.19-.45-.29-.7-.29zM6.92 19L5 17.08l8.06-8.06 1.92 1.92L6.92 19z"],["type","button",3,"disabled","click"],[2,"height","16px"],[1,"cmyk-text"],[1,"box"],["type","number","pattern","[0-9]*","min","0","max","100",3,"text","rg","value","keyup.enter","newValue"],["type","number","pattern","[0-9]+([\\.,][0-9]{1,2})?","min","0","max","1","step","0.1",3,"text","rg","value","keyup.enter","newValue",4,"ngIf"],[4,"ngIf"],["type","number","pattern","[0-9]+([\\.,][0-9]{1,2})?","min","0","max","1","step","0.1",3,"text","rg","value","keyup.enter","newValue"],[1,"hsla-text"],["type","number","pattern","[0-9]*","min","0","max","360",3,"text","rg","value","keyup.enter","newValue"],[1,"rgba-text"],["type","number","pattern","[0-9]*","min","0","max","255",3,"text","rg","value","keyup.enter","newValue"],[1,"hex-text"],[3,"text","value","blur","keyup.enter","newValue"],[1,"value-text"],[1,"type-policy"],[1,"type-policy-arrow",3,"click"],[1,"preset-area"],[1,"preset-label"],[3,"class",4,"ngIf"],["class","preset-color",3,"backgroundColor","click",4,"ngFor","ngForOf"],[1,"preset-color",3,"click"],[3,"class","click",4,"ngIf"],[3,"click"],[1,"button-area"],["type","button",3,"class","click",4,"ngIf"],["type","button",3,"click"],[1,"extra-template"],[4,"ngTemplateOutlet"]],template:function(e,r){1&e&&(d(0,"div",0,1),T("click",function(i){return i.stopPropagation()}),b(2,Cve,1,5,"div",2),b(3,wve,2,8,"div",3),d(4,"div",4)(5,"div",5),P(6,"div",6),d(7,"div",7),T("click",function(){return r.eyeDropperSupported&&r.cpEyeDropper&&r.onEyeDropper()}),b(8,xve,3,0,"svg",8),u(),b(9,Dve,2,5,"button",9),u(),d(10,"div",10),b(11,Mve,1,0,"div",11),d(12,"div",12,13),T("newValue",function(i){return r.onHueChange(i)})("dragStart",function(){return r.onDragStart("hue")})("dragEnd",function(){return r.onDragEnd("hue")}),P(14,"div",14),u(),d(15,"div",15,16),T("newValue",function(i){return r.onValueChange(i)})("dragStart",function(){return r.onDragStart("value")})("dragEnd",function(){return r.onDragEnd("value")}),P(17,"div",14),u(),d(18,"div",17,18),T("newValue",function(i){return r.onAlphaChange(i)})("dragStart",function(){return r.onDragStart("alpha")})("dragEnd",function(){return r.onDragEnd("alpha")}),P(20,"div",14),u()()(),b(21,Tve,17,12,"div",19),b(22,Pve,14,10,"div",20),b(23,Ove,14,10,"div",21),b(24,Bve,8,7,"div",22),b(25,Hve,9,3,"div",23),b(26,Vve,3,0,"div",24),b(27,Uve,6,3,"div",25),b(28,qve,3,2,"div",26),b(29,Zve,2,1,"div",27),u()),2&e&&(Tt("display",r.show?"block":"none")("visibility",r.hidden?"hidden":"visible")("top",r.top,"px")("left",r.left,"px")("position",r.position)("height",r.cpHeight,"px")("width",r.cpWidth,"px"),ut("open",r.show),p(2),g("ngIf","popup"===r.cpDialogDisplay),p(1),g("ngIf",1===(r.cpColorMode||1)),p(4),Tt("background-color",r.selectedColor)("cursor",r.eyeDropperSupported&&r.cpEyeDropper?"pointer":null),p(1),g("ngIf",r.eyeDropperSupported&&r.cpEyeDropper),p(1),g("ngIf",r.cpAddColorButton),p(2),g("ngIf","disabled"===r.cpAlphaChannel),p(1),Tt("display",1===(r.cpColorMode||1)?"block":"none"),g("rgX",1),p(2),Tt("left",null==r.slider?null:r.slider.h,"px"),p(1),Tt("display",2===(r.cpColorMode||1)?"block":"none"),g("rgX",1),p(2),Tt("right",null==r.slider?null:r.slider.v,"px"),p(1),Tt("display","disabled"===r.cpAlphaChannel?"none":"block")("background-color",r.alphaSliderColor),g("rgX",1),p(2),Tt("left",null==r.slider?null:r.slider.a,"px"),p(1),g("ngIf",!r.cpDisableInput&&1===(r.cpColorMode||1)),p(1),g("ngIf",!r.cpDisableInput&&1===(r.cpColorMode||1)),p(1),g("ngIf",!r.cpDisableInput&&1===(r.cpColorMode||1)),p(1),g("ngIf",!r.cpDisableInput&&1===(r.cpColorMode||1)),p(1),g("ngIf",!r.cpDisableInput&&2===(r.cpColorMode||1)),p(1),g("ngIf",!r.cpDisableInput&&1===(r.cpColorMode||1)),p(1),g("ngIf",(null==r.cpPresetColors?null:r.cpPresetColors.length)||r.cpAddColorButton),p(1),g("ngIf",r.cpOKButton||r.cpCancelButton),p(1),g("ngIf",r.cpExtraTemplate))},dependencies:[gt,ve,Rd,Qve,eye],styles:['.color-picker{position:absolute;z-index:1000;width:230px;height:auto;border:#777 solid 1px;cursor:default;-webkit-user-select:none;user-select:none;background-color:#fff}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .arrow{position:absolute;z-index:999999;width:0;height:0;border-style:solid}.color-picker .arrow.arrow-top{left:8px;border-width:10px 5px;border-color:#777 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .arrow.arrow-bottom{top:-20px;left:8px;border-width:10px 5px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #777 rgba(0,0,0,0)}.color-picker .arrow.arrow-top-left,.color-picker .arrow.arrow-left-top{right:-21px;bottom:8px;border-width:5px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #777}.color-picker .arrow.arrow-top-right,.color-picker .arrow.arrow-right-top{bottom:8px;left:-20px;border-width:5px 10px;border-color:rgba(0,0,0,0) #777 rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .arrow.arrow-left,.color-picker .arrow.arrow-left-bottom,.color-picker .arrow.arrow-bottom-left{top:8px;right:-21px;border-width:5px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #777}.color-picker .arrow.arrow-right,.color-picker .arrow.arrow-right-bottom,.color-picker .arrow.arrow-bottom-right{top:8px;left:-20px;border-width:5px 10px;border-color:rgba(0,0,0,0) #777 rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .cursor{position:relative;width:16px;height:16px;border:#222 solid 2px;border-radius:50%;cursor:default}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;padding:12px 8px}.color-picker .button-area{padding:0 16px 16px;text-align:right}.color-picker .button-area button{margin-left:8px}.color-picker .preset-area{padding:4px 15px}.color-picker .preset-area .preset-label{overflow:hidden;width:100%;padding:4px;font-size:11px;white-space:nowrap;text-align:left;text-overflow:ellipsis;color:#555}.color-picker .preset-area .preset-color{position:relative;display:inline-block;width:18px;height:18px;margin:4px 6px 8px;border:#a9a9a9 solid 1px;border-radius:25%;cursor:pointer}.color-picker .preset-area .preset-empty-message{min-height:18px;margin-top:4px;margin-bottom:8px;font-style:italic;text-align:center}.color-picker .hex-text{width:100%;padding:4px 8px;font-size:11px}.color-picker .hex-text .box{padding:0 24px 8px 8px}.color-picker .hex-text .box div{float:left;flex:1 1 auto;text-align:center;color:#555;clear:left}.color-picker .hex-text .box input{flex:1 1 auto;padding:1px;border:#a9a9a9 solid 1px}.color-picker .hex-alpha .box div:first-child,.color-picker .hex-alpha .box input:first-child{flex-grow:3;margin-right:8px}.color-picker .cmyk-text,.color-picker .hsla-text,.color-picker .rgba-text,.color-picker .value-text{width:100%;padding:4px 8px;font-size:11px}.color-picker .cmyk-text .box,.color-picker .hsla-text .box,.color-picker .rgba-text .box{padding:0 24px 8px 8px}.color-picker .value-text .box{padding:0 8px 8px}.color-picker .cmyk-text .box div,.color-picker .hsla-text .box div,.color-picker .rgba-text .box div,.color-picker .value-text .box div{flex:1 1 auto;margin-right:8px;text-align:center;color:#555}.color-picker .cmyk-text .box div:last-child,.color-picker .hsla-text .box div:last-child,.color-picker .rgba-text .box div:last-child,.color-picker .value-text .box div:last-child{margin-right:0}.color-picker .cmyk-text .box input,.color-picker .hsla-text .box input,.color-picker .rgba-text .box input,.color-picker .value-text .box input{float:left;flex:1;padding:1px;margin:0 8px 0 0;border:#a9a9a9 solid 1px}.color-picker .cmyk-text .box input:last-child,.color-picker .hsla-text .box input:last-child,.color-picker .rgba-text .box input:last-child,.color-picker .value-text .box input:last-child{margin-right:0}.color-picker .hue-alpha{align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:16px;margin-bottom:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC)}.color-picker .value{direction:rtl;width:100%;height:16px;margin-bottom:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAACTklEQVR42u3SYUcrABhA4U2SkmRJMmWSJklKJiWZZpKUJJskKUmaTFImKZOUzMySpGRmliRNJilJSpKSJEtmSpIpmWmSdO736/6D+x7OP3gUCoWCv1cqlSQlJZGcnExKSgqpqamkpaWRnp5ORkYGmZmZqFQqsrKyyM7OJicnh9zcXNRqNXl5eeTn56PRaCgoKKCwsJCioiK0Wi3FxcWUlJRQWlpKWVkZ5eXlVFRUUFlZiU6no6qqiurqampqaqitraWurg69Xk99fT0GgwGj0UhDQwONjY00NTXR3NxMS0sLra2ttLW10d7ejslkwmw209HRQWdnJ11dXXR3d9PT00Nvby99fX309/czMDDA4OAgFouFoaEhrFYrw8PDjIyMMDo6ytjYGDabjfHxcSYmJpicnGRqagq73c709DQzMzPMzs4yNzfH/Pw8DocDp9OJy+XC7XazsLDA4uIiS0tLLC8vs7KywurqKmtra3g8HrxeLz6fD7/fz/r6OhsbG2xubrK1tcX29jaBQICdnR2CwSC7u7vs7e2xv7/PwcEBh4eHHB0dcXx8zMnJCaenp5ydnXF+fs7FxQWXl5dcXV1xfX3Nzc0Nt7e33N3dEQqFuL+/5+HhgXA4TCQS4fHxkaenJ56fn3l5eeH19ZVoNMrb2xvv7+98fHwQi8WIx+N8fn6SSCT4+vri+/ubn58ffn9/+VcKgSWwBJbAElgCS2AJLIElsASWwBJYAktgCSyBJbAElsASWAJLYAksgSWwBJbAElgCS2AJLIElsP4/WH8AmJ5Z6jHS4h8AAAAASUVORK5CYII=)}.color-picker .alpha{direction:ltr;width:100%;height:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg==)}.color-picker .type-policy{position:absolute;top:218px;right:12px;width:16px;height:24px;background-size:8px 16px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:center}.color-picker .type-policy .type-policy-arrow{display:block;width:100%;height:50%}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;border:1px solid #a9a9a9;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC)}.color-picker .saturation-lightness{direction:ltr;width:100%;height:130px;border:none;cursor:pointer;touch-action:manipulation;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwksPWR6lgAAIABJREFUeNrtnVuT47gRrAHN+P//Or/61Y5wONZ7mZ1u3XAeLMjJZGZVgdKsfc5xR3S0RIIUW+CHzCpc2McYo7XGv3ex7UiZd57rjyzzv+v+33X/R/+3r/f7vR386Y+TvKNcf/wdhTLPcv9qU2wZd74uth0t1821jkIZLPcsI/6nWa4XvutquU0Z85mnx80S/ZzgpnLnOtHNt7/ofx1TKXcSNzN/7qbMQ3ju7rNQmMYYd/4s2j9aa+P+gGaMcZrb1M/tdrvf7/d2v99P9/t93O/3cbvdxu12G9frdVwul3E+n8c///nP+2+//Xb66aefxl//+tfx5z//2YK5Al2rgvf4UsbpdGrB52bAvArXpuzjmiqAVSGz5eDmGYXzhbAZmCrnmzddpUU+8Y1dAOYeXCtDUwVwV7YCGH6uAmyMcZ9l5vkUaBPGMUZ7/J5w/792/fvv9Xq93263dr/fTxPECeME8nK5jM/Pz/HTTz/dv337dvrll1/GP/7xj/G3v/1t/OUvfwkVswongjdOp9PzH3U3D3zmWGnZVXn4jCqs7wC2BKP4/8tAzkZsoWx6XrqeHZymvp4ABCBJhTQwKfDT8gzrZCIqi5AhiACjBfEB2rP8/X63MM7f6/V6v9/v7Xa7bYC83W7jcrlsVHIq5ffv30+//fbb+OWXX8ZPP/00/v73v4+ff/75JSvbeu+bL2WMMaFbAlpBNM85QX+ct6qoSqkPAwuQlBVKqGNFSUOAA3Bmu7gC5hNOd15nSwvAOUW7C4giUCV8Sgn5L9hNFIqTsp0GxI0ysioyjAjkY/tGJVEpz+fz+OWXX+7fv38//f777+Pbt2/j119/HT///PP49ddfx8fHRwrmTjV779EXu2px2xhjwtdJZQcAWQIPLPISsMJaSwiD8gzIKrwSyATE5j5nAbR5c1dBUwBlsEWW0h6LqiYsqFPAQxCyRZ3wOSARxmlXMX5k64pQfvv27f75+dk+Pj5OHx8f4/v37+Pbt2/jt99+G9++fRsfHx/jcrmUFLO31gYDWblxRIs/TqfT7ousxJsAxXA2Gc7TA9XdgfdoHbFsj76X2+1WArgI1ageGwA3qupqoHsmcbI6Fu93quggFa9d7LeDtgKfAFHBJ+NEByIkcJ5KervdTmhhGcgJJSZ5vn//fj+fz+18Pp8+Pz/H5+fnmGD+/vvv4/v37+Pj42N8fn6O2+1Ws7JjjP6wraMI5E4RZ8x2vV5TSwkquotV7/d7Tz6HFWsD/qNcdw0CQ3q/321c686TwDVIdbuy73zNldhSHb8I2klZznm+InBS4U6n0302aBFsLhHDAKJVJVglfI9jhvu53W53sLANYNxAiDA6MCeUHx8f9+v12i6XS7tcLqcZW57P5yeY8/fz83Ocz+fnsSmYUyknWEG85WBst9stzSLyMdfr9Qi08iY15UZ0LlDGLhR3o5zK2j7OPUTD0E+nU3tk7Xb/16NFbhloAMuY1zjLUOO3BKeIDe+Z8s3/J4gFo4TM5jPmuRg28foUKKVSwo16TgA5npywcWLHgYl/Pz8/73/605/ab7/91m63W7tcLie0sZj4mao5gTyfz88E0f1+j8EcYzwTPEG2cqjyfHNF0M8fuqEiaOVnRzZZQNh5fwQyHg/HDGfJo89Q1zb/quu5XC6773I2XKfTqd/v9+d3wuqWva/YTdUdEV3fhIv/Viyps6YE3x3r43K5bJQS66zaxVGFsvd+//j4aF+/fm3fv39vt9utff36tf3+++/tdrudvn37ZuNLBaaCMgUzC+rZRiFowxUuJI8YMqcCp9Opq5vagaYU6lGJA1XQqejchw6Cj0Gw5nYBrGw01A2O206n04BGouNNyTfp/FwElhUey6nXrIKw7QQWddxuN2ldL5fL839gSPF8ahu/JvBO48CPSuqMf8Vp9/P53L58+dLu93s7n8/tfr8/39/v9/b5+TkhPJ3P56mQ436/j+/fv+/iSgbzer0+AZx/5+88bv6OMda6S5z6kd21fYC9dxv7cIJJ2d9AOS30fPMzyHiTM8B4DF6XUlYHp4KQW3W+1t77MNB1vGHxWq7Xa7vf78+y5/N5A+H1et29xuP5dbYtyaRu4AksbPq6936fjRzXRxBbPr/b+b18+fKljTHaBBBfn8/n0/1+H1++fBnn8zm0sB8fH5u4cr5GuBhMVk0EEn9RsctgVhM+ixlJtMA23R8B6yysAstBOgFXIKKCMIgToMqNEu2fYMH7ztc732dQKkCj1ytAZtY0Kx8pIr8GGJ+AT3V+2Hirhl++fBmXy2Wz73w+b17P8p+fn8/tUwGVleVkTyUb68DkfayWY4zxNRihU4EpLJPZVrK+u7J4/mgfKqeLW9X2REWlItL1diynbDDb3+jXgYjQqn0rrxWc+NkILP7F7xIbMvx7vV53x40xnlbWJF12ZSag/N0pW6t+ZzmOMzHjajKwDfond78zYTdfq18up97zr2q8v3IioBprRtBl0EZ9og5WBRGOdOHjIjXF7UotFbgOWnXzIJyzYvjG5IYgsmMOxHkz8OsMSrVNWeq5T8DaOcbEv1Od5rbs9aO7YvMet63EkF++fMExq+MRl4/L5bLZN/+ez+fnZ6KazuMqXSQVO5spJXflHAIzes/xJseckRJiDMog9d6VfRrqXMr6KpVV27jRwJacGovOAM1zMdQMnwK1AubK63kdCChvI1C7g0z9nf/D+Xze2Vj8H7Gx4P9duQlsYCrqyN8XqG3Hm/10Oj3jw/n+crlstuM+jPmmxT2dTuPz83Pzt2pn1XsEHX/bnPaVqVmh0xwOt0o6XLLAHePUU203wHfcrspCwmV3TryB5s0Mseeg97x/BwzCjBlbB+pRAPla0BVQuT6V6QHdBlj3d0KG147b+DqxQeUymDO43W4dQar+TIjwmAd0z8/h65vf0/yLv3Pb5XLpru/ydDo9s7ET0I+Pj6dKK9VUEIeKWQWPAOrJ8LKd4vE+t91Y3e7UFlWatg2VwJnb+HPmtvm/sfK59/OaWF3x/eP1UPHvA5DDYDpYXfb0drv1V2DkBkxtw/tEWVVlXWdC9pFYs5/jfh9dS/16vW7s6lTG+TfqsxSJHxkXXq/Xdr1eu4LsfD6P3vsT3N77DkL+zPm5jSdKL4zR3AxQd6rHkLkYlSowsrq7znzu6wSwdsMJOXmA5fBcjxtgMGBYHlr5zokhtsMCTgXLQOW4XC6dEyEMprL8mAQzXRgduix2yZzorxkYsDn3hB1VeMLGsXsVtgl2pW8S3svk0vw7R4hNaHvv4cACl5HFzwIH0Kc6zu4XjDPR/jpAVxWzO1Xk2DDb3vTcxeGU1iWZHkmIDWziWKvirCJ4Dravs6IJ/GG6cTqWdXDy+fArQDVVkLqkVjAoZIITdmmIqXwqa95N3+MGYoZQdRVNO53Y1xRkhO16vY7eu507Ca9lJnbGpxOemQhSw/AQsmmp5zU9BiU8G6wvX76M6/U6Pj4+do0Bz4CpgiknTUeDqwlKBmg3u4OVjrZ1A+rAcgaejWq6eJCvCYFDONSwOgHX4EQRw8lxbzDOdEK6gZ3Hk1b+8g2o1JFtKXyv/fEdTXuWjWXdAZiBp6ADeDrCFiim7B6ZFneeI7Gvm/PMkUDX67W7xI8b0D7/v8dA9qfN5oaCf74WZjH0mf1cmfY1Y0JUFmVrTWu8uzkNcLtEj7u5FXBTkfC6GOA5q8YMxO8KVvF6sAVGdcrUbsKODcQKkLMOMdmlxum642YrPm26AlhZW1YB1R+rrGswE8TaYAWeUMxdf+WjwSvZ2Ef3ytOyfn5+PpVPAaqOn43MtNBqvmjjxbjM4lZjZY4gqNMI5ktaW/sYKNwS+9lFQzGihmMCKPa7+Z0V6Eb0GRmobtpX8JljWu5FMLN5ja6hG9kwQgZqf5+1NH5UxzkFReCdWhJ8XdlGUkxO7HRlYRm4mVO43W7ter12TPJEw/rmEN3L5SKHIWZg9mz+pUoKOYq5bJTJdX2gme1UcxMZQFaEQIlHct32M+Y1BzGkGuzfiyAN9z+ugplZ1symCrDCYYkGxDTpI9RzBy0rHyeDUC1nWaeUaD9n4xkNyYMBDZtzZ3B++fJlY21XFDOcARJlabOyiS3uCpLI9jrZjCDkaVvcCCjwognKShWdzXZWlZMvVTgD8LpqlCLrqgbcB+qYwrgKYpT0ccCqbKyCValkEabn/FynogCrPKfqf51xJ7sGB2ZXcZmxoSOztjx300DZi7a0/2AIR0UlBag9SuDw6KcAzlaB7vHZvWpjK90dyrq6bKyDUZQbR0B05biLQkHIcSUmgIK+SwuqgHCnoio2RQU1yj+BnBy9pphVKLGyC7ZzFK1pxWK+E8IhVCWLN/uLtnUU4ayoYLoaANz8FdtaSvY4pV0BEW2ls61czqllBKpTyKgMAhrZ1cdc1RROtPmvWNkdcKZ7ZKxaWjiPLJMpp7OZKxA+rqG/oJLjxf0pnJlqLoDZo3gyU0mKGys2taKecj/d1C+rJSplBqlTyAqgR+D8KjKlmRL2gtUcAdCtsL+ijCNT1oqqqkH2OHEbG5sDFnUg5Aa+yLou2VU1ptj1S2ZQqv1ORZN9IWzRfgaRBxKoBE8UWyqlJFtrIc0AxNjSjed99CTY/XDfSzCz5M0IZoVEsWnPFNTsl8ooVC1TzbGgqFZNDSgVwKK+1sGDMKqxZCWGVMDysiEr1jVSQJUYwj5iHOlThdHt44SQg9CN+nl8D90NMIgAdgr46JqRiR9I8vRdFvbr17m/yxUMKjNLMiVUADwu2CWGhhi+F55TWM9M9cogzms1dnM4uOF/LAEYWdcqnM7yFmyq3IfwmOROd7Y1iFWtOjoY8To41mTV5IysgFFuRzsbWFGbNIIJCDv1dOo4lZG7jWBwRFtVTKuWyeCByJKOan8oZ3ep9XddNl0tDuaywLz9cXPYeDAA0SpkBO9sbVcTOVWldPv4uyzEkzxHtjvonHoSkFEWNoo1d8DhcQputd2ppNon4BzoAiJ1hBFQg0dVtdbGHHDQWushmNEQukLM2QO1G2Y8bgTXqFhcBJj7EjPgcPts8US8qPpPB/dXznOh5Z438tzH5ec6QgrOKrRRfKmysBmUDB+PhYabMlVPER+GCSITTzr7am2tArH3bgcEzPJm+cr5jJ4NnHNFDVrFXcI5Le9k5Jnw+bedbV+FfRzZIHaOOaOsLY0/7UGs58DjrGwKMIMFIGzOEW1/jGsdAtCN6hEAI4hBe9YXeRROBSVPAVPAqvIM5bx5hVKWAMP6zBRy3iescridVdFBinBxXDnG2GRY2XbCvp1lhvGtO9Bxu5h908XQu42lnSArMFdizMim8uwRCxPGnnOS8lwpnbOiDqTAjsrRN/PcoAScCbaACqVM40ylnjjTBs+bwWlAG23/UKbdkiwKWIQPGzWaczpoSlxPEj822cNWkpS7FyzsDrqpfgpG3jahw2vgbaSQAxuLWZYt7JzyNe8JoZpNAcvDFOdw0wqYT9AK1rZz/DdbSlLPp0ryIxgQJlK9AZlEq7IOXpohg9PIhrCng88JsOxiV4ZWAYfg4sikx/8ky2Z9l862uqwrfscIH8+ugTmVGyiddeVYUgEMn4GZzg14EwIsh9sx2cKKiWXReuOE5gzGOQgdlRKVVdlevqb279Xq0Qnsts2VDaBO0coezsruWtHApu6sKG4IBhN0aGU2kLrMKGRTN3HmbCDwKV14zvkMEDG4QfZVspVlaNU2mhc5TEZ3N1h/zqTheuLpW05ZWTGVjb3dbnNmxKZBnN8JqidaVLKAOyARNLS+MB54Z2+VaqoMLKroVBlngefnTPAcoHNWCSvlfA8CI0HEmBNBnBlXyMrzU7A7WVm94PPqQ2gmqKx+WDGsnvilmcSOBJqOK1nYyAIzuAyesq3UdSK3KfWcYKD95HmfYOU3qser2CtYEUA+FpfqdNvgPBZUBhDrGONRVlQsh8rLcaUCykHG0OOUwTlLBrsh5soEMGezi1E4HRVt1icp5wZEFXdibCkG8Y8vX75sbO4E0iom9z+hjSiOfy3DhpXItpVhE+UGQdvoWjtChmrGHf4YAzKgBNnGtuJxFCeGdhUAfQLLK8kBYAP6gvFJZajMG3Xkycy8KuC0q4Eyymwtwdxdv2M0mIBtK0LKnf640j00Auq4gUkdWGlhs22qJc6dZCsL19oxnlTJG4SYVRIGpD8TPFBuM6OElbS1pldid4mGAyN6ZIupbC5bXJN9fdpbThSxLUaI8IG1XIYBxW3Tjs6KQosKcxfxcQmdnwRGM10GnFcCy2XYunLMyAkdgk4mePiczsLygthcBut6goOqS7YVFXADLjaosB6s6ofcZWAZSIRYqSUkizYwttYab3vUOQ9w2HRxIIg8WwRVeE68xi4UtL3zRphxplzwuZrcqYCq1I3jPI5dnJIygEohMbPqVJSzrwzxBJTs5zN+ReUSgxikPQVF3JVBeNQxbHENrEMNvEdFZVV9lH9+ORGEsNZQpyTNc4C3AG7XF4ngzq+DrO2zbuaaOXgdaFcdkEotoSFBVX2qJ0C8OWZeG4KGlpghA0XfTOPCqV2qqwQ26QWfF2PMLhI2w1lVAa2aPsYd0za25MQRwgcZN6uQDCi+ZxiD4XEM2kZxOT41FnZnaRlcpZouzlRqqdbQVWopQoSB58RV50lBNrHi/AwXS5LrwDVlpY3Fc3ByiYGc52Trist6kOXdwInAQtJpp5QchyaquYOV7Su+fxVMaV3dc0RE2S6mUY0gLt2pMcYqrKIQ9w2l1gpQUMtQYcmmbt5DTNxdhnUCjQqtbK9SUSzvrC0mmhhE1e2FS2+oxypy/ZASutkmtjx3vcBC24PX65nbqkBCRhfjS9kIYPnee8cMagVOhI/3T1fAmdtAWZsCswTJCkQVNa0qWKSKPOpHAUhD9DrbVcyoYkwqhvh17vYAayXLQyKGYdxlUDFp494rBXRjYgO17DDYetNIUj/ezp6S0lnlpEwsWmJMkOwsKXeZKEAjIHn0EQJISaRBcO6UMINz7p/bEjjnw4ft+xmDvksxX4G2rIris7qaeKwAFMP2Oi7n4criuZwtpSUwpfLxSnORSrIqusc5ZFaXysqRWjiZ2DyAWEIL35tVSoQElFACjOeGGSE7AHEQgdo/LSvCOgGBvkxsmDbvlS3Fp5vhaB2TAGqRKrKKMrhLVpaGzEVjZ0OQxDhaCTA+QyRR1d15aQzrJntL3RibsipjG6jlgL4yqbS0sNYg1e84vhbBVrElK64CUcWYXDfKxhpIuxiVJZUxsbMy/uRBKTNRQ4kQ3LdRYLS0rJjRPlTPqY6gdJsEDc+aQXAn+HgsNUCbRuF0Oj0zwnA7bWDkbhO5Ens00qeQhS1laBMl5M/cAaxsLF8rKyql+Tf7ELLEGu/ixiimdCvo0TjfpjKwaggen4eh5v7LokLKbLuyvHhcZG8dhGrEDx7Hg93ZppJF7qBqO3iVveXEDQNInzeoe8Yq6ePaZBZ2JviM3W2UAGotekRCAGq4EkF1X3DOnR11yRsBL1tRa0PVcZiNFXZ2c34FskvomInQQ6lzpJoZbJxk43NwKJFBquJSsrByHydxKOnTxQASBmS3j+JMnsHSla3Ec6K9VWoJVn9zfjwOM7hqYAAqJQwE2a3nA48J2QGegRkpZNivSY+ys3EkKd4oJIwsvIHl3cWgLt5k4NH6OmtLWdpurOkwEMupYc7eMtDRhOcI2ui5JhVIzXzLyto/GAPuZoyo8wkoduVgJglCt7OhGbgID4Mq4si+63zUS1FuFFXFlqyaj2emHlLMcBqYu0FMuR28BbB7lOxRMSiCQXFhCKuwkhZ+pYDiGSgbsKKV8MiSRsuHSIWM9rklRiIlZZuqXjsQK8ooYJMgq3JKWVkhHbhsVxFUzthOWPkYijcbx54IKsSdT+uLr3crGKyoYgFiGR9iBk4kfloUX+JIlQRQqabmpgnhqtpQpb6RVQ1WH5DnrS4hEoGZqaerQ2dhFbz8XePxShmDbo70eISjoorO2vK8SJXI4SUmEU4zWKDzUDtWTYw7xXlbSTEj4FRg7zKnKoGRALv0Gs9Tgc1BpCywGZRQAtqVz2xrBcAMzEpfZwFSa2G5W0QBFjSMapWAEFa3HcGN7CxDzECyIkJ97qwrqWNTWVo876PPsjPkj2wvgroM5lLZKMETKVql/CvnWVFiFa/SzJUQwkoZsr67Y6vlSRV3/2tmNTOY3vnaxYwMuoPKqdzR1w7IqHymlPxaAThfU7Ko2ZXYj4AYJHL+kNdKwRQYESTRa5fsUZ/rVC1TMTyWVyYoqNtuzaHsMyv2tvoarxdfqwYgU1axFo/cnql1FGsqK+uAROV8BX4GU8WcZTATi2q7Qcyi0O0V+GhWBMNRUkn8H1SsWVE5By3Gi0ECqUeJoBfAtDa4amkdXG37AGP5Ggeb84p7UazpoKRzdFzeQ8HkoHGxprKy/Hpm5t12p47J6xTYDEz7uINEXSuxYXvFskYAc+ySxH9sf5ftKzU6IbwVBcUGg5e5FMCEXSErZR0wGayV19woM9guPjTqJdVTqR4uE4nJnLldWVkECCZLd2VLF+xtamex7IpiriSDUpvrpn9lrwGMCHyppMH+ps6LILsuFGUj1XEOXiqbqSHPUKnClpWV68kqtURVNDY4TNaocykoYeTU5ngGEQa/S1DnnE4AeXMcKjHPAmFVjCBENaeyLVNHfr3px8xUstJ94hIpfH4HKE/eDaArK6lSyVVFbdt1gxTIVk3pppVlFXi4pEhVBTObquohU85MLXn1iahvUkHJjSCMc01tLFveVVBx0DodM6jftCu7DOtIzYxrc0qp1JGP2ayYFz2Gb6HvMrO8cnGtV6Gjm3uImSfD2GpWK6uowbZGMxFKQCo1pOMtcMXFpRst+hXGoAomF3sSTBGgTglbBKWwsQ3tZqaYSp0Z1CimRDWFcCJUPYJ00BI5FkKYNoifuQxmN88SWVXWLMaUqqqgC0BmQJR6sk3u9NCf6jYLXxAfqsYEgVLAhRY2AtgtflZNFmFyhxdrLkAdWlk4D88M2ixHyepIdhMHrG/iR1ZGtq0MGpbDbRPYOXeSY1M6Ny4ZstvGSktK+XbFPATj2D371saPEsAMXhXrsZ0km/XStkhhMyBfsa6uXFZe2VCe+YMr1+GKgwrQyNYq1VRrB+EizAow6NsdNKcyVEkYeM73ys6q4kAHp6BiFklTkIrVC5oYV7uzwOGCz4UJ0Stq2lWMJy4wtb+RetL6tZFicnJmBw5UjCvXXMZVJX2MQkbf+XN5EWd78Vz8/JEsMZTBiKNzsm1inLRUQ74H4NidaqI68j5sAFgxcRveC7ieLJXfQYxjZZ2CsiWFewZXJmBIlZ1tdtrX4hSuateKso/RZOtOKW2nmq1oTzeK6dRWAWu2NRVb4hq0SXm1GvtugHrbr5IXqmSktg5CuDE2MSlPwsY5kNE2Wp3AqiZbWVLAxiBF+2iBZbuNj6MB6rsMLC7FyasaYDyo7KkoPyEtw3pEMXfPvxAJi2jAQQgjrz0rLIZSWZlIoNhwd5xK4AR9mYNjWAaLrnuImJeBVN9zBORObVvbr+mTTfFSEJLSRnHo7hEJoIi8MFqjxmvgmF5URZz4zLFgZZ8Ctu2X7ggVccKm9gVxIsOHqxXgNMKnFWZYnf1dBnOhayXq17QwFlWW09eNKyVJFmXqaONGA5aCegMbJ3UUkGY1ic3nKWgjq8qfVYGQG1gRt6rs62a6HiqqUOqdesK5NmX4nGofJoiE1d0dF9lVVkvT1/kEEaaCoYOwFpcVcoLM+7669PxC9rWqktH0sWUYld0VCpuBZ/stVRcGgy9WX2+U1Qthi9SzAqSxzZsy+OiFzBYnySGV6Gku44rD8BCOZBV3BvD5+AKRHNwMEsB6EzHnJpkTAeiUlEGkcECeB6GDZTp5YEJTlvdrknxYjTllMkfNtXwDjM7uVjK5JXUUn43rrqpK2jytaxHW0M5G8DC8rtHMYs7KSgduVQMGTYFqFvVS6rkD3sDJ46afdYFwoq11AOKCBLhvwoUgc8IGANycR6knZrdJPdsuxnyjfd3FovTlRMdEdtOl5CMV5EHsXQBis7TOwvIDZaGj2Vnpbh7cpK63VwYEMLwqbjzyl699sawFFkF1yqjUU31HfC6sW1ZFVFuXVXVgz9keEaw0ys1lWfm+azQAQSWA+hKYVfsZjPncAcUB9oIayy/UZXRNckDGji77GsWbvBo6tPrWPqOyVkBUq+INeqpzNdYs/u0ifh5qmpqIW+33JVSUcwY70KL4U9lYdU6ljtSls7lmfi9g3YzeQfVkaGFaV3ODCnaD2N8wsEDFklE3RzM3ZghdYkWHsszq70FIecnKkVkt8ezMzRq9bkGuKojRLBVSod3Y1yPqKgYW7JRQTPVyy5xIYLjOgxgT52RKJUY1dOrIiRd4futQx/A5AcSmEjz0vFWrkLzvbWAu9HOWbGgxFk1VNTpnBKk6TgwisI/HcxYXP1uAWO72ULFlBTq+aSu2VTUs6hrxM2CF+hEor1VIA9ZmFUaab1lSSgZsVs4sxzHlVLoJHr9H4DhONTkI1XC0/wiY2NoWAG5RlnHFnq6oLccpQddMuJ/O17JVA5OHLi0BqCztq7Y1++ucCd98qLI8MIHBV/cKjxQTme3hFBS3MyCqnDsuym2o80HjvFFTtrURmNaGJsmVahImjTsUXKtQZTAVs7Mvv8/+fzUrZAXcLJ6M4koe6XP0b6SmWWNDzyUpQ8bl+LtWx4tuqZ36cRYV3yuVxPNwvIiqiQCSmu7srgTzR6nkyhpCarXwFy1vGd5iP2cY06lFr5Njhhg1Y6+NB28ftbK83s8rf7kLJbKwDFPbLg25a0AdZJEiqr5phixKMDlRUtcssq1hriLqGoH+zeNgVm9OemjsETV8JdF0NHnkIFxWY1OB4Yrp7rtWJ7NgAAAPXklEQVQ3oNs5nplyVf8u2FoLu1JrHveaZWQjqAkshtFa2gzsSG3Zpkbvg3HafF9slPPlldjFlK80Gysm8Mr4MPhneNWENPGjAIpmilTPATdTRTXlCBYHYAQuPwA36xIpWtGN4q3Y2MhiGsUpuSSnlEJRD8PorC7CFYVw+F51qThgabxsTxWzCGY0ZSsb3lfqAy0OPNjNy8xiQQKsHYFQ2HBZVvVbBuq3m1oWKajqaonsM6uZUr6CjXWNZ0l5E3h3jURma6kP3MJIiy1Lm+kahQq41N2iZja5sjtlLYNZHZrH6qUGm4vMbDp6Rw2CFmvuyFkrBcCyMtFqBaECmsHoK9BZ2LA/lJcRqSaDqnaWbrZdGaz3DLgIvBln4woGztbyJGqslwxkhhHrTjTYFXCtOoKS8uLdofVdAbOylGU6nlYpXWZts4nXBq6WxJitMNokHUJnbnJplQm+aGpY2a5GMV2QD1hRubBPFKdumf5OHkLHz0F9luE5kjBjRa0nFE5CUGqHw32MmjZ6xkgINVnSnZ1VZStK2qKlRaLlQgK7uTq7JFXJwM+3SOEKyhZNI+tJ0I5qMYy9k2qJD7dVWdqKXa0CKNR0Ccjg+B2IYu2fcBZJZkMFgM11r0X92wilghFGgzVnexlqB7xL9mS29SiYUVY2nXOZjNBRsyDsQPRWW5hrZ4XcdC4HVWRbjgJr4sFofK5SzjQ7rhI1UebdPdEbj6sqIvTZQZ5va08rABsAW0UxeWytAk7A2KJ9ZpxzCioB24XFtYAeXYxr6anSqhLgppEqWbGwLunTgrV+IjWlL29ljaAl4EQMGsErp4apeZiquwRXLXAqOCeru32mmydc6oWTSWpFAGdzeTB8RTHVMEtlM90CbbQCYhPjq3egYr1FGdYIQjiuDGZ5zZ/AzobKGOyLxti6c4Rwtv2anyWlLICnlLhxJRXt6A5ebDBWFNONbxWZ2d02mnu4S9YECpeppV1zSWRBWxHYzVIv1CXSouwqqX3jBBBDZdYQbpTQW4ZQlS8r5kH4suSRmg2++3JN10x1PaAmEkmtYlEdeGpJEM6kOuCqCR22oSujj5IV2HdT0zj5prLKTjXFAPjdQlyq7xIBxAQP5yMczG4VxAKw0n6ilZ2QBce2pLulkuxxqnoIzFfgqyqjil9S1VNwBrFmeyeops8yOjZUybZdfS8CuaTIJumzs5tODaNtLpFDQ/PcJGweLhmeL1nB0KqiUDScsiUVD89Di3HtrKtSULw3RLiygZD+7sF8JTObgYsrGvDNUFRGl1iy0Ll1YkUc2aJYMog920I8qW6YDCg1Mqk0JHJFKXkbgbRreI+qpYNOZHrVcDUba7pjsphSJNtK6upgRNAVoOS0mugBeN4bIZgHhuPZ/s1ENaX6KsVr+YNrh1Nb7ipR0PE5zbNRegCbrHRUw6Yf07dLBJl1f8KB9as2V1nNqAsl62LBBhehwalerkHmB1JFIEZKSEusdl5JQj1nJlHXSCF342gJ9CYGrXelknJIXqVP8sD+qtplCR3XH2qfKq0ygMp+KnVkKxNlZ8m2YkIlVMiCnXUwl7qznBKSvQz3m3Pt6oQbXO5b5FixCh/fHxUQW/AEcK6zCNqKQnL9sywqmKuwvqSYzT/aPVNNpVyhvRW21aqciCsjdWvBwILUvh5VyCzbWoC1pJjJ680CWsl+udKB6T5RwG1mlohnlpbg47iz5U9ha0FGtmRLFYBtO99y97Ap0z+ZDTAog6kSLZsMHg/IFkkgp6CpvU2U0cYVSdnmkjwBdOmXbxTWNWzuIbipMioVxEckZEoahSOiy2M3K0jcC1LhVDwaqG0ZvkcWqCnrG4GIxykrqlbWdw6LQyBaZR8HmLRIhQWsHswD42ZXVLNkf9l+FlW0HVQ2lwFsC/Z1FdzlQR0KaPfo+Fdfu+/dwVRICu1CGR7AEIiAhc+AZUF0kOBaPxmUqg4i64vQnU4nFDYJ9Nz+1fVXveH9qmr+kPILx8oKcRV/BFbxbE0JMT0kSD4w6L/lNY8ocsqagVdU3A3MjxhxcGuqzsPH4irpaow1q6OyrVjvp9Npc59E91LldboYVzJWdimWfAW2SNEKcDaX2FmBLLA/uKxlmhh613Is1URQApbKfttwxL02q6Onx5pQxSbPojAg+v5hAnN6LHVRDXIsvKtRjiS0qJUyZTAXVbAK82ElFJWaQdVoqUC1Unt7BVaTQudM6SuqexjQJN4+0icaxv/utbKv83ETbT8H8gjcOKxOJmbUa6OOVXht3dFY6rHv9XoNzFLceEA1o8+pKm0LAHPHZ2rYKjFq0hfZFixsqHJgD3eD5n+U0kb1mFjXkn2lvMSSOsNE/CdIAKF0Sytq6urOHUN5gwg4GZosgbmggM5ucra2qrS2Ig1cbiBBcxYzgzUDNLCvL8GbZXNp6ORy3LmS+Kk83zRIAK6A1ioKa2I9NapIuiUFdfC9766PFZUtqUr6KbWk+zZU1a/ZrIXEztrjTOfz7hwKziCeXIaraHtbZIMz+2pGgazCmw4qWAFvEdhodYp0Xq0pV7G1YWYWbO4qhGq42+Z8BYtrLWvluNPpZAeaFFS1vubPgbgxsqcpnAaszBovKaFoDQ8BGtjfUOl4NAG2nmQV04feJgumvX2fsrQEWZghL0JnVdYkn3DOZIeRN86RqPWCmsvGVqEMRnwxQAxwS8EMYo3IzmY2+BCcLp4MKiuyuhImamlbZFcNoNl7tp+RHd18ZjQIRKyXdFRhN98/hyKqwXWNo7O1wiaXoHN108REZZWEq6grnIfjzeg8jdRf1XEL4kkXa5bBjKxoKaljBjeHlVxQ4GaycpW4lDOAKtnTxHAtOfzOtZwHAM7sqVXkV6yu6kap1nHkXKqWF/4XHqjenNKqBjpR3l1ch3Ejg1+EsgdQhsdG0B4FM9sWAVWpuAyiwTPleZxt9VyZVS2qXfReWqTAilpr9ApoWTjxymit7NwV4JTriZyOA9B0k7HFfULourmKYHVnRQvqGL5HMHdqFcR2qWpmcK6eTwx2dipWrviDilr+fKWq3OWRWdHKwA4eu8wjchbeRzFilqjjZN3ufCpfkJ0/scVpnYk6L0PI77lxdWCZ87WiWm7B/AGquQSnujGKsB8CJmiJq8q1pKIVWyqOiTK66r18BN8r74/AE71fdC3yPS2MxdOpnE1tlVxD9JmVOoggN+r4PjAXVFPa3Eg5jVJGFVUGNolH20GVrUB7BOySWq6WqYQdWR92pcFMYMwckbSgCKCqD67DiiWu1g8MQC9ByfcFqW1L+jL714qNCuznoSxt0da2gtWN1G8F0BK0NN0nuimelUF9dIdAfjO44UT3CjQLoUeLHJFTO3gmpRuIIOvwBQCbqNeo3qtZ9iF6xVK13GRlo4zqimq+CGdTiR1uRY8oqgE02hZBa79kZXPMquxRHKla2saZWN4mRqZUj0vLCKhkjKnqOQHNuSZVJoKvAqS1wpEquvWDC1B2ypwrCPsRMEPVTODMLJMDv6qeKXwi2JYV5Sq4qKyvgGsHCLiuj2jR59V8gMqSJ2FJZRXEHVRHj3sFPrct6OpqlW1GpatQdt0GvwfM6n63InsGVFhJGaBqgqqIV6IsXllZgySPq4R3bnt3wi5cv+cN2yqQLW1T95KYVsWWtKk4cB9W53WQQflQYR6Wl4HaJZjvVE0D5yvq+RKgZCs5qdBEP5sD94cAvQLlSgNaSMAtHx88BuNQ41zdFsX30zKbcs0MLD/ihkpQzl0wiTqKLTfbKmCmyYICnK0IbaieC4CG9iSyLQ7cIMGQwau6TKoq60Apl3WN40LZpca1CKKK9VQyyIEn8w0F8F6CL2h8o3ixGwC7s7EWzCOqmcApYxYD4jsAzVS0sl2t98pA7vrKophCVSonbYpgH6mvSn24pTBV4sdtV3BtMq5k82y+IADvUJ0uAlkCVTxIaPm+UNu/qkV4F1TzHXCGrXIAqItBKypqK99VtAOVs64O4ObX7pHLVCpYHcRmwvLR7TvYAKBBN58LGVzDuFz+hQbWgncQyCZAk+VbsPSouf93261iZgmfCpwRbAvqmSqriU2PwhjaoOyYqtIegVXViTsmyta6bGySpY3gyRrpIyAeaWDDxtpsXwKyalMDKNP7YBXMqEskUsi2uC8FNAPxAKTVfT1o6VzM0E0jF+1rWcUuHvdyg7vgoFplX8HpvHpMCOMRUPHzZkInsqlFKNX/EIO52E0SxSzOwob2VmRLW5D1XIU0rbgM1AzWgyC7fe8G7xUAK/taEBat7luqtyP7EmsaJQOj5F+mrnZfCuYCfBUAWwShyd6pMY/vAHG1UqOYpbI/gy5T0CMKm+UO3gFuC85dgfDVeguPDfITrIBLsLrcgdh3CFgFZjaKJ4Iv3F8ANEqvuxR1tVKOgLoCa1jxboBAkj6v7j/icFbA7f4rfRnQDLRViG13i0vqBQrYVqBbADZT0ZpiHoSzvQpopKIFS3sE1HfBWlHXd0H7LnArqvougMtljHBgZnh3Eoz/BKjLML4Z2Aq0+hEJr9jaVUBbvNzCIUiroC7AWmmFw4o5AK3MtB5VypZMSFgs05JyGVwlwBqsEGAAa2ZU1CjUexXGsE4rKriilBvFzOKKo3AuAroE6QFQU3u8YpNXwS5k+1TZt5UrwouN4KiUEw+k3ZWDp1RXHNRqXb21Ts39945yZSg3VnZFNQ9CF3XeZyr5DgBXKiwCMa2MxeTDYXgP1Fsf9QNKZc0k81RJk3r6EQ3rCmBVyLL75EjZ1pIVDHoFtiOAHoB0BdTVylqBsKKKS+AeBXJVLY+CXASuGvO/Auq7GuEjDfGKg1oKa1z/dmmi9I9SUGNhl0AtfulHAawoYrnSkmNXAVuGEhrEVXvUF+A5Ct2PqNOjDetyna4CmeUolmeXLN4Aq7C5Sj10Q7yjgl+t6CNxSRHmI5X+CpwreYB3Qfdqna4q21KdBuc4GoZsn49ZOOiVinwHqK9WzjvgeweEh2AU5+vtxZ9Cd9Wqkh49V18E5oj6vVyn0RStAyGIO5edXRKd5B0VGVXq2yr3xYp+5Ut+C4QJ4P1N339pQMjRejj4vb/Dcr6rQc3O/0rjmtZpeYCBiCHfCemRbNhbK/pNUPc3wfKy5f2D7OlL3/uPhve/oU4T0F8f+VNM2vyoiv0jK+KHQfdHq+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg==)}.color-picker .cp-add-color-button-class{position:absolute;display:inline;padding:0;margin:3px -3px;border:0;cursor:pointer;background:transparent}.color-picker .cp-add-color-button-class:hover{text-decoration:underline}.color-picker .cp-add-color-button-class:disabled{cursor:not-allowed;color:#999}.color-picker .cp-add-color-button-class:disabled:hover{text-decoration:none}.color-picker .cp-remove-color-button-class{position:absolute;top:-5px;right:-5px;display:block;width:10px;height:10px;border-radius:50%;cursor:pointer;text-align:center;background:#fff;box-shadow:1px 1px 5px #333}.color-picker .cp-remove-color-button-class:before{content:"x";position:relative;bottom:3.5px;display:inline-block;font-size:10px}.color-picker .eyedropper-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);fill:#fff;mix-blend-mode:exclusion}\n'],encapsulation:2}),o})(),oye=(()=>{class o{constructor(e,r,n,i,a,s){this.injector=e,this.cfr=r,this.appRef=n,this.vcRef=i,this.elRef=a,this._service=s,this.dialogCreated=!1,this.ignoreChanges=!1,this.viewAttachedToAppRef=!1,this.cpWidth="230px",this.cpHeight="auto",this.cpToggle=!1,this.cpDisabled=!1,this.cpIgnoredElements=[],this.cpFallbackColor="",this.cpColorMode="color",this.cpCmykEnabled=!1,this.cpOutputFormat="auto",this.cpAlphaChannel="enabled",this.cpDisableInput=!1,this.cpDialogDisplay="popup",this.cpSaveClickOutside=!0,this.cpCloseClickOutside=!0,this.cpUseRootViewContainer=!1,this.cpPosition="auto",this.cpPositionOffset="0%",this.cpPositionRelativeToArrow=!1,this.cpOKButton=!1,this.cpOKButtonText="OK",this.cpOKButtonClass="cp-ok-button-class",this.cpCancelButton=!1,this.cpCancelButtonText="Cancel",this.cpCancelButtonClass="cp-cancel-button-class",this.cpEyeDropper=!1,this.cpPresetLabel="Preset colors",this.cpPresetColorsClass="cp-preset-colors-class",this.cpMaxPresetColorsLength=6,this.cpPresetEmptyMessage="No colors added",this.cpPresetEmptyMessageClass="preset-empty-message",this.cpAddColorButton=!1,this.cpAddColorButtonText="Add color",this.cpAddColorButtonClass="cp-add-color-button-class",this.cpRemoveColorButtonClass="cp-remove-color-button-class",this.cpInputChange=new ee(!0),this.cpToggleChange=new ee(!0),this.cpSliderChange=new ee(!0),this.cpSliderDragEnd=new ee(!0),this.cpSliderDragStart=new ee(!0),this.colorPickerOpen=new ee(!0),this.colorPickerClose=new ee(!0),this.colorPickerCancel=new ee(!0),this.colorPickerSelect=new ee(!0),this.colorPickerChange=new ee(!1),this.cpCmykColorChange=new ee(!0),this.cpPresetColorsChange=new ee(!0)}handleClick(){this.inputFocus()}handleFocus(){this.inputFocus()}handleInput(e){this.inputChange(e)}ngOnDestroy(){null!=this.cmpRef&&(this.viewAttachedToAppRef&&this.appRef.detachView(this.cmpRef.hostView),this.cmpRef.destroy(),this.cmpRef=null,this.dialog=null)}ngOnChanges(e){e.cpToggle&&!this.cpDisabled&&(e.cpToggle.currentValue?this.openDialog():e.cpToggle.currentValue||this.closeDialog()),e.colorPicker&&(this.dialog&&!this.ignoreChanges&&("inline"===this.cpDialogDisplay&&this.dialog.setInitialColor(e.colorPicker.currentValue),this.dialog.setColorFromString(e.colorPicker.currentValue,!1),this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay&&this.cmpRef.changeDetectorRef.detectChanges()),this.ignoreChanges=!1),(e.cpPresetLabel||e.cpPresetColors)&&this.dialog&&this.dialog.setPresetConfig(this.cpPresetLabel,this.cpPresetColors)}openDialog(){if(this.dialogCreated)this.dialog&&this.dialog.openDialog(this.colorPicker);else{let e=this.vcRef;if(this.dialogCreated=!0,this.viewAttachedToAppRef=!1,this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay){const i=this.injector.get(this.appRef.componentTypes[0],Zr.NULL);i!==Zr.NULL?e=i.vcRef||i.viewContainerRef||this.vcRef:this.viewAttachedToAppRef=!0}const r=this.cfr.resolveComponentFactory(tye);if(this.viewAttachedToAppRef)this.cmpRef=r.create(this.injector),this.appRef.attachView(this.cmpRef.hostView),document.body.appendChild(this.cmpRef.hostView.rootNodes[0]);else{const n=Zr.create({providers:[],parent:e.injector});this.cmpRef=e.createComponent(r,0,n,[])}this.cmpRef.instance.setupDialog(this,this.elRef,this.colorPicker,this.cpWidth,this.cpHeight,this.cpDialogDisplay,this.cpFallbackColor,this.cpColorMode,this.cpCmykEnabled,this.cpAlphaChannel,this.cpOutputFormat,this.cpDisableInput,this.cpIgnoredElements,this.cpSaveClickOutside,this.cpCloseClickOutside,this.cpUseRootViewContainer,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpPresetLabel,this.cpPresetColors,this.cpPresetColorsClass,this.cpMaxPresetColorsLength,this.cpPresetEmptyMessage,this.cpPresetEmptyMessageClass,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpAddColorButton,this.cpAddColorButtonClass,this.cpAddColorButtonText,this.cpRemoveColorButtonClass,this.cpEyeDropper,this.elRef,this.cpExtraTemplate),this.dialog=this.cmpRef.instance,this.vcRef!==e&&this.cmpRef.changeDetectorRef.detectChanges()}}closeDialog(){this.dialog&&"popup"===this.cpDialogDisplay&&this.dialog.closeDialog()}cmykChanged(e){this.cpCmykColorChange.emit(e)}stateChanged(e){this.cpToggleChange.emit(e),e?this.colorPickerOpen.emit(this.colorPicker):this.colorPickerClose.emit(this.colorPicker)}colorChanged(e,r=!0){this.ignoreChanges=r,this.colorPickerChange.emit(e)}colorSelected(e){this.colorPickerSelect.emit(e)}colorCanceled(){this.colorPickerCancel.emit()}inputFocus(){const e=this.elRef.nativeElement,r=this.cpIgnoredElements.filter(n=>n===e);!this.cpDisabled&&!r.length&&(typeof document<"u"&&e===document.activeElement?this.openDialog():this.dialog&&this.dialog.show?this.closeDialog():this.openDialog())}inputChange(e){this.dialog?this.dialog.setColorFromString(e.target.value,!0):(this.colorPicker=e.target.value,this.colorPickerChange.emit(this.colorPicker))}inputChanged(e){this.cpInputChange.emit(e)}sliderChanged(e){this.cpSliderChange.emit(e)}sliderDragEnd(e){this.cpSliderDragEnd.emit(e)}sliderDragStart(e){this.cpSliderDragStart.emit(e)}presetColorsChanged(e){this.cpPresetColorsChange.emit(e)}}return o.\u0275fac=function(e){return new(e||o)(O(Zr),O(nc),O(hc),O(Fn),O(dt),O(tk))},o.\u0275dir=Se({type:o,selectors:[["","colorPicker",""]],hostBindings:function(e,r){1&e&&T("click",function(){return r.handleClick()})("focus",function(){return r.handleFocus()})("input",function(i){return r.handleInput(i)})},inputs:{colorPicker:"colorPicker",cpWidth:"cpWidth",cpHeight:"cpHeight",cpToggle:"cpToggle",cpDisabled:"cpDisabled",cpIgnoredElements:"cpIgnoredElements",cpFallbackColor:"cpFallbackColor",cpColorMode:"cpColorMode",cpCmykEnabled:"cpCmykEnabled",cpOutputFormat:"cpOutputFormat",cpAlphaChannel:"cpAlphaChannel",cpDisableInput:"cpDisableInput",cpDialogDisplay:"cpDialogDisplay",cpSaveClickOutside:"cpSaveClickOutside",cpCloseClickOutside:"cpCloseClickOutside",cpUseRootViewContainer:"cpUseRootViewContainer",cpPosition:"cpPosition",cpPositionOffset:"cpPositionOffset",cpPositionRelativeToArrow:"cpPositionRelativeToArrow",cpOKButton:"cpOKButton",cpOKButtonText:"cpOKButtonText",cpOKButtonClass:"cpOKButtonClass",cpCancelButton:"cpCancelButton",cpCancelButtonText:"cpCancelButtonText",cpCancelButtonClass:"cpCancelButtonClass",cpEyeDropper:"cpEyeDropper",cpPresetLabel:"cpPresetLabel",cpPresetColors:"cpPresetColors",cpPresetColorsClass:"cpPresetColorsClass",cpMaxPresetColorsLength:"cpMaxPresetColorsLength",cpPresetEmptyMessage:"cpPresetEmptyMessage",cpPresetEmptyMessageClass:"cpPresetEmptyMessageClass",cpAddColorButton:"cpAddColorButton",cpAddColorButtonText:"cpAddColorButtonText",cpAddColorButtonClass:"cpAddColorButtonClass",cpRemoveColorButtonClass:"cpRemoveColorButtonClass",cpExtraTemplate:"cpExtraTemplate"},outputs:{cpInputChange:"cpInputChange",cpToggleChange:"cpToggleChange",cpSliderChange:"cpSliderChange",cpSliderDragEnd:"cpSliderDragEnd",cpSliderDragStart:"cpSliderDragStart",colorPickerOpen:"colorPickerOpen",colorPickerClose:"colorPickerClose",colorPickerCancel:"colorPickerCancel",colorPickerSelect:"colorPickerSelect",colorPickerChange:"colorPickerChange",cpCmykColorChange:"cpCmykColorChange",cpPresetColorsChange:"cpPresetColorsChange"},exportAs:["ngxColorPicker"],features:[Lr]}),o})(),KB=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[tk],imports:[Nr]}),o})();function nye(o,t){1&o&&(d(0,"div",6),P(1,"span",7),u()),2&o&&Re("data-target",m().popupId)}let iye=(()=>{class o extends Ct{constructor(){super(),this.fgColor="#ffffff"}ngOnInit(){super.ngOnInit(),this.field.value&&(this.fgColor=this.invertColor(this.field.value))}invertColor(e){if(0===e.indexOf("#")&&(e=e.slice(1)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),6!==e.length)throw new Error(`Invalid HEX color. [${e}]`);var r=(255-parseInt(e.slice(0,2),16)).toString(16),n=(255-parseInt(e.slice(2,4),16)).toString(16),i=(255-parseInt(e.slice(4,6),16)).toString(16);return"#"+this.padZero(r)+this.padZero(n)+this.padZero(i)}padZero(e,r=2){return(new Array(r).join("0")+e).slice(-r)}colorChanged(e){this.textChanged(e),this.fgColor=this.invertColor(e)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-color-picker"]],features:[Te],decls:6,vars:24,consts:[[3,"name","label","isRequired"],[1,"input-group"],[2,"width","120px",3,"name","id","ngModel","type","colorPicker","disabled","placeholder","ngModelChange","change","colorPickerChange","input","focus","blur"],["class","input-group-append","data-toggle","modal","style","cursor:pointer",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["data-toggle","modal",1,"input-group-append",2,"cursor","pointer"],[1,"input-group-text","fa","fa-question",2,"font-size","12pt","color","#A0A0A0"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1)(2,"input",2),T("ngModelChange",function(i){return r.field.value=i})("change",function(i){return r.changed(i)})("colorPickerChange",function(i){return r.field.value=i})("colorPickerChange",function(i){return r.colorChanged(i)})("input",function(i){return r.textChanged(i)})("focus",function(i){return r.onFocus(i)})("blur",function(i){return r.onBlur(i)}),u(),b(3,nye,2,1,"div",3),u(),P(4,"app-form-field-validation-section",4)(5,"app-form-field-help",5)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),Tt("color",r.fgColor)("background-color",r.field.isUserEditable?"white":"#EEEEEE")("background",r.field.value),Ne("name",r.field.name),Ne("id",r.field.name),Ne("placeholder",r.field.watermark),g("ngModel",r.field.value)("type",r.inputType)("colorPicker",r.field.value)("disabled",!r.field.isUserEditable),p(1),g("ngIf",r.field.help),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,mt,It,ve,oye,rr,or,ar]}),o})();function aye(o,t){if(1&o){const e=j();d(0,"span",8),T("click",function(){return F(e),S(m().addChildItem())}),P(1,"i",9),v(2,"Add"),u()}}function sye(o,t){1&o&&P(0,"i",10),2&o&&Re("data-target",m().popupId)}function lye(o,t){if(1&o){const e=j();d(0,"i",11),T("click",function(){return F(e),S(m().expanded=!0)}),u()}}function cye(o,t){if(1&o){const e=j();d(0,"i",12),T("click",function(){return F(e),S(m().expanded=!1)}),u()}}function dye(o,t){if(1&o&&(d(0,"td",2),v(1),u()),2&o){const e=t.$implicit;p(1),ce(" ",e," ")}}function uye(o,t){if(1&o){const e=j();d(0,"i",22),T("click",function(n){F(e);const i=m().$implicit;return m(2).removeClick(i),S(n.stopPropagation())}),u()}}function pye(o,t){1&o&&(d(0,"i",23),v(1,"\xa0\xa0\xa0\xa0"),u())}function hye(o,t){if(1&o){const e=j();d(0,"i",24),T("click",function(n){F(e);const i=m().$implicit;return m(2).moveDown(i),S(n.stopPropagation())}),u()}}function gye(o,t){if(1&o){const e=j();d(0,"i",25),T("click",function(n){F(e);const i=m().$implicit;return m(2).moveUp(i),S(n.stopPropagation())}),u()}}function mye(o,t){if(1&o){const e=j();d(0,"tr",15),T("click",function(){const i=F(e).$implicit;return S(m(2).selected(i))}),b(1,dye,2,1,"td",16),d(2,"td",17),b(3,uye,1,0,"i",18),b(4,pye,2,0,"i",19),b(5,hye,1,0,"i",20),b(6,gye,1,0,"i",21),u()()}if(2&o){const e=t.$implicit,r=t.index,n=m(2);g("title",n.getItemKey(e,"key: ")),p(1),g("ngForOf",n.getDisplayValues(e,n.field)),p(2),g("ngIf",n.showRemove&&n.field.allowAddChild&&n.field.canAddRows),p(1),g("ngIf",n.field.value.length==r+1),p(1),g("ngIf",r0)}}function fye(o,t){if(1&o&&(d(0,"div")(1,"table",13),b(2,mye,7,6,"tr",14),u()()),2&o){const e=m();p(2),g("ngForOf",e.field.value)}}function _ye(o,t){1&o&&(d(0,"div"),v(1,"-no items- "),u())}let vye=(()=>{class o extends Ct{constructor(e,r){super(),this.modalComponent=e,this.nuviotClient=r,this.showRemove=!0}addChildItem(){var e=this;return E(function*(){if(e.field.factoryUrl){let r=e.field.factoryUrl.replace("{id}",e.model.id),n=yield e.nuviotClient.getFormResponse(r);e.field.addChildItem(n)}})()}selected(e){var r=this;return E(function*(){if(e.id){let n=r.field.factoryUrl.replace("{id}",r.model.id);const i=yield r.nuviotClient.getFormResponse(n);i.model=e,i.isEditing=!0,i.parent=r.form,r.field.childItemSelected(i,e)}})()}moveUp(e){if(this.field.value){let r=this.field.value.indexOf(e);r>0&&(this.field.value[r]=this.field.value[r-1],this.field.value[r-1]=e,this.field.isDirty=!0,this.field.propertyChanged?.(this.field))}}moveDown(e){if(this.field.value){let r=this.field.value.indexOf(e);r${e.name??e.text} will be PERMANENTLY removed.`,n.contentIsHtml=!0,n.confirmationResult.subscribe(function(){var i=E(function*(a){if(a){let s=r.field.value.indexOf(e);s>=0&&(r.isDirty=!0,r.field.isDirty=!0,r.field.value.splice(s,1),r.field.propertyChanged?.(r.field),r.field.childItemRemoved?.(r.form))}});return function(a){return i.apply(this,arguments)}}())}getDisplayValues(e,r){if(r.childItemName)return[e[r.childItemName]];if(r.childListDisplayMembers){let n=[],i=r.childListDisplayMembers;for(let a of i){let s=a.split(".");if(e){let l=e;for(let c of s)c=c.trim(),l&&("Text"==c&&(c="text"),l=l[c]);n.push(l)}}return n}if(r.childListDisplayMember){let n=r.childListDisplayMember.split(".");for(let i of n)if(!(e=e[i]))return["-"];return[e]}return[e.name??e.text]}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(Ft))},o.\u0275cmp=ne({type:o,selectors:[["app-child-list"]],features:[Te],decls:12,vars:8,consts:[[1,"panel"],[2,"display","flex","padding","10px"],[2,"flex-grow","1"],["class","action",3,"click",4,"ngIf"],["data-toggle","modal","class","fas fa-question action",4,"ngIf"],["class","fa-regular fa-square-chevron-down action",3,"click",4,"ngIf"],["class","fa-regular fa-square-chevron-up action",3,"click",4,"ngIf"],[4,"ngIf"],[1,"action",3,"click"],[1,"fas","fa-plus"],["data-toggle","modal",1,"fas","fa-question","action"],[1,"fa-regular","fa-square-chevron-down","action",3,"click"],[1,"fa-regular","fa-square-chevron-up","action",3,"click"],[1,"table"],[3,"title","click",4,"ngFor","ngForOf"],[3,"title","click"],["style","flex-grow: 1;",4,"ngFor","ngForOf"],["width","130"],["class","fa fa-trash action-danger",3,"click",4,"ngIf"],["class","action",4,"ngIf"],["class","far fa-chevron-down action",3,"click",4,"ngIf"],["class","far fa-chevron-up action",3,"click",4,"ngIf"],[1,"fa","fa-trash","action-danger",3,"click"],[1,"action"],[1,"far","fa-chevron-down","action",3,"click"],[1,"far","fa-chevron-up","action",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2)(3,"label"),v(4),u()(),d(5,"div"),b(6,aye,3,0,"span",3),b(7,sye,1,1,"i",4),b(8,lye,1,0,"i",5),b(9,cye,1,0,"i",6),u()(),b(10,fye,3,1,"div",7),b(11,_ye,2,0,"div",7),u()),2&e&&(p(4),Eo(" ",r.field.label," (",r.field.value.length,")"),p(2),g("ngIf",r.field.canAddRows),p(1),g("ngIf",r.field.help),p(1),g("ngIf",!r.expanded),p(1),g("ngIf",r.expanded),p(1),g("ngIf",(null==r.field?null:r.field.value)&&r.field.value.length>0&&r.expanded),p(1),g("ngIf",0==r.field.value.length&&r.expanded))},dependencies:[gt,ve],styles:[".section-header[_ngcontent-%COMP%]{font-size:20pt;margin:14pt}.section-header[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{float:right}ol[_ngcontent-%COMP%]{list-style:none;color:var(--color-fg);padding:0;margin:0}li[_ngcontent-%COMP%]{padding-top:14px;padding-bottom:14px;padding-left:10px;border-bottom:1px solid var(--color-gray-80);font-size:12pt}li[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{float:right;margin-right:14px;vertical-align:middle}li[_ngcontent-%COMP%]:hover{background-color:var(--color-bg-menu-active);color:var(--color-fg-panel-header-active);cursor:pointer}.panel[_ngcontent-%COMP%]{background-color:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:8px;-webkit-box-shadow:0 4px 8px 0 rgba(128,128,128,.2),0 6px 20px 0 rgba(128,128,128,.19);-webkit-box-shadow-box-shadow:0 4px 8px 0 rgba(128,128,128,.2),0 6px 20px 0 rgba(128,128,128,.19)}tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--color-border-panel);color:var(--color-fg)}tr[_ngcontent-%COMP%]:hover{background-color:var(--color-bg-menu-active);color:var(--color-fg-panel-header-active);cursor:pointer}td[_ngcontent-%COMP%]:first-child{padding-left:14px}"]}),o})();const yye=["linkPicker"];function bye(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m().isEditorVisible=!0)}),P(1,"i",11),v(2," Edit "),u()}}function Cye(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m().showSharedContentModal())}),P(1,"i",12),v(2," Shared Content "),u()}}function wye(o,t){if(1&o){const e=j();d(0,"div",10),T("click",function(){return F(e),S(m().isEditorVisible=!1)}),P(1,"i",13),v(2," Done "),u()}}function xye(o,t){1&o&&(d(0,"h6"),v(1,"Linked Content - Ready Only"),u())}function Dye(o,t){if(1&o&&(d(0,"div",14),b(1,xye,2,0,"h6",15),P(2,"div",16),xr(3,"preformattedHtml"),xr(4,"async"),xr(5,"sharedContent"),u()),2&o){const e=m();p(1),g("ngIf",e.field.value&&e.field.value.startsWith("sharedcontentid")),p(1),g("innerHtml",Dr(3,2,Dr(4,4,Dr(5,6,e.field.value))),yn)}}function Mye(o,t){if(1&o){const e=j();d(0,"div",17),T("click",function(){return F(e),S(m().isEditorVisible=!0)}),d(1,"span",18),P(2,"i",11),v(3," Add "),u()()}}function kye(o,t){if(1&o){const e=j();d(0,"editor",19),T("ngModelChange",function(n){return F(e),S(m().field.value=n)}),u()}if(2&o){const e=m();g("init",e.getEditorOptions())("ngModel",e.field.value)}}function Eye(o,t){if(1&o&&(d(0,"option",26),v(1),u()),2&o){const e=t.$implicit;g("value",e),p(1),ae(e)}}function Tye(o,t){if(1&o){const e=j();d(0,"div",23)(1,"span"),v(2,"Category"),u(),d(3,"select",24),T("ngModelChange",function(n){return F(e),S(m(2).selectedCategory=n)})("change",function(){return F(e),S(m(2).filterByCategory())}),b(4,Eye,2,2,"option",25),u()()}if(2&o){const e=m(2);p(3),g("ngModel",e.selectedCategory),p(1),g("ngForOf",e.categories)}}function Fye(o,t){if(1&o){const e=j();d(0,"div")(1,"div",27)(2,"label",28),v(3,"Name"),u(),d(4,"input",29),T("ngModelChange",function(n){return F(e),S(m(2).linkName=n)}),u()(),d(5,"div",27)(6,"label",28),v(7,"Link"),u(),d(8,"input",30),T("ngModelChange",function(n){return F(e),S(m(2).linkUrl=n)}),u()(),d(9,"div",27)(10,"label",28),v(11,"Open in New Window"),u(),P(12,"br"),d(13,"input",31),T("ngModelChange",function(n){return F(e),S(m(2).openInNewTab=n)}),u()(),d(14,"div",27)(15,"label",28),v(16,"Add Tracking Link"),u(),P(17,"br"),d(18,"input",32),T("ngModelChange",function(n){return F(e),S(m(2).addTrackingLink=n)})("change",function(){return F(e),S(m(2).addTrackingLinkChanged())}),u()(),d(19,"div",33)(20,"button",34),T("click",function(){return F(e),S(m(2).insertLink())}),P(21,"i",35),v(22," Insert Link "),u()()()}if(2&o){const e=m(2);p(4),g("ngModel",e.linkName),p(4),g("ngModel",e.linkUrl),p(5),g("ngModel",e.openInNewTab),p(5),g("ngModel",e.addTrackingLink)}}function Sye(o,t){if(1&o){const e=j();d(0,"li",40)(1,"div",17),T("click",function(){const i=F(e).$implicit;return S(m(4).insertFaqLink(i))}),d(2,"h6"),v(3),u(),P(4,"span",41),u()()}if(2&o){const e=t.$implicit;p(3),ae(e.name),p(1),g("innerHTML",e.question,yn)}}function Pye(o,t){1&o&&(d(0,"li"),v(1,"No FAQs found"),u())}function Iye(o,t){if(1&o&&(d(0,"ol",38),b(1,Sye,5,2,"li",39),b(2,Pye,2,0,"li",15),u()),2&o){const e=m(3);p(1),g("ngForOf",e.filtererdFaqs),p(1),g("ngIf",0===e.filtererdFaqs.length)}}function Aye(o,t){if(1&o){const e=j();d(0,"li",40)(1,"div",17),T("click",function(){const i=F(e).$implicit;return S(m(4).selectGlossary(i))}),d(2,"h6"),v(3),u(),P(4,"span",41),u()()}if(2&o){const e=t.$implicit;p(3),ae(e.name),p(1),g("innerHTML",e.description,yn)}}function Oye(o,t){1&o&&(d(0,"li"),v(1,"No glossaries found"),u())}function Rye(o,t){if(1&o&&(d(0,"ol",38),b(1,Aye,5,2,"li",39),b(2,Oye,2,0,"li",15),u()),2&o){const e=m(3);p(1),g("ngForOf",e.filteredGlossaries),p(1),g("ngIf",0===e.filteredGlossaries.length)}}function Lye(o,t){if(1&o){const e=j();d(0,"li",40)(1,"div",17),T("click",function(){const i=F(e).$implicit;return S(m(4).insertGlossaryLink(i))}),d(2,"h6"),v(3),u(),P(4,"span",41),u()()}if(2&o){const e=t.$implicit;p(3),ae(e.name),p(1),g("innerHTML",e.definition,yn)}}function Bye(o,t){1&o&&(d(0,"li"),v(1,"No terms found"),u())}function Nye(o,t){if(1&o&&(d(0,"ol",38),b(1,Lye,5,2,"li",39),b(2,Bye,2,0,"li",15),u()),2&o){const e=m(3);p(1),g("ngForOf",e.terms),p(1),g("ngIf",0===e.terms.length)}}function Hye(o,t){if(1&o){const e=j();d(0,"li",40)(1,"div",17),T("click",function(){const i=F(e).$implicit;return S(m(4).insertLandingPageLink(i))}),d(2,"h6"),v(3),u(),P(4,"span",41),u()()}if(2&o){const e=t.$implicit;p(3),ae(e.name),p(1),g("innerHTML",e.description,yn)}}function Vye(o,t){1&o&&(d(0,"li"),v(1,"No landing pages found"),u())}function $ye(o,t){if(1&o&&(d(0,"ol",38),b(1,Hye,5,2,"li",39),b(2,Vye,2,0,"li",15),u()),2&o){const e=m(3);p(1),g("ngForOf",e.filteredLandingPages),p(1),g("ngIf",0===e.filteredLandingPages.length)}}function zye(o,t){if(1&o){const e=j();d(0,"li",40)(1,"div",17),T("click",function(){const i=F(e).$implicit;return S(m(4).insertDownloadLink(i))}),d(2,"h6"),v(3),u(),P(4,"span",41),u()()}if(2&o){const e=t.$implicit;p(3),ae(e.name),p(1),g("innerHTML",e.description,yn)}}function Yye(o,t){1&o&&(d(0,"li"),v(1,"No downloads found"),u())}function jye(o,t){if(1&o&&(d(0,"ol",38),b(1,zye,5,2,"li",39),b(2,Yye,2,0,"li",15),u()),2&o){const e=m(3);p(1),g("ngForOf",e.filteredDownloads),p(1),g("ngIf",0===e.filteredDownloads.length)}}function Uye(o,t){if(1&o){const e=j();d(0,"li",40)(1,"div",17),T("click",function(){const i=F(e).$implicit;return S(m(4).insertSiteContentLink(i))}),d(2,"h6"),v(3),u(),P(4,"span",41),u()()}if(2&o){const e=t.$implicit;p(3),ae(e.name),p(1),g("innerHTML",e.summary,yn)}}function Wye(o,t){1&o&&(d(0,"li"),v(1,"No site content found"),u())}function Gye(o,t){if(1&o&&(d(0,"ol",38),b(1,Uye,5,2,"li",39),b(2,Wye,2,0,"li",15),u()),2&o){const e=m(3);p(1),g("ngForOf",e.filteredSiteContentItems),p(1),g("ngIf",0===e.filteredSiteContentItems.length)}}function qye(o,t){if(1&o&&(d(0,"div",36),b(1,Iye,3,2,"ol",37),b(2,Rye,3,2,"ol",37),b(3,Nye,3,2,"ol",37),b(4,$ye,3,2,"ol",37),b(5,jye,3,2,"ol",37),b(6,Gye,3,2,"ol",37),u()),2&o){const e=m(2);p(1),g("ngIf",e.filtererdFaqs&&e.filtererdFaqs.length>0),p(1),g("ngIf",e.filteredGlossaries&&e.filteredGlossaries.length>0&&!e.terms),p(1),g("ngIf",e.terms),p(1),g("ngIf",e.filteredLandingPages),p(1),g("ngIf",e.filteredDownloads&&e.filteredDownloads.length>0),p(1),g("ngIf",e.filteredSiteContentItems&&e.filteredSiteContentItems.length>0)}}function Kye(o,t){if(1&o&&(d(0,"div",20)(1,"h4"),v(2),u(),b(3,Tye,5,2,"div",21),P(4,"hr"),b(5,Fye,23,4,"div",15),b(6,qye,7,6,"div",22),u()),2&o){const e=m();p(2),ae(e.linkPickerName),p(1),g("ngIf",e.categories&&e.categories.length>0),p(2),g("ngIf",!e.pickingLink),p(1),g("ngIf",e.pickingLink)}}let Zye=(()=>{class o extends Ct{constructor(e,r,n,i,a,s,l,c,h){super(),this.modalService=e,this.cms=r,this.userService=n,this.zone=i,this.cdr=a,this.siteContentService=s,this.glossaryService=l,this.businessService=c,this.sanitizer=h,this.addTrackingLink=!1,this.pickingLink=!1,this.openInNewTab=!0,this.isEditorVisible=!1}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){e().call(r);let n=yield r.userService.getCurrentOrg();r.orgNs=n.namespace,r.isEditorVisible=r.field.openByDefault})()}getEditorOptions(){let e=[];if(this.field.tags)for(let r of this.field.tags)e.push({title:r.title,value:r.tag});return{plugins:"lists link image table code help wordcount fullscreen autoresize charmap emoticons media mergetags",toolbar:"fullscreen undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | align lineheight | tinycomments | checklist numlist bullist indent outdent | emoticons charmap | removeforma",mergetags_list:e,mergetags_suffix:"]",mergetags_prefix:"[",min_height:400,menubar:"file edit view inert format tools table help custom",menu:{custom:{title:"Insert NuvIoT Objects",items:"sharedContent faqItem glossaryItem landingPageItem downloadableContentItem siteContentItem"}},setup:r=>{this.editor=r,r.ui.registry.addMenuItem("faqItem",{text:"Frequently Asked Question",onAction:()=>{this.zone.run(()=>{this.showLinkPicker("faqs")})}}),r.ui.registry.addMenuItem("glossaryItem",{text:"Glossary Term",onAction:()=>{this.zone.run(()=>{this.showLinkPicker("glossaries")})}}),r.ui.registry.addMenuItem("landingPageItem",{text:"Landing Page",onAction:()=>{this.zone.run(()=>{this.showLinkPicker("landingPages")})}}),r.ui.registry.addMenuItem("downloadableContentItem",{text:"Downloadable Content",onAction:()=>{this.zone.run(()=>{this.showLinkPicker("downloads")})}}),r.ui.registry.addMenuItem("siteContentItem",{text:"Site Content",onAction:()=>{this.zone.run(()=>{this.showLinkPicker("siteContent")})}})},branding:!1}}isStringEmpty(e){return null==e.value||!e.value||0==e.value.length}addLink(e,r){var n=window.location.hostname;n="localhost"==n?n="dev.nuviot.com":n,this.linkName=r,this.baseLinkUrl=`https://${n}${e}`,this.addTrackingLink=!0,this.linkUrl=`${this.baseLinkUrl}?m=~internalEmailId~`,this.pickingLink=!1}addTrackingLinkChanged(){this.linkUrl=this.addTrackingLink?`${this.baseLinkUrl}?m=~internalEmailId~`:this.baseLinkUrl}insertLink(){this.editor.execCommand("mceInsertContent",!1,`${this.linkName}`),this.currentModal.close()}insertProductLink(e){this.addLink(`/public/${this.orgNs}/product/${e.key}`,e.name)}insertProductPage(e){this.addLink(`/public/${this.orgNs}/product/${e.key}`,e.name)}insertFaqLink(e){this.addLink(`/public/${this.orgNs}/faq/${e.key}`,e.name)}insertGlossaryLink(e){this.addLink(`/public/${this.orgNs}/glossary/${this.selectedGlossary.key}/term/${e.key}`,e.name)}insertLandingPageLink(e){this.addLink(`/lp/${this.orgNs}/${e.key}`,e.name)}insertDownloadLink(e){this.addLink(`${this.orgNs}/${e.key}/download`,e.name)}insertSiteContentLink(e){this.addLink(`/public/${this.orgNs}/content/${e.categoryId}/${e.key}`,e.name)}showLinkPicker(e){var r=this;return E(function*(){switch(r.faqs=void 0,r.glossaries=void 0,r.landingPages=void 0,r.downloads=void 0,r.terms=void 0,r.siteContentItems=void 0,r.filteredSiteContentItems=void 0,r.filteredDownloads=void 0,r.filteredLandingPages=void 0,r.filtererdFaqs=void 0,r.filteredGlossaries=void 0,r.pickingLink=!0,console.log("showing link picker"),r.currentModal=r.modalService.open(r.linkPickerModal,{size:"lg",beforeDismiss:()=>!0}),console.log("showed link picker"),e){case"faqs":r.faqs=(yield r.cms.getFrequentlyAskedQuestions()).model,r.filtererdFaqs=Object.assign([],r.faqs),r.categories=r.faqs.filter(n=>n.category).map(n=>n.category).filter((n,i,a)=>a.indexOf(n)===i),r.categories.sort(),r.linkPickerName="FAQ Picker";break;case"product":r.linkPickerName="Product Picker";break;case"productpage":r.linkPickerName="Product Page Picker";break;case"glossaries":r.glossaries=(yield r.glossaryService.getGlossaries()).model,1==r.glossaries.length?yield r.selectGlossary(r.glossaries[0]):r.filteredGlossaries=Object.assign([],r.glossaries),r.categories=[],r.linkPickerName="Glossary Picker";break;case"landingPages":r.landingPages=(yield r.businessService.getLandingPages()).model,r.filteredLandingPages=Object.assign([],r.landingPages),r.categories=r.landingPages.filter(n=>n.category).map(n=>n.category).filter((n,i,a)=>a.indexOf(n)===i),r.categories.sort(),r.linkPickerName="Landing Page Picker",console.log("Landing pages picker set.");break;case"downloads":r.downloads=(yield r.cms.getContentDownloads()).model,r.filteredDownloads=Object.assign([],r.downloads),r.categories=r.downloads.filter(n=>n.category).map(n=>n.category).filter((n,i,a)=>a.indexOf(n)===i),r.categories.sort(),r.linkPickerName="Downloadable Content Picker";break;case"siteContent":r.siteContentItems=(yield r.siteContentService.getAllSiteContent()).model,r.filteredSiteContentItems=Object.assign([],r.siteContentItems),r.categories=r.siteContentItems.filter(n=>n.category).map(n=>n.category).filter((n,i,a)=>a.indexOf(n)===i),r.categories.sort(),r.linkPickerName="Site Content Picker"}r.linkType=e,r.selectedCategory="All",r.categories.length>0&&(r.categories.unshift("Uncategorized"),r.categories.unshift(r.selectedCategory)),console.log("All Done.")})()}selectGlossary(e){var r=this;return E(function*(){r.selectedGlossary=e;let n=yield r.glossaryService.getGlossary(e.id);r.terms=n.model.definitions,r.terms.sort((i,a)=>i.name.localeCompare(a.name))})()}filterByCategory(){switch(this.linkType){case"faqs":this.filtererdFaqs=this.faqs.filter(e=>e.category===this.selectedCategory||"All"===this.selectedCategory);break;case"landingPages":this.filteredLandingPages=this.landingPages.filter(e=>e.category===this.selectedCategory||"All"===this.selectedCategory);break;case"downloads":this.filteredDownloads=this.downloads.filter(e=>e.category===this.selectedCategory||"All"===this.selectedCategory)}}showSharedContentModal(){this.modalService.open(ek,{size:"lg",beforeDismiss:()=>!0}).componentInstance.field=this.field}aiContentEdit(){const e=this.modalService.open(jB,{size:"lg",beforeDismiss:()=>!0}).componentInstance;e.sourceContent=this.field.value,e.htmlContent=!0,e.form=this.form,e.request=this.field.aiChatPrompt,e.onApplyContent.subscribe(r=>{this.field.value=r})}transformHTML(e,r){let n="";return r&&r.length>=0&&(n=r),e&&0!==e.length?this.sanitizer.bypassSecurityTrustHtml(e):n}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(W1),O(uo),O(ct),O(Xr),O(M1),O(KM),O(wh),O(fc))},o.\u0275cmp=ne({type:o,selectors:[["app-html-editor"]],viewQuery:function(e,r){if(1&e&&Yt(yye,5),2&e){let n;ze(n=Ye())&&(r.linkPickerModal=n.first)}},inputs:{isEditorVisible:"isEditorVisible"},features:[Te],decls:13,vars:16,consts:[[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired","aiButton","ai"],["class","action",3,"click",4,"ngIf"],["class","html-preview",4,"ngIf"],[3,"click",4,"ngIf"],["apiKey","kjvrmckj7e2u9yuxwg3akvfp3rkybse6455b25ja0liuef9o",3,"init","ngModel","ngModelChange",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],["id","linkPicker","class","modal","tabindex","-1"],["linkPicker",""],[1,"action",3,"click"],[1,"fa","fas","fa-pencil-alt"],[1,"fa","fas","fa-copy"],[1,"fa","fas","fas","fa-arrow-left"],[1,"html-preview"],[4,"ngIf"],[3,"innerHtml"],[3,"click"],[1,"action"],["apiKey","kjvrmckj7e2u9yuxwg3akvfp3rkybse6455b25ja0liuef9o",3,"init","ngModel","ngModelChange"],[2,"margin","20px"],["style","margin-bottom: 10px;",4,"ngIf"],["style","max-height: 600px;overflow-y: auto;",4,"ngIf"],[2,"margin-bottom","10px"],[1,"form-select",3,"ngModel","ngModelChange","change"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"form-group"],["for","linkType"],["type","text","id","linkName","placeholder","Enter Name",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","linkType","placeholder","Enter URL or select from below",1,"form-control",3,"ngModel","ngModelChange"],["type","checkbox","id","openInNewTab",1,"form-check-input",3,"ngModel","ngModelChange"],["type","checkbox","id","addTrackingLink",1,"form-check-input",3,"ngModel","ngModelChange","change"],[2,"text-align","right"],[1,"btn","btn-primary",3,"click"],[1,"fa","fas","fa-link"],[2,"max-height","600px","overflow-y","auto"],["class","list-group",4,"ngIf"],[1,"list-group"],["class","list-group-item",4,"ngFor","ngForOf"],[1,"list-group-item"],[3,"innerHTML"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"app-form-field-label",2),T("ai",function(){return r.aiContentEdit()}),u()(),d(3,"div"),b(4,bye,3,0,"span",3),b(5,Cye,3,0,"span",3),u(),b(6,wye,3,0,"div",3),u(),b(7,Dye,6,8,"div",4),b(8,Mye,4,0,"div",5),b(9,kye,1,2,"editor",6),P(10,"app-form-field-validation-section",7),b(11,Kye,7,4,"ng-template",8,9,Sn)),2&e&&(p(2),g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired)("aiButton",!0),p(2),g("ngIf",!r.isEditorVisible&&r.field.value&&r.field.value.length>0),p(1),g("ngIf",r.field.sharedContentKey),p(1),g("ngIf",r.isEditorVisible),p(1),g("ngIf",!r.isEditorVisible&&r.field.value),p(1),g("ngIf",r.isStringEmpty(r.field)&&!r.isEditorVisible),p(1),g("ngIf",r.isEditorVisible),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors))},dependencies:[Qo,en,Ht,fl,No,mt,It,gt,ve,fu,or,ar,Vw,rM,n1],styles:[".html-preview[_ngcontent-%COMP%]{-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);-webkit-box-shadow-box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);background-color:var(--color-bg);border-radius:4px;padding:10px;border-color:gray;width:100%}"]}),o})();function Xye(o,t){if(1&o){const e=j();d(0,"span",11),T("click",function(){return F(e),S(m(3).addChildItem())}),P(1,"i",12),v(2,"Add"),u()}}function Jye(o,t){1&o&&P(0,"i",13),2&o&&Re("data-target",m(3).popupId)}function Qye(o,t){if(1&o){const e=j();d(0,"i",14),T("click",function(){return F(e),S(m(3).expanded=!0)}),u()}}function e1e(o,t){if(1&o){const e=j();d(0,"i",15),T("click",function(){return F(e),S(m(3).expanded=!1)}),u()}}function t1e(o,t){if(1&o&&(d(0,"div"),b(1,Xye,3,0,"span",7),b(2,Jye,1,1,"i",8),b(3,Qye,1,0,"i",9),b(4,e1e,1,0,"i",10),u()),2&o){const e=m(2);p(1),g("ngIf",e.field.allowAddChild&&e.field.canAddRows),p(1),g("ngIf",e.field.help),p(1),g("ngIf",!e.expanded),p(1),g("ngIf",e.expanded)}}function r1e(o,t){if(1&o&&(d(0,"div",5)(1,"div",6)(2,"label"),v(3),u()(),b(4,t1e,5,4,"div",2),u()),2&o){const e=m();p(3),Eo(" ",e.field.label," (",e.field.value.length,")"),p(1),g("ngIf",!e.editForm)}}function o1e(o,t){if(1&o&&(d(0,"td",6),v(1),u()),2&o){const e=t.$implicit;p(1),ce(" ",e," ")}}function n1e(o,t){if(1&o){const e=j();d(0,"i",25),T("click",function(n){F(e);const i=m().$implicit;return m(2).removeClick(i),S(n.stopPropagation())}),u()}}function i1e(o,t){1&o&&(d(0,"i",26),v(1,"\xa0\xa0\xa0\xa0"),u())}function a1e(o,t){if(1&o){const e=j();d(0,"i",27),T("click",function(n){F(e);const i=m().$implicit;return m(2).moveDown(i),S(n.stopPropagation())}),u()}}function s1e(o,t){if(1&o){const e=j();d(0,"i",28),T("click",function(n){F(e);const i=m().$implicit;return m(2).moveUp(i),S(n.stopPropagation())}),u()}}function l1e(o,t){if(1&o){const e=j();d(0,"tr",18),T("click",function(){const i=F(e).$implicit;return S(m(2).selected(i))}),b(1,o1e,2,1,"td",19),d(2,"td",20),b(3,n1e,1,0,"i",21),b(4,i1e,2,0,"i",22),b(5,a1e,1,0,"i",23),b(6,s1e,1,0,"i",24),u()()}if(2&o){const e=t.$implicit,r=t.index,n=m(2);g("title",n.getItemKey(e,"key: ")),p(1),g("ngForOf",n.getDisplayValues(e,n.field)),p(2),g("ngIf",n.showRemove&&n.field.allowAddChild&&n.field.canAddRows),p(1),g("ngIf",n.field.value.length==r+1),p(1),g("ngIf",r0)}}function c1e(o,t){if(1&o&&(d(0,"div")(1,"table",16),b(2,l1e,7,6,"tr",17),u()()),2&o){const e=m();p(2),g("ngForOf",e.field.value)}}function d1e(o,t){if(1&o){const e=j();d(0,"div",29)(1,"app-form",30),T("propertyChanged",function(n){return F(e),S(m().childFormPropertyChanged(n))})("cancel",function(){return F(e),S(m().editForm=void 0)})("saved",function(){return F(e),S(m().childSaved())}),u()()}if(2&o){const e=m();p(1),g("autoSave",!0)("inPlaceEditing",!0)("form",e.editForm)("isChildForm",!0)}}let u1e=(()=>{class o extends Ct{constructor(e,r){super(),this.nuviotClient=e,this.modalComponent=r,this.showRemove=!0}ngOnInit(){super.ngOnInit(),this.expanded=this.field.openByDefault}addChildItem(){var e=this;return E(function*(){if(!e.field.saveBeforeRaisingEvent||(yield e.host.saveForm(!1)))if("ChildListInlinePicker"===e.field.fieldType&&e.field.entityHeaderPickerUrl){const r=e.modalComponent.open(Sf,{size:"lg"}).componentInstance;r.pickerType=e.field.name,r.entityHeaderPickerUrl=e.field.entityHeaderPickerUrl,r.title=`Select ${e.field.label}`,r.model=e.model,r.view=e.view,r.itemSelected.subscribe(n=>{e.field.value||(e.field.value=[]),e.field.value.find(a=>a.id===n.id)?alert("Your selected item is already included and can not be added twice."):(e.field.value.push(n),e.isDirty=!0,e.field.isDirty=!0,e.field.propertyChanged?.(e.field))})}else if("ChildListInlinePicker"===e.field.fieldType&&e.field.pickerFor){const r=e.modalComponent.open(BB,{size:"lg"}).componentInstance;r.pickerFor=e.field.pickerFor,r.title=`Select ${e.field.label}`,r.model=e.model,r.view=e.view,r.itemsSelected.subscribe(n=>{for(let i of n){let a=!1;e.field.value||(e.field.value=[]),e.field.value.find(l=>l.id===i.id)?alert("Your selected item is already included and can not be added twice."):(e.field.value.push(i),a=!0,e.isDirty=!0,e.field.isDirty=!0,e.field.propertyChanged?.(e.field))}})}else if(e.field.factoryUrl){let r=e.field.factoryUrl.replace("{id}",e.model.id),n=yield e.nuviotClient.getFormResponse(r);n.autoSave=!1,n.parent=e.form,n.formInlineFields&&(n.formFields=n.formInlineFields,n.formFieldsCol2=void 0),e.field.childFormAdded?.(n),e.field.addChildItem?e.field.addChildItem(n):e.field.inPlaceEditing&&(e.editForm=n)}else e.field.addChildItem?.({resultId:"childitem",successful:!0,model:{},saveDraft:!0,autoSave:!0,autoSaveIntervalSections:30,formFields:e.field.formFields,conditionalFields:e.field.conditionalFields,modelHelp:e.field.modelHelp,modelTitle:e.field.modelTitle,modelName:e.field.modelName,view:e.field.view,isEditing:!1,parent:e.form})})()}childFormPropertyChanged(e){console.log("child form property changed",e),this.isDirty=!0,this.field.isDirty=!0,this.field.propertyChanged?.(this.field)}getItemKey(e,r){return r?`${r}${e.key}`:e.key}moveUp(e){if(this.field.value){let r=this.field.value.indexOf(e);r>0&&(this.field.value[r]=this.field.value[r-1],this.field.value[r-1]=e,this.field.isDirty=!0,this.field.propertyChanged?.(this.field))}}moveDown(e){if(this.field.value){let r=this.field.value.indexOf(e);r${e.name??e.text} will be PERMANENTLY removed.`,n.contentIsHtml=!0,n.confirmationResult.subscribe(function(){var i=E(function*(a){if(a){let s=r.field.value.indexOf(e);s>=0&&(r.isDirty=!0,r.field.isDirty=!0,r.field.value.splice(s,1),r.field.propertyChanged?.(r.field),r.field.childItemRemoved?.(r.form))}});return function(a){return i.apply(this,arguments)}}())}childSaved(){if(this.editForm.isEditing)this.field.value.find(r=>r.id===this.editForm.model.id).name=this.editForm.model.name;else if(this.field.isReferenceField){let e=this.editForm.model;this.field.value.push({id:e.id,text:e.name})}else this.field.value.push(this.editForm.model);this.isDirty=!0,this.field.isDirty=!0,this.field.childItemSaved?.(this.editForm),this.field.propertyChanged?.(this.field),this.editForm=void 0}selected(e){var r=this;return E(function*(){if(r.field.getUrl&&r.field.isReferenceField){let n=r.field.getUrl.replace("{id}",e.id);const i=yield r.nuviotClient.getFormResponse(n);if(r.field.childItemSelected){if(r.field.saveBeforeRaisingEvent&&!(yield r.host.saveForm(!1)))return;r.field.childItemSelected(i,e)}else r.field.inPlaceEditing&&(i.formInlineFields&&(i.formFields=i.formInlineFields,i.formFieldsCol2=void 0),r.editForm=i)}else if(r.field.factoryUrl){let n=r.field.factoryUrl.replace("{id}",r.model.id);const i=yield r.nuviotClient.getFormResponse(n);if(i.model=e,i.parent=r.form,i.isEditing=!0,r.field.childFormEditing?.(i),r.field.childItemSelected){if(r.field.saveBeforeRaisingEvent&&!(yield r.host.saveForm(!1)))return;r.field.childItemSelected?.(i,e)}else r.field.inPlaceEditing&&console.log(`settting edit form for ${i.modelName}`),r.editForm=i}else r.field?.childItemSelected&&r.field.childItemSelected({resultId:"childitem",successful:!0,model:e,saveDraft:!0,autoSave:!0,autoSaveIntervalSections:30,formFields:r.field.formFields,conditionalFields:r.field.conditionalFields,modelHelp:r.field.modelHelp,modelTitle:r.field.modelTitle,modelName:r.field.modelName,view:r.field.view,parent:r.form,isEditing:!0},e)})()}getDisplayValues(e,r){if(r.childItemName)return[e[r.childItemName]];if(r.childListDisplayMembers){let n=[],i=r.childListDisplayMembers;for(let a of i){let s=a.split(".");if(e){let l=e;for(let c of s)c=c.trim(),l&&("Text"==c&&(c="text"),l=l[c]);n.push(l)}}return n}if(r.childListDisplayMember){let n=r.childListDisplayMember.split(".");for(let i of n)if(!(e=e[i]))return["-"];return[e]}return[e.name??e.text]}}return o.\u0275fac=function(e){return new(e||o)(O(Ft),O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-child-list-inline"]],features:[Te],decls:5,vars:4,consts:[[1,"panel"],["style","display:flex;padding:10px",4,"ngIf"],[4,"ngIf"],["class","sub-form",4,"ngIf"],[3,"field"],[2,"display","flex","padding","10px"],[2,"flex-grow","1"],["class","action",3,"click",4,"ngIf"],["data-toggle","modal","class","fas fa-question action",4,"ngIf"],["class","fa-regular fa-square-chevron-down action",3,"click",4,"ngIf"],["class","fa-regular fa-square-chevron-up action",3,"click",4,"ngIf"],[1,"action",3,"click"],[1,"fas","fa-plus"],["data-toggle","modal",1,"fas","fa-question","action"],[1,"fa-regular","fa-square-chevron-down","action",3,"click"],[1,"fa-regular","fa-square-chevron-up","action",3,"click"],[1,"table"],[3,"title","click",4,"ngFor","ngForOf"],[3,"title","click"],["style","flex-grow: 1;",4,"ngFor","ngForOf"],["width","130"],["class","fa fa-trash action-danger",3,"click",4,"ngIf"],["class","action",4,"ngIf"],["class","far fa-chevron-down action",3,"click",4,"ngIf"],["class","far fa-chevron-up action",3,"click",4,"ngIf"],[1,"fa","fa-trash","action-danger",3,"click"],[1,"action"],[1,"far","fa-chevron-down","action",3,"click"],[1,"far","fa-chevron-up","action",3,"click"],[1,"sub-form"],[3,"autoSave","inPlaceEditing","form","isChildForm","propertyChanged","cancel","saved"]],template:function(e,r){1&e&&(d(0,"div",0),b(1,r1e,5,3,"div",1),b(2,c1e,3,1,"div",2),b(3,d1e,2,4,"div",3),u(),P(4,"app-form-field-help",4)),2&e&&(p(1),g("ngIf",!r.editForm),p(1),g("ngIf",(null==r.field?null:r.field.value)&&!r.editForm&&r.expanded),p(1),g("ngIf",r.editForm),p(1),g("field",r.field))},dependencies:[gt,ve,rr,_u],styles:[".section-header[_ngcontent-%COMP%]{font-size:20pt;margin:14pt}.section-header[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{float:right}ol[_ngcontent-%COMP%]{list-style:none;color:var(--color-fg);padding:0;margin:0}li[_ngcontent-%COMP%]{padding-top:14px;padding-bottom:14px;padding-left:10px;border-bottom:1px solid var(--color-gray-80);font-size:12pt}li[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{float:right;margin-right:14px;vertical-align:middle}li[_ngcontent-%COMP%]:hover{background-color:var(--color-bg-menu-active);color:var(--color-fg-panel-header-active);cursor:pointer}.panel[_ngcontent-%COMP%]{background-color:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:8px;-webkit-box-shadow:0 4px 8px 0 rgba(128,128,128,.2),0 6px 20px 0 rgba(128,128,128,.19);-webkit-box-shadow-box-shadow:0 4px 8px 0 rgba(128,128,128,.2),0 6px 20px 0 rgba(128,128,128,.19)}tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--color-border-panel);color:var(--color-fg)}tr[_ngcontent-%COMP%]:hover{background-color:var(--color-bg-menu-active);color:var(--color-fg-panel-header-active);cursor:pointer}td[_ngcontent-%COMP%]:first-child{padding-left:14px}"]}),o})();function p1e(o,t){if(1&o){const e=j();d(0,"input",8),T("ngModelChange",function(n){return F(e),S(m().field.value=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u()}if(2&o){const e=m();Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.field.value)("type",e.inputType)("disabled",!e.field.isUserEditable)}}function h1e(o,t){if(1&o){const e=j();d(0,"textarea",9),T("ngModelChange",function(n){return F(e),S(m().field.value=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),v(1," "),u()}if(2&o){const e=m();Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.field.value)("disabled",!e.field.isUserEditable)}}function g1e(o,t){if(1&o){const e=j();d(0,"span",10)(1,"i",11),T("click",function(n){return F(e),m().showSecret(),S(n.stopPropagation())}),u()()}}function m1e(o,t){if(1&o){const e=j();d(0,"span",10)(1,"i",12),T("click",function(n){return F(e),m().copySecret(),S(n.stopPropagation())}),u()()}}function f1e(o,t){1&o&&(d(0,"span",13),P(1,"i",14),u()),2&o&&Re("data-target",m().popupId)}let _1e=(()=>{class o extends Ct{constructor(e){super(),this.deploymentService=e}copyToClipboard(e){const r=document.createElement("textarea");r.value=e,r.setAttribute("readonly",""),r.style.position="absolute",r.style.left="-9999px",document.body.appendChild(r);const n=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);r.select(),document.execCommand("copy"),document.body.removeChild(r),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))}ngOnInit(){super.ngOnInit()}showSecret(){var e=this;return E(function*(){let r=yield e.deploymentService.GetSecret(e.model[e.field.secureIdFieldName]);r.successful&&(e.field.value=r.result)})()}copySecret(){var e=this;return E(function*(){let r=yield e.deploymentService.GetSecret(e.model[e.field.secureIdFieldName]);r.successful&&(e.copyToClipboard(r.result),alert("Copied to clipboard"))})()}}return o.\u0275fac=function(e){return new(e||o)(O(xB))},o.\u0275cmp=ne({type:o,selectors:[["app-password-field"]],features:[Te],decls:9,vars:15,consts:[[3,"name","label","isRequired"],[1,"input-group"],["class","form-control",3,"name","id","ngModel","type","disabled","background-color","placeholder","ngModelChange","change","input","focus","blur",4,"ngIf"],["rows","8","class","form-control",3,"name","id","ngModel","disabled","background-color","placeholder","ngModelChange","change","input","focus","blur",4,"ngIf"],["class","input-group-text","style","color:#A0A0A0",4,"ngIf"],["class","input-group-text","data-toggle","modal","data-toggle","modal","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[1,"form-control",3,"name","id","ngModel","type","disabled","placeholder","ngModelChange","change","input","focus","blur"],["rows","8",1,"form-control",3,"name","id","ngModel","disabled","placeholder","ngModelChange","change","input","focus","blur"],[1,"input-group-text",2,"color","#A0A0A0"],["aria-hidden","true",1,"fa","fa-eye",3,"click"],["aria-hidden","true",1,"fa","fa-copy",3,"click"],["data-toggle","modal","data-toggle","modal",1,"input-group-text",2,"cursor","pointer","color","#A0A0A0"],[1,"fa","fa-question"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1),b(2,p1e,1,8,"input",2),b(3,h1e,2,7,"textarea",3),b(4,g1e,2,0,"span",4),b(5,m1e,2,0,"span",4),b(6,f1e,2,1,"span",5),u(),P(7,"app-form-field-validation-section",6)(8,"app-form-field-help",7)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),g("ngIf","Secret"==r.field.fieldType||"Password"==r.field.fieldType),p(1),g("ngIf","SecureCertificate"==r.field.fieldType),p(1),g("ngIf",r.model[r.field.secureIdFieldName]),p(1),g("ngIf",r.field.value),p(1),g("ngIf",r.field.help),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,mt,It,ve,rr,or,ar]}),o})();function v1e(o,t){1&o&&P(0,"i",7),2&o&&Re("data-target",m().popupId)}function y1e(o,t){if(1&o){const e=j();d(0,"i",8),T("click",function(){return F(e),S(m().expanded=!0)}),u()}}function b1e(o,t){if(1&o){const e=j();d(0,"i",9),T("click",function(){return F(e),S(m().expanded=!1)}),u()}}function C1e(o,t){1&o&&(d(0,"i",16),v(1,"\xa0\xa0\xa0\xa0"),u())}function w1e(o,t){if(1&o){const e=j();d(0,"i",17),T("click",function(n){F(e);const i=m().$implicit;return m(2).moveDown(i),S(n.stopPropagation())}),u()}}function x1e(o,t){if(1&o){const e=j();d(0,"i",18),T("click",function(n){F(e);const i=m().$implicit;return m(2).moveUp(i),S(n.stopPropagation())}),u()}}function D1e(o,t){if(1&o){const e=j();d(0,"li",11),v(1),d(2,"i",12),T("click",function(n){const a=F(e).$implicit;return m(2).removeClick(a),S(n.stopPropagation())}),u(),b(3,C1e,2,0,"i",13),b(4,w1e,1,0,"i",14),b(5,x1e,1,0,"i",15),u()}if(2&o){const e=t.$implicit,r=t.index,n=m(2);g("title",n.getItemKey(e,"key: ")),p(1),ce(" ",e.text," "),p(2),g("ngIf",n.field.value.length==r+1),p(1),g("ngIf",r0)}}function M1e(o,t){if(1&o&&(d(0,"div")(1,"ol"),b(2,D1e,6,5,"li",10),u()()),2&o){const e=m();p(2),g("ngForOf",e.field.value)}}let k1e=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.modalComponent=r,this.expanded=!1}ngOnInit(){null==this.field.value&&(this.field.value=[])}selected(){this.field?.childListMenuSelected&&this.field.childListMenuSelected(this.field)}addProduct(){const e=this.modalService.open(Sf,{size:"lg"}).componentInstance;e.pickerType="product",e.entityHeaderPickerUrl=this.field.entityHeaderPickerUrl,e.factoryUrl=this.field.factoryUrl,e.title=`Select ${this.field.label}`,e.model=this.model,e.view=this.view,e.itemSelected.subscribe(r=>{null==this.field.value&&(this.field.value=[]),this.field.value.push(r)})}getItemKey(e,r){return r?`${r}${e.key}`:e.key}moveUp(e){if(this.field.value){let r=this.field.value.indexOf(e);r>0&&(this.field.value[r]=this.field.value[r-1],this.field.value[r-1]=e)}}moveDown(e){if(this.field.value){let r=this.field.value.indexOf(e);r${e.name??e.text} will be PERMANENTLY removed.`,n.contentIsHtml=!0,n.confirmationResult.subscribe(function(){var i=E(function*(a){if(a){let s=r.field.value.indexOf(e);s>=0&&(r.field.value.splice(s,1),r.field.propertyChanged&&r.field.propertyChanged(r.field))}});return function(a){return i.apply(this,arguments)}}())}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-product-picker-list"]],features:[Te],decls:11,vars:6,consts:[[2,"display","flex"],[2,"flex-grow","1"],[1,"fas","fa-plus","action",3,"click"],["data-toggle","modal","class","fas fa-question action",4,"ngIf"],["class","fa-regular fa-square-chevron-down action",3,"click",4,"ngIf"],["class","fa-regular fa-square-chevron-up action",3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",1,"fas","fa-question","action"],[1,"fa-regular","fa-square-chevron-down","action",3,"click"],[1,"fa-regular","fa-square-chevron-up","action",3,"click"],[3,"title",4,"ngFor","ngForOf"],[3,"title"],[1,"fa","fa-trash","action-danger",3,"click"],["class","action",4,"ngIf"],["class","far fa-chevron-down action",3,"click",4,"ngIf"],["class","far fa-chevron-up action",3,"click",4,"ngIf"],[1,"action"],[1,"far","fa-chevron-down","action",3,"click"],[1,"far","fa-chevron-up","action",3,"click"]],template:function(e,r){1&e&&(d(0,"div")(1,"div",0)(2,"div",1)(3,"label"),v(4),u()(),d(5,"div")(6,"i",2),T("click",function(){return r.addProduct()}),u(),b(7,v1e,1,1,"i",3),b(8,y1e,1,0,"i",4),b(9,b1e,1,0,"i",5),u()(),b(10,M1e,3,1,"div",6),u()),2&e&&(p(4),Eo(" ",r.field.label," (",r.field.value.length,")"),p(3),g("ngIf",r.field.help),p(1),g("ngIf",!r.expanded),p(1),g("ngIf",r.expanded),p(1),g("ngIf",(null==r.field?null:r.field.value)&&r.expanded))},dependencies:[gt,ve],styles:[".picker-modal[_ngcontent-%COMP%]{color:var(--color-fg);background-color:var(--color-bg)}ol[_ngcontent-%COMP%]{border-radius:6px;overflow-y:auto;max-height:400px;padding:0}li[_ngcontent-%COMP%]{padding:8px;cursor:pointer;border:1px solid silver}li[_ngcontent-%COMP%]:hover{background-color:#ddd}"]}),o})();function rk(o,t,e){for(let r in t)if(t.hasOwnProperty(r)){const n=t[r];n?o.setProperty(r,n,e?.has(r)?"important":""):o.removeProperty(r)}return o}function kh(o,t){const e=t?"":"none";rk(o.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function ZB(o,t,e){rk(o.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function e0(o,t){return t&&"none"!=t?o+" "+t:o}function XB(o){const t=o.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(o)*t}function ok(o,t){return o.getPropertyValue(t).split(",").map(r=>r.trim())}function nk(o){const t=o.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function ik(o,t,e){const{top:r,bottom:n,left:i,right:a}=o;return e>=r&&e<=n&&t>=i&&t<=a}function Rf(o,t,e){o.top+=t,o.bottom=o.top+o.height,o.left+=e,o.right=o.left+o.width}function JB(o,t,e,r){const{top:n,right:i,bottom:a,left:s,width:l,height:c}=o,h=l*t,_=c*t;return r>n-_&&rs-h&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:nk(e)})})}handleScroll(t){const e=Ga(t),r=this.positions.get(e);if(!r)return null;const n=r.scrollPosition;let i,a;if(e===this._document){const c=this.getViewportScrollPosition();i=c.top,a=c.left}else i=e.scrollTop,a=e.scrollLeft;const s=n.top-i,l=n.left-a;return this.positions.forEach((c,h)=>{c.clientRect&&e!==h&&e.contains(h)&&Rf(c.clientRect,s,l)}),n.top=i,n.left=a,{top:s,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function e8(o){const t=o.cloneNode(!0),e=t.querySelectorAll("[id]"),r=o.nodeName.toLowerCase();t.removeAttribute("id");for(let n=0;n{if(this.beforeStarted.next(),this._handles.length){const l=this._getTargetHandle(s);l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,s)}else this.disabled||this._initializeDragSequence(this._rootElement,s)},this._pointerMove=s=>{const l=this._getPointerPositionOnPage(s);if(!this._hasStartedDragging){if(Math.abs(l.x-this._pickupPositionOnPage.x)+Math.abs(l.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const k=Date.now()>=this._dragStartTime+this._getDragStartDelay(s),A=this._dropContainer;if(!k)return void this._endDragSequence(s);(!A||!A.isDragging()&&!A.isReceiving())&&(s.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(s)))}return}s.preventDefault();const c=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(c),this._dropContainer)this._updateActiveDropContainer(c,l);else{const h=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,_=this._activeTransform;_.x=c.x-h.x+this._passiveTransform.x,_.y=c.y-h.y+this._passiveTransform.y,this._applyRootElementTransform(_.x,_.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:c,event:s,distance:this._getDragDistance(c),delta:this._pointerDirectionDelta})})},this._pointerUp=s=>{this._endDragSequence(s)},this._nativeDragStart=s=>{if(this._handles.length){const l=this._getTargetHandle(s);l&&!this._disabledHandles.has(l)&&!this.disabled&&s.preventDefault()}else this.disabled||s.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new QB(r),a.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=oo(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(r=>kh(r,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(r=>Po(r)),this._handles.forEach(r=>kh(r,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(r=>{this._handles.indexOf(r)>-1&&e.add(r)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Po(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,t0),e.addEventListener("touchstart",this._pointerDown,n8),e.addEventListener("dragstart",this._nativeDragStart,t0)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Po(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),kh(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),kh(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){Lf(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const r=this._rootElement,n=r.parentNode,i=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),s=this._getShadowRoot();n.insertBefore(a,r),this._initialTransform=r.style.transform||"",this._preview=this._createPreviewElement(),ZB(r,!1,ak),this._document.body.appendChild(n.replaceChild(i,r)),this._getPreviewInsertionPoint(n,s).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const r=this.isDragging(),n=Lf(e),i=!n&&0!==e.button,a=this._rootElement,s=Ga(e),l=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),c=n?C1(e):b1(e);if(s&&s.draggable&&"mousedown"===e.type&&e.preventDefault(),r||i||l||c)return;if(this._handles.length){const C=a.style;this._rootElementTapHighlight=C.webkitTapHighlightColor||"",C.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(C=>this._updateOnScroll(C)),this._boundaryElement&&(this._boundaryRect=nk(this._boundaryElement));const h=this._previewTemplate;this._pickupPositionInElement=h&&h.template&&!h.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const _=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:_.x,y:_.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){ZB(this._rootElement,!0,ak),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,r=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),i=this._getDragDistance(n),a=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:i,dropPoint:n,event:t}),this.dropped.next({item:this,currentIndex:r,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:i,dropPoint:n,event:t}),e.drop(this,r,this._initialIndex,this._initialContainer,a,i,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:r,y:n}){let i=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=i,this._dropContainer.enter(this,t,e,i===this._initialContainer&&i.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:i,currentIndex:i.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(r,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,r=t?t.template:null;let n;if(r&&t){const i=t.matchSize?this._initialClientRect:null,a=t.viewContainer.createEmbeddedView(r,t.context);a.detectChanges(),n=a8(a,this._document),this._previewRef=a,t.matchSize?s8(n,i):n.style.transform=r0(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else n=e8(this._rootElement),s8(n,this._initialClientRect),this._initialTransform&&(n.style.transform=this._initialTransform);return rk(n.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},ak),kh(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(i=>n.classList.add(i)):n.classList.add(e)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function T1e(o){const t=getComputedStyle(o),e=ok(t,"transition-property"),r=e.find(s=>"transform"===s||"all"===s);if(!r)return 0;const n=e.indexOf(r),i=ok(t,"transition-duration"),a=ok(t,"transition-delay");return XB(i[n])+XB(a[n])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(r=>{const n=a=>{(!a||Ga(a)===this._preview&&"transform"===a.propertyName)&&(this._preview?.removeEventListener("transitionend",n),r(),clearTimeout(i))},i=setTimeout(n,1.5*e);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let r;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),r=a8(this._placeholderRef,this._document)):r=e8(this._rootElement),r.style.pointerEvents="none",r.classList.add("cdk-drag-placeholder"),r}_getPointerPositionInElement(t,e,r){const n=e===this._rootElement?null:e,i=n?n.getBoundingClientRect():t,a=Lf(r)?r.targetTouches[0]:r,s=this._getViewportScrollPosition();return{x:i.left-t.left+(a.pageX-i.left-s.left),y:i.top-t.top+(a.pageY-i.top-s.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),r=Lf(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=r.pageX-e.left,i=r.pageY-e.top;if(this._ownerSVGElement){const a=this._ownerSVGElement.getScreenCTM();if(a){const s=this._ownerSVGElement.createSVGPoint();return s.x=n,s.y=i,s.matrixTransform(a.inverse())}}return{x:n,y:i}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:r,y:n}=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t;if("x"===this.lockAxis||"x"===e?n=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(r=this._pickupPositionOnPage.x),this._boundaryRect){const{x:i,y:a}=this._pickupPositionInElement,s=this._boundaryRect,{width:l,height:c}=this._getPreviewRect(),h=s.top+a,_=s.bottom-(c-a);r=i8(r,s.left+i,s.right-(l-i)),n=i8(n,h,_)}return{x:r,y:n}}_updatePointerDirectionDelta(t){const{x:e,y:r}=t,n=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-i.x),s=Math.abs(r-i.y);return a>this._config.pointerDirectionChangeThreshold&&(n.x=e>i.x?1:-1,i.x=e),s>this._config.pointerDirectionChangeThreshold&&(n.y=r>i.y?1:-1,i.y=r),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,kh(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,t0),t.removeEventListener("touchstart",this._pointerDown,n8),t.removeEventListener("dragstart",this._nativeDragStart,t0)}_applyRootElementTransform(t,e){const r=r0(t,e),n=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=n.transform&&"none"!=n.transform?n.transform:""),n.transform=e0(r,this._initialTransform)}_applyPreviewTransform(t,e){const r=this._previewTemplate?.template?void 0:this._initialTransform,n=r0(t,e);this._preview.style.transform=e0(n,r)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const r=this._rootElement.getBoundingClientRect(),n=this._boundaryElement.getBoundingClientRect();if(0===n.width&&0===n.height||0===r.width&&0===r.height)return;const i=n.left-r.left,a=r.right-n.right,s=n.top-r.top,l=r.bottom-n.bottom;n.width>r.width?(i>0&&(t+=i),a>0&&(t-=a)):t=0,n.height>r.height?(s>0&&(e+=s),l>0&&(e-=l)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:Lf(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const r=Ga(t);this._boundaryRect&&r!==this._boundaryElement&&r.contains(this._boundaryElement)&&Rf(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=WD(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const r=this._previewContainer||"global";if("parent"===r)return t;if("global"===r){const n=this._document;return e||n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||n.body}return Po(r)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function r0(o,t){return`translate3d(${Math.round(o)}px, ${Math.round(t)}px, 0)`}function i8(o,t,e){return Math.max(t,Math.min(e,o))}function Lf(o){return"t"===o.type[0]}function a8(o,t){const e=o.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const r=t.createElement("div");return e.forEach(n=>r.appendChild(n)),r}function s8(o,t){o.style.width=`${t.width}px`,o.style.height=`${t.height}px`,o.style.transform=r0(t.left,t.top)}function sk(o,t,e){const r=Bf(t,o.length-1),n=Bf(e,o.length-1);if(r===n)return;const i=o[r],a=n0)return null;const s="horizontal"===this.orientation,l=i.findIndex(z=>z.drag===t),c=i[a],_=c.clientRect,C=l>a?1:-1,k=this._getItemOffsetPx(i[l].clientRect,_,C),A=this._getSiblingOffsetPx(l,i,C),B=i.slice();return sk(i,l,a),i.forEach((z,W)=>{if(B[W]===z)return;const q=z.drag===t,G=q?k:A,X=q?t.getPlaceholderElement():z.drag.getRootElement();z.offset+=G,s?(X.style.transform=e0(`translate3d(${Math.round(z.offset)}px, 0, 0)`,z.initialTransform),Rf(z.clientRect,0,G)):(X.style.transform=e0(`translate3d(0, ${Math.round(z.offset)}px, 0)`,z.initialTransform),Rf(z.clientRect,G,0))}),this._previousSwap.overlaps=ik(_,e,r),this._previousSwap.drag=c.drag,this._previousSwap.delta=s?n.x:n.y,{previousIndex:l,currentIndex:a}}enter(t,e,r,n){const i=null==n||n<0?this._getItemIndexFromPointerPosition(t,e,r):n,a=this._activeDraggables,s=a.indexOf(t),l=t.getPlaceholderElement();let c=a[i];if(c===t&&(c=a[i+1]),!c&&(null==i||-1===i||i-1&&a.splice(s,1),c&&!this._dragDropRegistry.isDragging(c)){const h=c.getRootElement();h.parentElement.insertBefore(l,h),a.splice(i,0,t)}else Po(this._element).appendChild(l),a.push(t);l.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables.forEach(t=>{const e=t.getRootElement();if(e){const r=this._itemPositions.find(n=>n.drag===t)?.initialTransform;e.style.transform=r||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(r=>r.drag===t)}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:r})=>{Rf(r,t,e)}),this._itemPositions.forEach(({drag:r})=>{this._dragDropRegistry.isDragging(r)&&r._sortFromLastPointerPosition()})}_cacheItemPositions(){const t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const r=e.getVisibleElement();return{drag:e,offset:0,initialTransform:r.style.transform||"",clientRect:nk(r)}}).sort((e,r)=>t?e.clientRect.left-r.clientRect.left:e.clientRect.top-r.clientRect.top)}_getItemOffsetPx(t,e,r){const n="horizontal"===this.orientation;let i=n?e.left-t.left:e.top-t.top;return-1===r&&(i+=n?e.width-t.width:e.height-t.height),i}_getSiblingOffsetPx(t,e,r){const n="horizontal"===this.orientation,i=e[t].clientRect,a=e[t+-1*r];let s=i[n?"width":"height"]*r;if(a){const l=n?"left":"top",c=n?"right":"bottom";-1===r?s-=a.clientRect[l]-i[c]:s+=i[l]-a.clientRect[c]}return s}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const r=this._itemPositions,n="horizontal"===this.orientation;if(r[0].drag!==this._activeDraggables[0]){const a=r[r.length-1].clientRect;return n?t>=a.right:e>=a.bottom}{const a=r[0].clientRect;return n?t<=a.left:e<=a.top}}_getItemIndexFromPointerPosition(t,e,r,n){const i="horizontal"===this.orientation,a=this._itemPositions.findIndex(({drag:s,clientRect:l})=>{if(s===t)return!1;if(n){const c=i?n.x:n.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&c===this._previousSwap.delta)return!1}return i?e>=Math.floor(l.left)&&e=Math.floor(l.top)&&r!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ae,this.entered=new Ae,this.exited=new Ae,this.dropped=new Ae,this.sorted=new Ae,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=M.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ae,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function E1e(o=0,t=Nm){return o<0&&(o=0),Hm(o,o,t)}(0,LR).pipe(fr(this._stopScrollTimers)).subscribe(()=>{const a=this._scrollNode,s=this.autoScrollStep;1===this._verticalScrollDirection?a.scrollBy(0,-s):2===this._verticalScrollDirection&&a.scrollBy(0,s),1===this._horizontalScrollDirection?a.scrollBy(-s,0):2===this._horizontalScrollDirection&&a.scrollBy(s,0)})},this.element=Po(t),this._document=r,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new QB(r),this._sortStrategy=new I1e(this.element,e),this._sortStrategy.withSortPredicate((a,s)=>this.sortPredicate(a,s,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,r,n){this._draggingStarted(),null==n&&this.sortingDisabled&&(n=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,r,n),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,r,n,i,a,s,l={}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:r,container:this,previousContainer:n,isPointerOverContainer:i,distance:a,dropPoint:s,event:l})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(r=>r._withDropContainer(this)),this.isDragging()&&(e.filter(n=>n.isDragging()).every(n=>-1===t.indexOf(n))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._sortStrategy.direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._sortStrategy.orientation=t,this}withScrollableParents(t){const e=Po(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,r,n){if(this.sortingDisabled||!this._clientRect||!JB(this._clientRect,.05,e,r))return;const i=this._sortStrategy.sort(t,e,r,n);i&&this.sorted.next({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let r,n=0,i=0;if(this._parentPositions.positions.forEach((a,s)=>{s===this._document||!a.clientRect||r||JB(a.clientRect,.05,t,e)&&([n,i]=function O1e(o,t,e,r){const n=d8(t,r),i=u8(t,e);let a=0,s=0;if(n){const l=o.scrollTop;1===n?l>0&&(a=1):o.scrollHeight-l>o.clientHeight&&(a=2)}if(i){const l=o.scrollLeft;1===i?l>0&&(s=1):o.scrollWidth-l>o.clientWidth&&(s=2)}return[a,s]}(s,a.clientRect,t,e),(n||i)&&(r=s))}),!n&&!i){const{width:a,height:s}=this._viewportRuler.getViewportSize(),l={width:a,height:s,top:0,right:a,bottom:s,left:0};n=d8(l,e),i=u8(l,t),r=window}r&&(n!==this._verticalScrollDirection||i!==this._horizontalScrollDirection||r!==this._scrollNode)&&(this._verticalScrollDirection=n,this._horizontalScrollDirection=i,this._scrollNode=r,(n||i)&&r?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=Po(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=Po(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=Po(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&ik(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,r){return this._siblings.find(n=>n._canReceive(t,e,r))}_canReceive(t,e,r){if(!this._clientRect||!ik(this._clientRect,e,r)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,r);if(!n)return!1;const i=Po(this.element);return n===i||i.contains(n)}_startReceiving(t,e){const r=this._activeSiblings;!r.has(t)&&e.every(n=>this.enterPredicate(n,this)||this._draggables.indexOf(n)>-1)&&(r.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=WD(Po(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function d8(o,t){const{top:e,bottom:r,height:n}=o,i=.05*n;return t>=e-i&&t<=e+i?1:t>=r-i&&t<=r+i?2:0}function u8(o,t){const{left:e,right:r,width:n}=o,i=.05*n;return t>=e-i&&t<=e+i?1:t>=r-i&&t<=r+i?2:0}const o0=Ml({passive:!1,capture:!0});let R1e=(()=>{class o{constructor(e,r){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=n=>n.isDragging(),this.pointerMove=new Ae,this.pointerUp=new Ae,this.scroll=new Ae,this._preventDefaultWhileDragging=n=>{this._activeDragInstances.length>0&&n.preventDefault()},this._persistentTouchmoveListener=n=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&n.preventDefault(),this.pointerMove.next(n))},this._document=r}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,o0)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,o0)}startDragging(e,r){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const n=r.type.startsWith("touch");this._globalListeners.set(n?"touchend":"mouseup",{handler:i=>this.pointerUp.next(i),options:!0}).set("scroll",{handler:i=>this.scroll.next(i),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:o0}),n||this._globalListeners.set("mousemove",{handler:i=>this.pointerMove.next(i),options:o0}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((i,a)=>{this._document.addEventListener(a,i.handler,i.options)})})}}stopDragging(e){const r=this._activeDragInstances.indexOf(e);r>-1&&(this._activeDragInstances.splice(r,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const r=[this.scroll];return e&&e!==this._document&&r.push(new Nt(n=>this._ngZone.runOutsideAngular(()=>{const a=s=>{this._activeDragInstances.length&&n.next(s)};return e.addEventListener("scroll",a,!0),()=>{e.removeEventListener("scroll",a,!0)}}))),di(...r)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,r)=>{this._document.removeEventListener(r,e.handler,e.options)}),this._globalListeners.clear()}}return o.\u0275fac=function(e){return new(e||o)(Z(ct),Z(bt))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const L1e={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let lk=(()=>{class o{constructor(e,r,n,i){this._document=e,this._ngZone=r,this._viewportRuler=n,this._dragDropRegistry=i}createDrag(e,r=L1e){return new P1e(e,r,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new A1e(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return o.\u0275fac=function(e){return new(e||o)(Z(bt),Z(ct),Z(qD),Z(R1e))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const ck=new me("CDK_DRAG_PARENT"),p8=new me("CdkDropListGroup"),h8=new me("CDK_DRAG_CONFIG");let B1e=0;const g8=new me("CdkDropList");let m8=(()=>{class o{constructor(e,r,n,i,a,s,l){this.element=e,this._changeDetectorRef=n,this._scrollDispatcher=i,this._dir=a,this._group=s,this._destroyed=new Ae,this.connectedTo=[],this.id="cdk-drop-list-"+B1e++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new ee,this.entered=new ee,this.exited=new ee,this.sorted=new ee,this._unsortedItems=new Set,this._dropListRef=r.createDropList(e),this._dropListRef.data=this,l&&this._assignDefaults(l),this._dropListRef.enterPredicate=(c,h)=>this.enterPredicate(c.data,h.data),this._dropListRef.sortPredicate=(c,h,_)=>this.sortPredicate(c,h.data,_.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),o._dropLists.push(this),s&&s._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=oo(e)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,r)=>e._dragRef.getVisibleElement().compareDocumentPosition(r._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=o._dropLists.indexOf(this);e>-1&&o._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Yo(this._dir.value),fr(this._destroyed)).subscribe(r=>e.withDirection(r)),e.beforeStarted.subscribe(()=>{const r=rf(this.connectedTo).map(n=>"string"==typeof n?o._dropLists.find(a=>a.id===n):n);if(this._group&&this._group._items.forEach(n=>{-1===r.indexOf(n)&&r.push(n)}),!this._scrollableParentsResolved){const n=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(i=>i.getElementRef().nativeElement);this._dropListRef.withScrollableParents(n),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=oo(this.sortingDisabled),e.autoScrollDisabled=oo(this.autoScrollDisabled),e.autoScrollStep=c1(this.autoScrollStep,2),e.connectedTo(r.filter(n=>n&&n!==this).map(n=>n._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(r=>{this.entered.emit({container:this,item:r.item.data,currentIndex:r.currentIndex})}),e.exited.subscribe(r=>{this.exited.emit({container:this,item:r.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(r=>{this.sorted.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,container:this,item:r.item.data})}),e.dropped.subscribe(r=>{this.dropped.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,previousContainer:r.previousContainer.data,container:r.container.data,item:r.item.data,isPointerOverContainer:r.isPointerOverContainer,distance:r.distance,dropPoint:r.dropPoint,event:r.event}),this._changeDetectorRef.markForCheck()})}_assignDefaults(e){const{lockAxis:r,draggingDisabled:n,sortingDisabled:i,listAutoScrollDisabled:a,listOrientation:s}=e;this.disabled=n??!1,this.sortingDisabled=i??!1,this.autoScrollDisabled=a??!1,this.orientation=s||"vertical",r&&(this.lockAxis=r)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return o._dropLists=[],o.\u0275fac=function(e){return new(e||o)(O(dt),O(lk),O(Xr),O($R),O(qa,8),O(p8,12),O(h8,8))},o.\u0275dir=Se({type:o,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,r){2&e&&(Re("id",r.id),ut("cdk-drop-list-disabled",r.disabled)("cdk-drop-list-dragging",r._dropListRef.isDragging())("cdk-drop-list-receiving",r._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[qt([{provide:p8,useValue:void 0},{provide:g8,useExisting:o}])]}),o})();const dk=new me("CdkDragHandle");let N1e=(()=>{class o{constructor(e,r){this.element=e,this._stateChanges=new Ae,this._disabled=!1,this._parentDrag=r}get disabled(){return this._disabled}set disabled(e){this._disabled=oo(e),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(ck,12))},o.\u0275dir=Se({type:o,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[qt([{provide:dk,useExisting:o}])]}),o})();const H1e=new me("CdkDragPlaceholder"),V1e=new me("CdkDragPreview");let uk=(()=>{class o{constructor(e,r,n,i,a,s,l,c,h,_,C){this.element=e,this.dropContainer=r,this._ngZone=i,this._viewContainerRef=a,this._dir=l,this._changeDetectorRef=h,this._selfHandle=_,this._parentDrag=C,this._destroyed=new Ae,this.started=new ee,this.released=new ee,this.ended=new ee,this.entered=new ee,this.exited=new ee,this.dropped=new ee,this.moved=new Nt(k=>{const A=this._dragRef.moved.pipe(Je(B=>({source:this,pointerPosition:B.pointerPosition,event:B.event,delta:B.delta,distance:B.distance}))).subscribe(k);return()=>{A.unsubscribe()}}),this._dragRef=c.createDrag(e,{dragStartThreshold:s&&null!=s.dragStartThreshold?s.dragStartThreshold:5,pointerDirectionChangeThreshold:s&&null!=s.pointerDirectionChangeThreshold?s.pointerDirectionChangeThreshold:5,zIndex:s?.zIndex}),this._dragRef.data=this,o._dragInstances.push(this),s&&this._assignDefaults(s),r&&(this._dragRef._withDropContainer(r._dropListRef),r.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=oo(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(mr(1),fr(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const r=e.rootElementSelector,n=e.freeDragPosition;r&&!r.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=o._dragInstances.indexOf(this);e>-1&&o._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let r=e;this.rootElementSelector&&(r=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(r||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):Po(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const r=this._dir,n=this.dragStartDelay,i=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof n&&n?n:c1(n),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(a).withPreviewContainer(this.previewContainer||"global"),r&&e.withDirection(r.value)}}),e.beforeStarted.pipe(mr(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let r=this.element.nativeElement.parentElement;for(;r;){if(r.classList.contains("cdk-drag")){e.withParent(o._dragInstances.find(n=>n.element.nativeElement===r)?._dragRef||null);break}r=r.parentElement}})}_handleEvents(e){e.started.subscribe(r=>{this.started.emit({source:this,event:r.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(r=>{this.released.emit({source:this,event:r.event})}),e.ended.subscribe(r=>{this.ended.emit({source:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(r=>{this.entered.emit({container:r.container.data,item:this,currentIndex:r.currentIndex})}),e.exited.subscribe(r=>{this.exited.emit({container:r.container.data,item:this})}),e.dropped.subscribe(r=>{this.dropped.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,previousContainer:r.previousContainer.data,container:r.container.data,isPointerOverContainer:r.isPointerOverContainer,item:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event})})}_assignDefaults(e){const{lockAxis:r,dragStartDelay:n,constrainPosition:i,previewClass:a,boundaryElement:s,draggingDisabled:l,rootElementSelector:c,previewContainer:h}=e;this.disabled=l??!1,this.dragStartDelay=n||0,r&&(this.lockAxis=r),i&&(this.constrainPosition=i),a&&(this.previewClass=a),s&&(this.boundaryElement=s),c&&(this.rootElementSelector=c),h&&(this.previewContainer=h)}_setupHandlesListener(){this._handles.changes.pipe(Yo(this._handles),co(e=>{const r=e.filter(n=>n._parentDrag===this).map(n=>n.element);this._selfHandle&&this.rootElementSelector&&r.push(this.element),this._dragRef.withHandles(r)}),bn(e=>di(...e.map(r=>r._stateChanges.pipe(Yo(r))))),fr(this._destroyed)).subscribe(e=>{const r=this._dragRef,n=e.element.nativeElement;e.disabled?r.disableHandle(n):r.enableHandle(n)})}}return o._dragInstances=[],o.\u0275fac=function(e){return new(e||o)(O(dt),O(g8,12),O(bt),O(ct),O(Fn),O(h8,8),O(qa,8),O(lk),O(Xr),O(dk,10),O(ck,12))},o.\u0275dir=Se({type:o,selectors:[["","cdkDrag",""]],contentQueries:function(e,r,n){if(1&e&&(Kt(n,V1e,5),Kt(n,H1e,5),Kt(n,dk,5)),2&e){let i;ze(i=Ye())&&(r._previewTemplate=i.first),ze(i=Ye())&&(r._placeholderTemplate=i.first),ze(i=Ye())&&(r._handles=i)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,r){2&e&&ut("cdk-drag-disabled",r.disabled)("cdk-drag-dragging",r._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[qt([{provide:ck,useExisting:o}]),Lr]}),o})(),f8=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[lk],imports:[ru]}),o})();function z1e(o,t){if(1&o){const e=j();d(0,"span",11),T("click",function(){return F(e),S(m(3).cancelClick())}),P(1,"i",12),v(2," Cancel "),u()}}function Y1e(o,t){if(1&o){const e=j();d(0,"span",13),T("click",function(){return F(e),S(m(3).addClick())}),P(1,"i",14),v(2," Add"),u()}}function j1e(o,t){if(1&o&&(d(0,"div",6)(1,"label",7),v(2),u(),d(3,"div",8),b(4,z1e,3,0,"span",9),b(5,Y1e,3,0,"span",10),u()()),2&o){const e=m(2);p(2),ae(e.title),p(2),g("ngIf",e.showCancel),p(1),g("ngIf",e.showAdd)}}function U1e(o,t){if(1&o){const e=j();d(0,"i",20),T("click",function(n){F(e);const i=m().$implicit;return m(2).removeClick(i),S(n.stopPropagation())}),u()}}function W1e(o,t){if(1&o){const e=j();d(0,"li",15),T("click",function(){const i=F(e).$implicit;return S(m(2).editClick(i))}),d(1,"div",16),v(2),u(),d(3,"div",17),P(4,"i",18),b(5,U1e,1,0,"i",19),u()()}if(2&o){const e=t.$implicit,r=m(2);p(2),ce(" ",r.getDisplayValue(e)," "),p(3),g("ngIf",r.showRemove)}}const G1e=function(o){return{"height.px":o}};function q1e(o,t){if(1&o){const e=j();d(0,"div",1),b(1,j1e,6,3,"div",2),d(2,"div",3),T("cdkDropListDropped",function(n){return F(e),S(m().drop(n))}),d(3,"ol",4),b(4,W1e,6,2,"li",5),u()()()}if(2&o){const e=m();p(1),g("ngIf",e.title||e.showAdd||e.showCancel),p(1),g("ngStyle",St(3,G1e,e.getHeight())),p(2),g("ngForOf",e.items)}}let _8=(()=>{class o{constructor(){this.displayMemberName="name",this.showCancel=!1,this.showAdd=!0,this.showRemove=!1,this.showReorder=!0,this.topMargin=60,this.listHeight=window.innerHeight-(this.topMargin+200),this.fixedHeight=void 0,this.autoGrow=!0,this.add=new ee,this.cancel=new ee,this.selected=new ee,this.remove=new ee,this.reordered=new ee}set listResponse(e){this.items=e.model}getHeight(){return this.autoGrow?this.fixedHeight??window.innerHeight-(this.topMargin+200):void 0}ngOnInit(){this.resizeObservable$=So(window,"resize"),this.resizeSubscription$=this.resizeObservable$.subscribe(e=>{e&&(this.listHeight=window.innerHeight-(this.topMargin+200))})}addClick(){this.add.emit()}editClick(e){this.selected.emit(e)}cancelClick(){this.cancel.emit()}getDisplayValue(e){var r="",n=this.displayMemberName.split(",");for(let i of n)i=i.trim(),e[i]&&(r+=e[i]+" ");return r.trim()}removeClick(e){this.remove&&this.remove.emit(e),this.items.splice(this.items.indexOf(e),1),console.log(this.items,e)}showAddTip(e){}moveUpClick(e){let r=this.items.indexOf(e);if(r>0){let n=this.items[r-1];this.items[r]=n,this.items[r-1]=e,this.reordered.emit({element1:e,element2:n,movedUp:!0})}}moveDownClick(e){let r=this.items.indexOf(e);if(r{class o{constructor(e,r){this.userService=e,this.activeModal=r,this.busy=!1,this.userSelected=new ee}ngOnInit(){var e=this;return E(function*(){e.busy=!0,e.users=(yield e.userService.loadActiveUsers({pageSize:50,pageIndex:0})).model,e.busy=!1})()}closeModal(){this.activeModal.close()}userSelectedEvent(e){this.userSelected.emit(e),this.activeModal.close()}}return o.\u0275fac=function(e){return new(e||o)(O(uo),O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-user-picker"]],outputs:{userSelected:"userSelected"},decls:9,vars:2,consts:[[2,"border-bottom","1px solid silver","padding-top","10px","padding-right","10px","padding-left","10px"],["style","height: 575px;padding:20px;background-color: white;",4,"ngIf"],["style","text-align:center;height: 550px; padding-top:50px;",4,"ngIf"],[2,"text-align","right","padding","10px","border-top","1pt solid silver"],[1,"btn","btn-secondary",3,"click"],[2,"height","575px","padding","20px","background-color","white"],["title","Select User",3,"items","showReorder","fixedHeight","showAdd","selected"],[2,"text-align","center","height","550px","padding-top","50px"],[1,"fa","fa-spinner","fa-spin","fa-3x"]],template:function(e,r){1&e&&(d(0,"div")(1,"div",0)(2,"h3"),v(3,"User Selector"),u()(),b(4,K1e,2,4,"div",1),b(5,Z1e,4,0,"div",2),d(6,"div",3)(7,"button",4),T("click",function(){return r.closeModal()}),v(8,"Close"),u()()()),2&e&&(p(4),g("ngIf",!r.busy),p(1),g("ngIf",r.busy))},dependencies:[ve,_8]}),o})();function J1e(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(n){return F(e),m(3).clearEntityHeaderValue(),S(n.stopPropagation())}),P(1,"i",11),u()}}const Q1e=function(o){return{"picker-link":o}};function e0e(o,t){if(1&o){const e=j();d(0,"span",7),T("click",function(){return F(e),S(m(2).pickEntityHeaderValue())}),d(1,"span",8),v(2),u(),b(3,J1e,2,0,"span",9),u()}if(2&o){const e=m(2);p(1),g("ngClass",St(3,Q1e,e.field.isUserEditable)),p(1),ae(e.field.value?e.field.value.text:e.field.watermark),p(1),g("ngIf",e.field.value&&!e.field.isRequired&&e.field.isUserEditable)}}function t0e(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function r0e(o,t){if(1&o&&(d(0,"div",2),P(1,"app-form-field-label",3),d(2,"div",4),b(3,e0e,4,5,"span",5),b(4,t0e,2,1,"div",6),u()()),2&o){const e=m();p(1),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled)}}let o0e=(()=>{class o extends Ct{constructor(e){super(),this.modalComponent=e}ngOnInit(){super.ngOnInit()}pickEntityHeaderValue(){this.modalComponent.open(X1e,{size:"lg"}).componentInstance.userSelected.subscribe(r=>{this.field.value={id:r.id,text:r.name},this.field.display=r.name,this.field.propertyChanged&&this.field.propertyChanged(this.field)})}clearEntityHeaderValue(){this.field.clearEntityHeader&&this.field.isUserEditable?(this.field.clearEntityHeader(this.field),this.field.propertyChanged&&this.field.propertyChanged(this.field)):(this.field.value=void 0,this.field.display=void 0)}}return o.\u0275fac=function(e){return new(e||o)(O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-user-picker-field"]],features:[Te],decls:2,vars:7,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],["attr","one","ng-hide","!isVisible",1,"form-group"],[3,"name","label","isRequired"],[1,"input-group-holder"],["class","picker-link",3,"click",4,"ngIf"],[4,"ngIf"],[1,"picker-link",3,"click"],[3,"ngClass"],["class","picker-link-remove","style","margin-left:20px",3,"click",4,"ngIf"],[1,"picker-link-remove",2,"margin-left","20px",3,"click"],[1,"fa","fa-trash","action-danger"]],template:function(e,r){1&e&&(b(0,r0e,5,5,"div",0),P(1,"app-form-field-validation-section",1)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors))},dependencies:[Fo,ve,or,ar],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})(),n0e=(()=>{class o extends Ct{constructor(){super()}ngOnInit(){super.ngOnInit()}showWebPage(){this.field.value&&window.open(this.field.value)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-web-link-field"]],features:[Te],decls:7,vars:18,consts:[[3,"name","label","isRequired"],[1,"input-group"],[1,"form-control",3,"name","id","ngModel","type","disabled","placeholder","ngModelChange","change","input","focus","blur"],[1,"input-group-text",2,"cursor","pointer","color","#A0A0A0",3,"click"],["aria-hidden","true",1,"fa","fa-link"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1)(2,"input",2),T("ngModelChange",function(i){return r.field.value=i})("change",function(i){return r.changed(i)})("input",function(i){return r.textChanged(i)})("focus",function(i){return r.onFocus(i)})("blur",function(i){return r.onBlur(i)}),u(),d(3,"span",3),T("click",function(i){return r.showWebPage(),i.stopPropagation()}),P(4,"i",4),u()(),P(5,"app-form-field-validation-section",5)(6,"app-form-field-help",6)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),Tt("background-color",r.field.isUserEditable?"white":"#EEEEEE"),Ne("name",r.field.name),Ne("id",r.field.name),Ne("placeholder",r.field.watermark),g("ngModel",r.field.value)("type",r.inputType)("disabled",!r.field.isUserEditable),p(3),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,mt,It,rr,or,ar]}),o})(),i0e=(()=>{class o extends Ct{constructor(){super()}selected(){this.field?.actionClick&&this.field.actionClick(this.field)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-action-field"]],features:[Te],decls:7,vars:1,consts:[[1,"action",2,"cursor","pointer","display","flex",3,"click"],[2,"flex-grow","1"],[2,"cursor","pointer"],[1,"fas","fa-chevron-right"]],template:function(e,r){1&e&&(d(0,"div",0),T("click",function(){return r.selected()}),d(1,"div",1)(2,"label",2),v(3),u(),P(4,"hr"),u(),d(5,"div"),P(6,"i",3),u()()),2&e&&(p(3),ae(r.field.label))}}),o})();function a0e(o,t){if(1&o){const e=j();d(0,"div")(1,"div",11)(2,"input",12),T("ngModelChange",function(n){return S(F(e).$implicit.name=n)}),u(),d(3,"label",13),v(4),u(),d(5,"div",4)(6,"span",14),T("click",function(){const i=F(e).$implicit;return S(m(2).updateCategory(i))}),P(7,"i",15),u()()()()}if(2&o){const e=t.$implicit;p(2),g("ngModel",e.name),p(2),ae(e.key)}}function s0e(o,t){if(1&o){const e=j();d(0,"div")(1,"div",4)(2,"span",5),T("click",function(){return F(e),S(m(2).saveNewCategory())}),P(3,"i",16),v(4," Save"),u(),d(5,"span",5),T("click",function(){return F(e),S(m(2).newCategory=void 0)}),P(6,"i",17),v(7," Cancel"),u()(),d(8,"div",18)(9,"label"),v(10,"Name "),d(11,"span",19),v(12,"*"),u()(),d(13,"input",20),T("ngModelChange",function(n){return F(e),S(m(2).newCategory.name=n)}),u()(),d(14,"div",18)(15,"label"),v(16,"Key "),d(17,"span",19),v(18,"*"),u()(),d(19,"input",20),T("ngModelChange",function(n){return F(e),S(m(2).newCategory.key=n)}),u()()()}if(2&o){const e=m(2);p(13),g("ngModel",e.newCategory.name),p(6),g("ngModel",e.newCategory.key)}}function l0e(o,t){if(1&o){const e=j();d(0,"div",1)(1,"h4"),v(2),d(3,"span",2),T("click",function(){return F(e),S(m().closeModal())}),P(4,"i",3),u()(),d(5,"div",4)(6,"span",5),T("click",function(){return F(e),S(m().addNewCategory())}),P(7,"i",6),v(8," Add New Category"),u()(),d(9,"div",7)(10,"label",8),v(11,"Name"),u(),d(12,"label"),v(13,"Key"),u()(),b(14,a0e,8,2,"div",9),b(15,s0e,20,2,"div",10),u()}if(2&o){const e=m();p(2),ce(" Categories For: ",e.categoryName," "),p(12),g("ngForOf",e.categories),p(1),g("ngIf",e.newCategory)}}let c0e=(()=>{class o{constructor(e,r){this.adminService=e,this.activeModal=r,this.updated=!1,this.itemAdded=new ee}ngOnInit(){var e=this;return E(function*(){let r=yield e.adminService.getCategories(e.categoryType);e.categories=r.model,console.log(e.categories)})()}addNewCategory(){var e=this;return E(function*(){e.newCategory=yield e.adminService.createCategory(e.categoryType),console.log(e.newCategory)})()}saveNewCategory(){var e=this;return E(function*(){(yield e.adminService.addCategory(e.newCategory)).successful&&(e.categories.push(e.newCategory),e.newCategory=null,e.updated=!0)})()}updateCategory(e){var r=this;return E(function*(){yield r.adminService.updateCategory(e),r.updated=!0})()}closeModal(){this.activeModal.close(),this.updated&&this.itemAdded?.emit()}}return o.\u0275fac=function(e){return new(e||o)(O(eu),O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-category-editor"]],outputs:{itemAdded:"itemAdded"},decls:1,vars:1,consts:[["style","margin:20px",4,"ngIf"],[2,"margin","20px"],[2,"float","right",3,"click"],[1,"fa","fa-close","action-danger"],[2,"text-align","right"],[1,"action",3,"click"],[1,"fa","fa-plus"],[2,"display","flex"],[2,"width","360px","display","inline-block"],[4,"ngFor","ngForOf"],[4,"ngIf"],[2,"margin-bottom","10px","display","flex"],[1,"form-control",2,"width","350px","margin-right","10px",3,"ngModel","ngModelChange"],[2,"flex-grow","1"],[3,"click"],[1,"fa","fa-save","action"],[1,"fa","fa-save"],[1,"fa","fa-arrow-left"],[1,"form-group"],[1,"required"],[1,"form-control",3,"ngModel","ngModelChange"]],template:function(e,r){1&e&&b(0,l0e,16,3,"div",0),2&e&&g("ngIf",r.categories)},dependencies:[Ht,mt,It,gt,ve],styles:["label[_ngcontent-%COMP%]{font-weight:700}.required[_ngcontent-%COMP%]{color:red}"]}),o})();function d0e(o,t){if(1&o&&(d(0,"option",9),v(1),u()),2&o){const e=t.$implicit;Ne("value",e.key),p(1),ae(e.label)}}function u0e(o,t){1&o&&P(0,"span",10),2&o&&Re("data-target",m().popupId)}let p0e=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.adminService=r}validate(){return this.showValidationErrors=!0,this.field.isRequired?this.field.value&&"-1"!==this.field.value?(this.isValid=!0,this.hasValue=!0):(this.isValid=!1,this.hasValue=!1):this.isValid=!0,this.isValid}onChanged(e){this.field&&(this.showValidationErrors=!0,this.hasValue="-1"!==this.field.value),super.changed(e)}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){e().call(r),r.loadCategories()})()}loadCategories(){var e=this;return E(function*(){let r=yield e.adminService.getCategories(e.field.customCategoryType??e.host.form.modelName.toLocaleLowerCase());r&&(e.field.options=r.model.map(n=>({key:n.key,label:n.name,text:n.name,id:n.key}))),e.field.options.find(n=>"-1"===n.id)||e.field.options.unshift({key:"-1",label:e.field.watermark,text:e.field.watermark,id:"-1"}),e.field.value||(e.field.value="-1")})()}editCategories(){const e=this.modalService.open(c0e,{size:"lg"}).componentInstance;e.categoryType=this.field.customCategoryType??this.host.form.modelName.toLocaleLowerCase(),e.itemAdded.subscribe(()=>{this.loadCategories()}),e.categoryName=this.field.customCategoryType?`${this.host.form.modelTitle} (${this.field.customCategoryType}}`:this.host.form.modelTitle}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(eu))},o.\u0275cmp=ne({type:o,selectors:[["app-category-field"]],features:[Te],decls:9,vars:18,consts:[[3,"name","label","isRequired"],[1,"input-group"],[1,"form-control","form-select",3,"name","id","ngModel","disabled","ngModelChange","change"],[3,"value",4,"ngFor","ngForOf"],[1,"input-group-append",2,"cursor","pointer"],["style","font-size:12pt;color:#A0A0A0","data-toggle","modal","class","input-group-text fa fa-question",4,"ngIf"],[1,"input-group-text","fa","fa-pencil",2,"cursor","pointer",3,"click"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[3,"value"],["data-toggle","modal",1,"input-group-text","fa","fa-question",2,"font-size","12pt","color","#A0A0A0"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1)(2,"select",2),T("ngModelChange",function(i){return r.field.value=i})("change",function(i){return r.onChanged(i)}),b(3,d0e,2,2,"option",3),u(),d(4,"div",4),b(5,u0e,1,1,"span",5),d(6,"span",6),T("click",function(){return r.editCategories()}),u()()(),P(7,"app-form-field-validation-section",7)(8,"app-form-field-help",8)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),Tt("background-color",r.field.isUserEditable?"white":"#EEEEEE"),Ne("name",r.field.name),Ne("id",r.field.name),g("ngModel",r.field.value)("disabled",!r.field.isUserEditable),p(1),g("ngForOf",r.field.options),p(2),g("ngIf",r.field.help),p(2),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Qo,en,No,mt,It,gt,ve,rr,or,ar]}),o})();class n0{constructor(t){this._dataSourceUpdated$=new pt(0),t&&t.model&&(this.items=t?.filteredItems??t.model,this.url=t.getListUrl,this.url||console.warn("PagedData created with no getListUrl - ",t.title),t.reload=e=>{e&&(this.items=e,console.log("items have updated",e)),this.updated()},t.refresh=()=>{this.items=t?.filteredItems??t.model,console.log("updated from refresh"),this.updated()})}static createFromArray(t){let e=new n0;return e.items=t,e}onDataSourceUpdated(){return this._dataSourceUpdated$.asObservable()}set items(t){this._items=t,this._dataSourceUpdated$.next(!0)}get items(){return this._items}updated(){console.log("ds update"),this._dataSourceUpdated$.next(!0)}concat(t){this.items=this.items.concat(!1)}push(t){this.items.push(t),this._dataSourceUpdated$.next(!1)}unshift(...t){this.items.unshift(t),this._dataSourceUpdated$.next(!1)}splice(t,e){this.items.splice(t,e),this._dataSourceUpdated$.next(!1)}remove(t){let e=this.items.indexOf(t);e>-1&&this.splice(e,1)}}const h0e=["*"];let a0;function Nf(o){return function g0e(){if(void 0===a0&&(a0=null,typeof window<"u")){const o=window;void 0!==o.trustedTypes&&(a0=o.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return a0}()?.createHTML(o)||o}function v8(o){return Error(`Unable to find icon with the name "${o}"`)}function y8(o){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${o}".`)}function b8(o){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${o}".`)}class yu{constructor(t,e,r){this.url=t,this.svgText=e,this.options=r}}let s0=(()=>{class o{constructor(e,r,n,i){this._httpClient=e,this._sanitizer=r,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=n}addSvgIcon(e,r,n){return this.addSvgIconInNamespace("",e,r,n)}addSvgIconLiteral(e,r,n){return this.addSvgIconLiteralInNamespace("",e,r,n)}addSvgIconInNamespace(e,r,n,i){return this._addSvgIconConfig(e,r,new yu(n,null,i))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,r,n,i){const a=this._sanitizer.sanitize(Pr.HTML,n);if(!a)throw b8(n);const s=Nf(a);return this._addSvgIconConfig(e,r,new yu("",s,i))}addSvgIconSet(e,r){return this.addSvgIconSetInNamespace("",e,r)}addSvgIconSetLiteral(e,r){return this.addSvgIconSetLiteralInNamespace("",e,r)}addSvgIconSetInNamespace(e,r,n){return this._addSvgIconSetConfig(e,new yu(r,null,n))}addSvgIconSetLiteralInNamespace(e,r,n){const i=this._sanitizer.sanitize(Pr.HTML,r);if(!i)throw b8(r);const a=Nf(i);return this._addSvgIconSetConfig(e,new yu("",a,n))}registerFontClassAlias(e,r=e){return this._fontCssClassesByAlias.set(e,r),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const r=this._sanitizer.sanitize(Pr.RESOURCE_URL,e);if(!r)throw y8(e);const n=this._cachedIconsByUrl.get(r);return n?Xe(l0(n)):this._loadSvgIconFromConfig(new yu(e,null)).pipe(co(i=>this._cachedIconsByUrl.set(r,i)),Je(i=>l0(i)))}getNamedSvgIcon(e,r=""){const n=C8(r,e);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(r,e),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const a=this._iconSetConfigs.get(r);return a?this._getSvgFromIconSetConfigs(e,a):Jp(v8(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Xe(l0(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Je(r=>l0(r)))}_getSvgFromIconSetConfigs(e,r){const n=this._extractIconWithNameFromAnySet(e,r);return n?Xe(n):NI(r.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Fs(s=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(Pr.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(c)),Xe(null)})))).pipe(Je(()=>{const a=this._extractIconWithNameFromAnySet(e,r);if(!a)throw v8(e);return a}))}_extractIconWithNameFromAnySet(e,r){for(let n=r.length-1;n>=0;n--){const i=r[n];if(i.svgText&&i.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(i),s=this._extractSvgIconFromSet(a,e,i.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(co(r=>e.svgText=r),Je(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Xe(null):this._fetchIcon(e).pipe(co(r=>e.svgText=r))}_extractSvgIconFromSet(e,r,n){const i=e.querySelector(`[id="${r}"]`);if(!i)return null;const a=i.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,n);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),n);const s=this._svgElementFromString(Nf(""));return s.appendChild(a),this._setSvgAttributes(s,n)}_svgElementFromString(e){const r=this._document.createElement("DIV");r.innerHTML=e;const n=r.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(e){const r=this._svgElementFromString(Nf("")),n=e.attributes;for(let i=0;iNf(c)),yy(()=>this._inProgressUrlFetches.delete(a)),tg());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(e,r,n){return this._svgIconConfigs.set(C8(e,r),n),this}_addSvgIconSetConfig(e,r){const n=this._iconSetConfigs.get(e);return n?n.push(r):this._iconSetConfigs.set(e,[r]),this}_svgElementFromConfig(e){if(!e.svgElement){const r=this._svgElementFromString(e.svgText);this._setSvgAttributes(r,e.options),e.svgElement=r}return e.svgElement}_getIconConfigFromResolvers(e,r){for(let n=0;nt?t.pathname+t.search:""}}}),w8=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],w0e=w8.map(o=>`[${o}]`).join(", "),x0e=/^url\(['"]?#(.*?)['"]?\)$/;let D0e=(()=>{class o extends v0e{constructor(e,r,n,i,a,s){super(e),this._iconRegistry=r,this._location=i,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=M.EMPTY,s&&(s.color&&(this.color=this.defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),n||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=oo(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const r=this._cleanupFontValue(e);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const r=this._cleanupFontValue(e);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const r=e.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let r=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){const n=e.childNodes[r];(1!==n.nodeType||"svg"===n.nodeName.toLowerCase())&&n.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(n=>n.length>0);this._previousFontSetClass.forEach(n=>e.classList.remove(n)),r.forEach(n=>e.classList.add(n)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const r=this._elementsWithExternalReferences;r&&r.forEach((n,i)=>{n.forEach(a=>{i.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const r=e.querySelectorAll(w0e),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i{const s=r[i],l=s.getAttribute(a),c=l?l.match(x0e):null;if(c){let h=n.get(s);h||(h=[],n.set(s,h)),h.push({name:a,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[r,n]=this._splitIconName(e);r&&(this._svgNamespace=r),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,r).pipe(mr(1)).subscribe(i=>this._setSvgElement(i),i=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${r}:${n}! ${i.message}`))})}}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(s0),_s("aria-hidden"),O(b0e),O(il),O(y0e,8))},o.\u0275cmp=ne({type:o,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,r){2&e&&(Re("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet),ut("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Te],ngContentSelectors:h0e,decls:1,vars:0,template:function(e,r){1&e&&(_i(),Wr(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),o})(),M0e=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Io,Io]}),o})();const k0e=["mat-menu-item",""];function E0e(o,t){1&o&&(_d(),d(0,"svg",2),P(1,"polygon",3),u())}const x8=["*"];function T0e(o,t){if(1&o){const e=j();d(0,"div",0),T("keydown",function(n){return F(e),S(m()._handleKeydown(n))})("click",function(){return F(e),S(m().closed.emit("click"))})("@transformMenu.start",function(n){return F(e),S(m()._onAnimationStart(n))})("@transformMenu.done",function(n){return F(e),S(m()._onAnimationDone(n))}),d(1,"div",1),Wr(2),u()()}if(2&o){const e=m();g("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Re("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const c0={transformMenu:Ic("transformMenu",[ua("void",Qr({opacity:0,transform:"scale(0.8)"})),Qn("void => enter",Jn("120ms cubic-bezier(0, 0, 0.2, 1)",Qr({opacity:1,transform:"scale(1)"}))),Qn("* => void",Jn("100ms 25ms linear",Qr({opacity:0})))]),fadeInItems:Ic("fadeInItems",[ua("showing",Qr({opacity:1})),Qn("void => *",[Qr({opacity:0}),Jn("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},F0e=new me("MatMenuContent"),pk=new me("MAT_MENU_PANEL"),S0e=QD(JD(class{}));let hk=(()=>{class o extends S0e{constructor(e,r,n,i,a){super(),this._elementRef=e,this._document=r,this._focusMonitor=n,this._parentMenu=i,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new Ae,this._focused=new Ae,this._highlighted=!1,this._triggersSubmenu=!1,i?.addItem?.(this)}focus(e,r){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,r):this._getHostElement().focus(r),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),r=e.querySelectorAll("mat-icon, .material-icons");for(let n=0;n{class o{constructor(e,r,n,i){this._elementRef=e,this._ngZone=r,this._defaultOptions=n,this._changeDetectorRef=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Pd,this._tabSubscription=M.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Ae,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new ee,this.close=this.closed,this.panelId="mat-menu-panel-"+I0e++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=oo(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=oo(e)}set panelClass(e){const r=this._previousPanelClass;r&&r.length&&r.split(" ").forEach(n=>{this._classList[n]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(n=>{this._classList[n]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new mae(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Yo(this._directDescendantItems),bn(e=>di(...e.map(r=>r._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const r=this._keyManager;if("enter"===this._panelAnimationState&&r.activeItem?._hasFocus()){const n=e.toArray(),i=Math.max(0,Math.min(n.length-1,r.activeItemIndex||0));n[i]&&!n[i].disabled?r.setActiveItem(i):r.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Yo(this._directDescendantItems),bn(r=>di(...r.map(n=>n._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const r=e.keyCode,n=this._keyManager;switch(r){case 27:cu(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===r||40===r)&&n.setFocusOrigin("keyboard"),void n.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe(mr(1)).subscribe(()=>{let r=null;if(this._directDescendantItems.length&&(r=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!r||!r.contains(document.activeElement)){const n=this._keyManager;n.setFocusOrigin(e).setFirstItemActive(),!n.activeItem&&r&&r.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const r=Math.min(this._baseElevation+e,24),n=`${this._elevationPrefix}${r}`,i=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!i||i===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}setPositionClasses(e=this.xPosition,r=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===r,n["mat-menu-below"]="below"===r,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Yo(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(r=>r._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(ct),O(D8),O(Xr))},o.\u0275dir=Se({type:o,contentQueries:function(e,r,n){if(1&e&&(Kt(n,F0e,5),Kt(n,hk,5),Kt(n,hk,4)),2&e){let i;ze(i=Ye())&&(r.lazyContent=i.first),ze(i=Ye())&&(r._allItems=i),ze(i=Ye())&&(r.items=i)}},viewQuery:function(e,r){if(1&e&&Yt(fo,5),2&e){let n;ze(n=Ye())&&(r.templateRef=n.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),o})(),A0e=(()=>{class o extends Hf{constructor(e,r,n,i){super(e,r,n,i),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(ct),O(D8),O(Xr))},o.\u0275cmp=ne({type:o,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,r){2&e&&Re("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[qt([{provide:pk,useExisting:o}]),Te],ngContentSelectors:x8,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,r){1&e&&(_i(),b(0,T0e,3,6,"ng-template"))},dependencies:[Fo],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[c0.transformMenu,c0.fadeInItems]},changeDetection:0}),o})();const M8=new me("mat-menu-scroll-strategy"),R0e={provide:M8,deps:[Os],useFactory:function O0e(o){return()=>o.scrollStrategies.reposition()}},k8=Ml({passive:!0});let L0e=(()=>{class o{constructor(e,r,n,i,a,s,l,c,h){this._overlay=e,this._element=r,this._viewContainerRef=n,this._menuItemInstance=s,this._dir=l,this._focusMonitor=c,this._ngZone=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=M.EMPTY,this._hoverSubscription=M.EMPTY,this._menuCloseSubscription=M.EMPTY,this._handleTouchStart=_=>{C1(_)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new ee,this.onMenuOpen=this.menuOpened,this.menuClosed=new ee,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=a instanceof Hf?a:void 0,r.nativeElement.addEventListener("touchstart",this._handleTouchStart,k8),s&&(s._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(r=>{this._destroyMenu(r),("click"===r||"tab"===r)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(r)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,k8),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const r=this._createOverlay(e),n=r.getConfig(),i=n.positionStrategy;this._setPosition(e,i),n.hasBackdrop=e.hasBackdrop??!this.triggersSubmenu(),r.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Hf&&(e._startAnimation(),e._directDescendantItems.changes.pipe(fr(e.close)).subscribe(()=>{i.withLockedPosition(!1).reapplyLastPosition(),i.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,r){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,r):this._element.nativeElement.focus(r)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const r=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,r instanceof Hf?(r._resetAnimation(),r.lazyContent?r._animationDone.pipe(Gr(n=>"void"===n.toState),mr(1),fr(r.lazyContent._attached)).subscribe({next:()=>r.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),r?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let r=0,n=e.parentMenu;for(;n;)r++,n=n.parentMenu;e.setElevation(r)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_createOverlay(e){if(!this._overlayRef){const r=this._getOverlayConfig(e);this._subscribeToPositions(e,r.positionStrategy),this._overlayRef=this._overlay.create(r),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new V1({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,r){e.setPositionClasses&&r.positionChanges.subscribe(n=>{const i="start"===n.connectionPair.overlayX?"after":"before",a="top"===n.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(i,a)):e.setPositionClasses(i,a)})}_setPosition(e,r){let[n,i]="before"===e.xPosition?["end","start"]:["start","end"],[a,s]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[l,c]=[a,s],[h,_]=[n,i],C=0;if(this.triggersSubmenu()){if(_=n="before"===e.xPosition?"start":"end",i=h="end"===n?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const k=this._parentMaterialMenu.items.first;this._parentInnerPadding=k?k._getHostElement().offsetTop:0}C="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l="top"===a?"bottom":"top",c="top"===s?"bottom":"top");r.withPositions([{originX:n,originY:l,overlayX:h,overlayY:a,offsetY:C},{originX:i,originY:l,overlayX:_,overlayY:a,offsetY:C},{originX:n,originY:c,overlayX:h,overlayY:s,offsetY:-C},{originX:i,originY:c,overlayX:_,overlayY:s,offsetY:-C}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),r=this._overlayRef.detachments();return di(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Xe(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Gr(a=>a!==this._menuItemInstance),Gr(()=>this._menuOpen)):Xe(),r)}_handleMousedown(e){b1(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const r=e.keyCode;(13===r||32===r)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===r&&"ltr"===this.dir||37===r&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Gr(e=>e===this._menuItemInstance&&!e.disabled),cD(0,YD)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Hf&&this.menu._isAnimating?this.menu._animationDone.pipe(mr(1),cD(0,YD),fr(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new SM(e.templateRef,this._viewContainerRef)),this._portal}}return o.\u0275fac=function(e){return new(e||o)(O(Os),O(dt),O(Fn),O(M8),O(pk,8),O(hk,10),O(qa,8),O(Pc),O(ct))},o.\u0275dir=Se({type:o,hostVars:3,hostBindings:function(e,r){1&e&&T("click",function(i){return r._handleClick(i)})("mousedown",function(i){return r._handleMousedown(i)})("keydown",function(i){return r._handleKeydown(i)}),2&e&&Re("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen||null)("aria-controls",r.menuOpen?r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),o})(),B0e=(()=>{class o extends L0e{}return o.\u0275fac=function(){let t;return function(r){return(t||(t=Ur(o)))(r||o)}}(),o.\u0275dir=Se({type:o,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[Te]}),o})(),N0e=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[R0e],imports:[Nr,Io,D1,z1,ru,Io]}),o})();const H0e=[[["grid-column"]]],V0e=["grid-column"],$0e=["fullWidth"];function z0e(o,t){if(1&o){const e=j();d(0,"i",21),T("click",function(){return F(e),S(m(2).donePressed())}),u()}}function Y0e(o,t){if(1&o){const e=j();d(0,"i",22),T("click",function(){return F(e),S(m(2).addFavorite())}),u()}}function j0e(o,t){if(1&o){const e=j();d(0,"i",23),T("click",function(){return F(e),S(m(2).clearFavorite())}),u()}}function U0e(o,t){if(1&o&&(d(0,"h1",15),b(1,z0e,1,0,"i",16),P(2,"nuv-icon",17),d(3,"span",18),v(4),u(),b(5,Y0e,1,0,"i",19),b(6,j0e,1,0,"i",20),u()),2&o){const e=m();p(1),g("ngIf",e.doneVisible),p(1),g("iconName",e.listResponse.icon),p(2),ce(" ",e.listResponse.title," "),p(1),g("ngIf",!e.favorite),p(1),g("ngIf",e.favorite)}}function W0e(o,t){if(1&o){const e=j();d(0,"i",21),T("click",function(){return F(e),S(m(2).donePressed())}),u()}}function G0e(o,t){1&o&&P(0,"nuv-icon",17),2&o&&g("iconName",m(2).tableIcon)}function q0e(o,t){if(1&o){const e=j();d(0,"i",22),T("click",function(){return F(e),S(m(2).addFavorite())}),u()}}function K0e(o,t){if(1&o){const e=j();d(0,"i",23),T("click",function(){return F(e),S(m(2).clearFavorite())}),u()}}function Z0e(o,t){if(1&o&&(d(0,"h1",15),b(1,W0e,1,0,"i",16),b(2,G0e,1,1,"nuv-icon",24),d(3,"span",18),v(4),u(),b(5,q0e,1,0,"i",19),b(6,K0e,1,0,"i",20),u()),2&o){const e=m();let r;p(1),g("ngIf",e.doneVisible),p(1),g("ngIf",e.tableIcon),p(2),ce(" ",null!==(r=e.tableTitle)&&void 0!==r?r:"Table"," "),p(1),g("ngIf",!e.favorite),p(1),g("ngIf",e.favorite)}}function X0e(o,t){if(1&o){const e=j();d(0,"div",35)(1,"input",36),T("ngModelChange",function(n){return F(e),S(m(2).searchText=n)}),u(),d(2,"span",37),T("click",function(){return F(e),S(m(2).serverSearch())}),P(3,"i",38),u()()}if(2&o){const e=m(2);p(1),g("ngModel",e.searchText)}}function J0e(o,t){if(1&o){const e=j();d(0,"div")(1,"input",39),T("ngModelChange",function(n){return F(e),S(m(2).searchText=n)}),u()()}if(2&o){const e=m(2);p(1),kv("margin-left:10px;width: 200px; background-image: url('",e.root,"/app/ui-shared/assets/search.png'); background-repeat: no-repeat; background-position: 6px 50%; padding: 7px 8.75px 7px 42px;"),g("ngModel",e.searchText)}}function Q0e(o,t){if(1&o&&(d(0,"option",43),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.key),p(1),ae(e.name)}}function ebe(o,t){if(1&o){const e=j();d(0,"div",40)(1,"select",41),T("change",function(){return F(e),S(m(2).refreshData())})("ngModelChange",function(n){return F(e),S(m(2).selectedCategory=n)}),b(2,Q0e,2,2,"option",42),u()()}if(2&o){const e=m(2);p(1),g("ngModel",e.selectedCategory),p(1),g("ngForOf",e.listResponse.categories)}}function tbe(o,t){if(1&o){const e=j();d(0,"span",44),T("click",function(){return F(e),S(m(2).add.emit())}),P(1,"i",45),d(2,"span",46),v(3,"Add"),u()()}}const rbe=function(o){return{"margin-top.px":o}},Qa=function(o){return{"width.px":o}};function obe(o,t){if(1&o){const e=j();d(0,"div",25),b(1,X0e,4,1,"div",26),b(2,J0e,2,4,"div",27),b(3,ebe,3,2,"div",28),d(4,"div",29),Wr(5,1,["style","display:inline"]),u(),d(6,"div",30),v(7," Show "),d(8,"select",31),T("ngModelChange",function(n){return F(e),S(m().pageSize=n)}),d(9,"option"),v(10,"10"),u(),d(11,"option"),v(12,"25"),u(),d(13,"option"),v(14,"50"),u(),d(15,"option"),v(16,"100"),u(),d(17,"option"),v(18,"500"),u(),d(19,"option"),v(20,"1000"),u(),d(21,"option"),v(22,"2500"),u(),d(23,"option"),v(24,"5000"),u()(),v(25," entries "),b(26,tbe,4,0,"span",32),d(27,"span",33)(28,"mat-icon",34),v(29,"more_horiz"),u()()()()}if(2&o){const e=m(),r=Un(6);g("ngStyle",St(8,rbe,e.topMargin))("ngStyle",St(10,Qa,e.tableWidth+32)),p(1),g("ngIf",e.serverSideSearch),p(1),g("ngIf",!e.serverSideSearch),p(1),g("ngIf",(null==e.listResponse?null:e.listResponse.categories)&&(null==e.listResponse?null:e.listResponse.categories.length)>1),p(5),g("ngModel",e.pageSize),p(18),g("ngIf",e.addVisible),p(1),g("matMenuTriggerFor",r)}}function nbe(o,t){if(1&o&&(d(0,"span",57),v(1),u()),2&o){const e=m().$implicit;p(1),ce(" ",e.header,"")}}function ibe(o,t){1&o&&(d(0,"span"),v(1,"\xa0"),u())}function abe(o,t){if(1&o){const e=j();d(0,"input",6),T("ngModelChange",function(n){return F(e),S(m(3).selectAll=n)}),u()}2&o&&g("ngModel",m(3).selectAll)}const E8=function(o,t){return{"sort-desc":o,"sort-asc":t}};function sbe(o,t){if(1&o){const e=j();d(0,"th",54),T("click",function(){const i=F(e).$implicit;return S(m(2).sort(i))}),b(1,nbe,2,1,"span",55),b(2,ibe,2,0,"span",27),b(3,abe,1,1,"input",56),u()}if(2&o){const e=t.$implicit;g("ngClass",Br(5,E8,"desc"==e.sortDir,"asc"==e.sortDir))("ngStyle",St(8,Qa,e.actualWidth)),p(1),g("ngIf",e.header),p(1),g("ngIf",!e.header),p(1),g("ngIf","select"==e.fieldType)}}function lbe(o,t){if(1&o&&(d(0,"div",75),v(1),xr(2,"datePrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),ce(" ",Dr(2,1,r[e.fieldName])," ")}}function cbe(o,t){if(1&o&&(d(0,"div",75),v(1),xr(2,"timePrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),ce(" ",Dr(2,1,r[e.fieldName])," ")}}function dbe(o,t){if(1&o&&(d(0,"div",76),v(1),xr(2,"dateTimePrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),ce(" ",Dr(2,1,r[e.fieldName])," ")}}function ube(o,t){if(1&o){const e=j();d(0,"div",77),T("click",function(n){F(e);const i=m(2).$implicit;return m(2).rowSelectedWithTag("remove",i),S(n.stopPropagation())}),P(1,"i",78),u()}}function pbe(o,t){if(1&o&&(d(0,"div",79),v(1),xr(2,"moneyPrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit,n=m(2);p(1),ce(" ",Dr(2,1,n.getContent(r,e))," ")}}function hbe(o,t){1&o&&P(0,"i",81)}function gbe(o,t){if(1&o&&(d(0,"div",79),v(1),b(2,hbe,1,0,"i",80),u()),2&o){const e=m(2).$implicit;p(1),Eo(" (",e.discussionsOpen,"/",e.discussionsTotal,")"),p(1),g("ngIf",e.discussionsOpen>0)}}function mbe(o,t){if(1&o){const e=j();d(0,"div",82)(1,"a",37),T("click",function(n){F(e);const i=m().$implicit,a=m().$implicit;return m(2).sendEmail(a[i.fieldName]),S(n.stopPropagation())}),v(2),u()()}if(2&o){const e=m().$implicit,r=m().$implicit;g("ngStyle",St(2,Qa,e.actualWidth)),p(2),ae(r[e.fieldName])}}function fbe(o,t){if(1&o){const e=j();d(0,"div",83)(1,"a",37),T("click",function(n){F(e);const i=m().$implicit,a=m().$implicit;return m(2).makePhoneCall(a[i.fieldName]),S(n.stopPropagation())}),v(2),u()()}if(2&o){const e=m().$implicit,r=m().$implicit;p(2),ae(r[e.fieldName])}}const _be=function(o,t){return{"background-color":o,color:t}};function vbe(o,t){if(1&o&&(d(0,"span")(1,"span",85)(2,"span",86),v(3),u()()()),2&o){const e=t.$implicit;p(1),g("ngStyle",Br(2,_be,e.backgroundColor,e.foregroundColor)),p(2),ae(e.text)}}function ybe(o,t){if(1&o&&(d(0,"div",83),b(1,vbe,4,5,"span",84),u()),2&o){const e=m(2).$implicit;p(1),g("ngForOf",e.labels)}}function bbe(o,t){if(1&o&&(d(0,"div",83),v(1),xr(2,"lastAccessPrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),ce(" ",Dr(2,1,r[e.fieldName])," ")}}function Cbe(o,t){if(1&o&&(d(0,"div",87),v(1),u()),2&o){const e=m().$implicit,r=m().$implicit,n=m(2);p(1),ce(" ",n.getContent(r,e)," ")}}function wbe(o,t){if(1&o&&(d(0,"div",79),v(1),xr(2,"trueFalsePrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),ce(" ",Dr(2,1,r[e.fieldName])," ")}}function xbe(o,t){if(1&o){const e=j();d(0,"div",88),T("click",function(n){F(e);const i=m().$implicit,a=m().$implicit;return m(2).rowSelectedWithTag(i.tag,a),S(n.stopPropagation())}),P(1,"i",89),u()}if(2&o){const e=m().$implicit;p(1),xs("far ",e.iconName," action")}}function Dbe(o,t){if(1&o&&(d(0,"div"),P(1,"div",90),u()),2&o){const e=m().$implicit,r=m().$implicit,n=m(2);p(1),g("innerHTML",n.getContent(r,e),yn)}}function Mbe(o,t){if(1&o){const e=j();d(0,"div",91)(1,"input",92),T("change",function(){F(e);const n=m(2).$implicit;return S(m(2).rowSelected(n))})("ngModelChange",function(n){return F(e),S(m(2).$implicit.selected=n)}),u()()}if(2&o){const e=m(2).$implicit;p(1),g("ngModel",e.selected)}}const Nc=function(o,t){return{"fa-star":o,"fa-star-o":t}};function kbe(o,t){if(1&o&&(d(0,"div"),P(1,"i",93)(2,"i",94)(3,"i",94)(4,"i",94)(5,"i",94),u()),2&o){const e=m(2).$implicit,r=m().$implicit;p(2),g("ngClass",Br(4,Nc,r[e.fieldName]>=2,r[e.fieldName]<2)),p(1),g("ngClass",Br(7,Nc,r[e.fieldName]>=3,r[e.fieldName]<3)),p(1),g("ngClass",Br(10,Nc,r[e.fieldName]>=4,r[e.fieldName]<4)),p(1),g("ngClass",Br(13,Nc,r[e.fieldName]>=5,r[e.fieldName]<5))}}function Ebe(o,t){if(1&o&&(d(0,"div"),b(1,kbe,6,16,"div",27),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),g("ngIf",r[e.fieldName]>0)}}function Tbe(o,t){1&o&&P(0,"i",97),2&o&&xs("fas ",m(2).$implicit.iconName," action")}function Fbe(o,t){if(1&o&&(d(0,"div",95),b(1,Tbe,1,3,"i",96),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),g("ngIf",r[e.fieldName])}}function Sbe(o,t){1&o&&P(0,"i",100)}function Pbe(o,t){if(1&o&&P(0,"nuv-icon",101),2&o){const e=m(2).$implicit;g("iconName",m().$implicit[e.fieldName])}}function Ibe(o,t){if(1&o&&(d(0,"div",79),b(1,Sbe,1,0,"i",98),b(2,Pbe,1,1,"nuv-icon",99),u()),2&o){const e=m().$implicit;p(1),g("ngIf",e.iconName),p(1),g("ngIf",e.fieldName)}}function Abe(o,t){if(1&o){const e=j();d(0,"span",37),T("click",function(n){F(e);const i=m(2).$implicit,a=m().$implicit;return m(2).rowSelectedWithTag(i.tag,a),S(n.stopPropagation())}),v(1),u()}if(2&o){const e=m(2).$implicit,r=m().$implicit,n=m(2);p(1),ce(" ",n.getContent(r,e)," ")}}function Obe(o,t){if(1&o&&(d(0,"span",107),v(1),xr(2,"lastAccessPrinter"),u()),2&o){const e=m(4).$implicit;p(1),ce("* Draft ",Dr(2,1,e.lastUpdatedDate),"")}}function Rbe(o,t){if(1&o&&(d(0,"div",105),v(1),b(2,Obe,3,3,"span",106),u()),2&o){const e=m(2).$implicit,r=m().$implicit,n=m(2);p(1),ce(" ",n.getContent(r,e)," "),p(1),g("ngIf",r.isDraft&&"name"==e.fieldName)}}function Lbe(o,t){if(1&o&&(d(0,"div",102),b(1,Abe,2,1,"span",103),b(2,Rbe,3,2,"div",104),u()),2&o){const e=m().$implicit;g("ngStyle",St(3,Qa,e.actualWidth)),p(1),g("ngIf",e.tag),p(1),g("ngIf",!e.tag)}}const T8=function(o){return{action:o}};function Bbe(o,t){if(1&o&&(d(0,"td",61),b(1,lbe,3,3,"div",62),b(2,cbe,3,3,"div",62),b(3,dbe,3,3,"div",63),b(4,ube,2,0,"div",64),b(5,pbe,3,3,"div",65),b(6,gbe,3,3,"div",65),b(7,mbe,3,4,"div",66),b(8,fbe,3,1,"div",67),b(9,ybe,2,1,"div",67),b(10,bbe,3,3,"div",67),b(11,Cbe,2,1,"div",68),b(12,wbe,3,3,"div",65),b(13,xbe,2,3,"div",69),b(14,Dbe,2,1,"div",70),b(15,Mbe,2,1,"div",71),b(16,Ebe,2,1,"div",70),b(17,Fbe,2,1,"div",72),b(18,Ibe,3,2,"div",73),b(19,Lbe,3,5,"div",74),u()),2&o){const e=t.$implicit;g("ngSwitch",e.fieldType)("ngStyle",St(21,Qa,e.actualWidth))("ngClass",St(23,T8,e.isAction)),p(1),g("ngSwitchCase","date-only"),p(1),g("ngSwitchCase","time-only"),p(1),g("ngSwitchCase","date-time"),p(1),g("ngSwitchCase","remove"),p(1),g("ngSwitchCase","currency"),p(1),g("ngSwitchCase","discussion-counts"),p(1),g("ngSwitchCase","email"),p(1),g("ngSwitchCase","phone"),p(1),g("ngSwitchCase","labels"),p(1),g("ngSwitchCase","lastaccess"),p(1),g("ngSwitchCase","number"),p(1),g("ngSwitchCase","yes-no"),p(1),g("ngSwitchCase","icon-button"),p(1),g("ngSwitchCase","html"),p(1),g("ngSwitchCase","select"),p(1),g("ngSwitchCase","stars"),p(1),g("ngSwitchCase","icon-conditional"),p(1),g("ngSwitchCase","icon")}}const Nbe=function(o){return{deleted:o}};function Hbe(o,t){if(1&o){const e=j();d(0,"tr",58),T("click",function(){const i=F(e).$implicit;return S(m(2).rowTapped(i))}),b(1,Bbe,20,25,"td",59),P(2,"td",60),u()}if(2&o){const e=t.$implicit,r=m(2);g("ngClass",St(2,Nbe,e.isDeleted)),p(1),g("ngForOf",null==r.columns?null:r.columns.visibleColumns)}}const F8=function(o){return{"height.px":o}};function Vbe(o,t){if(1&o){const e=j();d(0,"table",47,48)(2,"thead",49)(3,"tr"),b(4,sbe,4,10,"th",50),d(5,"th",51)(6,"span"),v(7,"\xa0"),u()()()(),d(8,"tbody",52),T("scroll",function(n){return F(e),S(m().contentScroll(n))}),b(9,Hbe,3,4,"tr",53),u()()}if(2&o){const e=m();p(4),g("ngForOf",null==e.columns?null:e.columns.visibleColumns),p(4),g("ngStyle",St(3,F8,e.scrollableHeight)),p(1),g("ngForOf",e.currentPageDataSet)}}function $be(o,t){if(1&o&&(d(0,"span"),v(1),u()),2&o){const e=m(2);p(1),cl(" Showing ",e.recordStartCount+1," to ",e.recordEndCount," of ",e.recordCount," entries. ")}}function zbe(o,t){1&o&&(d(0,"span"),v(1," No Data "),u())}const S8=function(o,t){return{current:o,pageEnabled:t}};function Ybe(o,t){if(1&o){const e=j();d(0,"a",113),T("click",function(){const i=F(e).$implicit;return S(m(3).showPage(i))}),v(1),u()}if(2&o){const e=t.$implicit;g("ngClass",Br(2,S8,e.current,e.enabled)),p(1),ae(e.name)}}function jbe(o,t){if(1&o){const e=j();d(0,"a",37),T("click",function(){return F(e),S(m(3).loadMore())}),v(1,"Load More"),u()}}function Ube(o,t){if(1&o&&(d(0,"div",110),b(1,Ybe,2,5,"a",111),b(2,jbe,2,0,"a",112),u()),2&o){const e=m(2);p(1),g("ngForOf",e.pages),p(1),g("ngIf",e.listResponse&&e.listResponse.hasMoreRecords)}}function Wbe(o,t){if(1&o&&(d(0,"div",108),b(1,$be,2,3,"span",27),b(2,zbe,2,0,"span",27),b(3,Ube,3,2,"div",109),u()),2&o){const e=m();g("ngStyle",St(4,Qa,e.tableWidth+32)),p(1),g("ngIf",e.recordCount>0),p(1),g("ngIf",0==e.recordCount),p(1),g("ngIf",e.pages&&e.pages.length>1||e.listResponse&&e.listResponse.hasMoreRecords)}}function Gbe(o,t){if(1&o&&(d(0,"span",57),v(1),u()),2&o){const e=m().$implicit;p(1),ce(" ",e.header,"")}}function qbe(o,t){1&o&&(d(0,"span"),v(1,"\xa0"),u())}function Kbe(o,t){if(1&o){const e=j();d(0,"input",6),T("ngModelChange",function(n){return F(e),S(m(3).selectAll=n)}),u()}2&o&&g("ngModel",m(3).selectAll)}function Zbe(o,t){if(1&o){const e=j();d(0,"th",54),T("click",function(){const i=F(e).$implicit;return S(m(2).sort(i))}),b(1,Gbe,2,1,"span",55),b(2,qbe,2,0,"span",27),b(3,Kbe,1,1,"input",56),u()}if(2&o){const e=t.$implicit;g("ngClass",Br(5,E8,"desc"==e.sortDir,"asc"==e.sortDir))("ngStyle",St(8,Qa,e.actualWidth)),p(1),g("ngIf",e.header),p(1),g("ngIf",!e.header),p(1),g("ngIf","select"==e.fieldType)}}function Xbe(o,t){if(1&o&&(d(0,"div",75),v(1),xr(2,"datePrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),ce(" ",Dr(2,1,r[e.fieldName])," ")}}function Jbe(o,t){if(1&o&&(d(0,"div",75),v(1),xr(2,"timePrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),ce(" ",Dr(2,1,r[e.fieldName])," ")}}function Qbe(o,t){if(1&o&&(d(0,"div",76),v(1),xr(2,"dateTimePrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),ce(" ",Dr(2,1,r[e.fieldName])," ")}}function e2e(o,t){if(1&o){const e=j();d(0,"div",77),T("click",function(n){F(e);const i=m(2).$implicit;return m(2).rowSelectedWithTag("remove",i),S(n.stopPropagation())}),P(1,"i",78),u()}}function t2e(o,t){if(1&o&&(d(0,"div",79),v(1),xr(2,"moneyPrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit,n=m(2);p(1),ce(" ",Dr(2,1,n.getContent(r,e))," ")}}function r2e(o,t){if(1&o){const e=j();d(0,"div",82)(1,"a",37),T("click",function(n){F(e);const i=m().$implicit,a=m().$implicit;return m(2).sendEmail(a[i.fieldName]),S(n.stopPropagation())}),v(2),u()()}if(2&o){const e=m().$implicit,r=m().$implicit;g("ngStyle",St(2,Qa,e.actualWidth)),p(2),ae(r[e.fieldName])}}function o2e(o,t){if(1&o){const e=j();d(0,"div",83)(1,"a",37),T("click",function(n){F(e);const i=m().$implicit,a=m().$implicit;return m(2).makePhoneCall(a[i.fieldName]),S(n.stopPropagation())}),v(2),u()()}if(2&o){const e=m().$implicit,r=m().$implicit;p(2),ae(r[e.fieldName])}}function n2e(o,t){if(1&o&&(d(0,"div",83),v(1),xr(2,"lastAccessPrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),ce(" ",Dr(2,1,r[e.fieldName])," ")}}function i2e(o,t){if(1&o&&(d(0,"div",87),v(1),u()),2&o){const e=m().$implicit,r=m().$implicit,n=m(2);p(1),ce(" ",n.getContent(r,e)," ")}}function a2e(o,t){if(1&o&&(d(0,"div",79),v(1),xr(2,"trueFalsePrinter"),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),ce(" ",Dr(2,1,r[e.fieldName])," ")}}function s2e(o,t){if(1&o){const e=j();d(0,"div",88),T("click",function(n){F(e);const i=m().$implicit,a=m().$implicit;return m(2).rowSelectedWithTag(i.tag,a),S(n.stopPropagation())}),P(1,"i",89),u()}if(2&o){const e=m().$implicit;p(1),xs("far ",e.iconName," action")}}function l2e(o,t){if(1&o&&(d(0,"div"),P(1,"div",90),u()),2&o){const e=m().$implicit,r=m().$implicit,n=m(2);p(1),g("innerHTML",n.getContent(r,e),yn)}}function c2e(o,t){if(1&o){const e=j();d(0,"div",91)(1,"input",92),T("change",function(){F(e);const n=m(2).$implicit;return S(m(2).rowSelected(n))})("ngModelChange",function(n){return F(e),S(m(2).$implicit.selected=n)}),u()()}if(2&o){const e=m(2).$implicit;p(1),g("ngModel",e.selected)}}function d2e(o,t){if(1&o&&(d(0,"div"),P(1,"i",93)(2,"i",94)(3,"i",94)(4,"i",94)(5,"i",94),u()),2&o){const e=m(2).$implicit,r=m().$implicit;p(2),g("ngClass",Br(4,Nc,r[e.fieldName]>=2,r[e.fieldName]<2)),p(1),g("ngClass",Br(7,Nc,r[e.fieldName]>=3,r[e.fieldName]<3)),p(1),g("ngClass",Br(10,Nc,r[e.fieldName]>=4,r[e.fieldName]<4)),p(1),g("ngClass",Br(13,Nc,r[e.fieldName]>=5,r[e.fieldName]<5))}}function u2e(o,t){if(1&o&&(d(0,"div"),b(1,d2e,6,16,"div",27),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),g("ngIf",r[e.fieldName]>0)}}function p2e(o,t){1&o&&P(0,"i",97),2&o&&xs("fas ",m(2).$implicit.iconName," action")}function h2e(o,t){if(1&o&&(d(0,"div",95),b(1,p2e,1,3,"i",96),u()),2&o){const e=m().$implicit,r=m().$implicit;p(1),g("ngIf",r[e.fieldName])}}function g2e(o,t){1&o&&P(0,"i",100)}function m2e(o,t){if(1&o&&P(0,"nuv-icon",101),2&o){const e=m(2).$implicit;g("iconName",m().$implicit[e.fieldName])}}function f2e(o,t){if(1&o&&(d(0,"div",79),b(1,g2e,1,0,"i",98),b(2,m2e,1,1,"nuv-icon",99),u()),2&o){const e=m().$implicit;p(1),g("ngIf",e.iconName),p(1),g("ngIf",e.fieldName)}}function _2e(o,t){if(1&o){const e=j();d(0,"span",37),T("click",function(n){F(e);const i=m(2).$implicit,a=m().$implicit;return m(2).rowSelectedWithTag(i.tag,a),S(n.stopPropagation())}),v(1),u()}if(2&o){const e=m(2).$implicit,r=m().$implicit,n=m(2);p(1),ce(" ",n.getContent(r,e)," ")}}function v2e(o,t){if(1&o&&(d(0,"div",105),v(1),u()),2&o){const e=m(2).$implicit,r=m().$implicit,n=m(2);p(1),ce(" ",n.getContent(r,e)," ")}}function y2e(o,t){if(1&o&&(d(0,"div",102),b(1,_2e,2,1,"span",103),b(2,v2e,2,1,"div",104),u()),2&o){const e=m().$implicit;g("ngStyle",St(3,Qa,e.actualWidth)),p(1),g("ngIf",e.tag),p(1),g("ngIf",!e.tag)}}function b2e(o,t){if(1&o&&(d(0,"td",61),b(1,Xbe,3,3,"div",62),b(2,Jbe,3,3,"div",62),b(3,Qbe,3,3,"div",63),b(4,e2e,2,0,"div",64),b(5,t2e,3,3,"div",65),b(6,r2e,3,4,"div",66),b(7,o2e,3,1,"div",67),b(8,n2e,3,3,"div",67),b(9,i2e,2,1,"div",68),b(10,a2e,3,3,"div",65),b(11,s2e,2,3,"div",69),b(12,l2e,2,1,"div",70),b(13,c2e,2,1,"div",71),b(14,u2e,2,1,"div",70),b(15,h2e,2,1,"div",72),b(16,f2e,3,2,"div",73),b(17,y2e,3,5,"div",74),u()),2&o){const e=t.$implicit;g("ngSwitch",e.fieldType)("ngStyle",St(19,Qa,e.actualWidth))("ngClass",St(21,T8,e.isAction)),p(1),g("ngSwitchCase","date-only"),p(1),g("ngSwitchCase","time-only"),p(1),g("ngSwitchCase","date-time"),p(1),g("ngSwitchCase","remove"),p(1),g("ngSwitchCase","currency"),p(1),g("ngSwitchCase","email"),p(1),g("ngSwitchCase","phone"),p(1),g("ngSwitchCase","lastaccess"),p(1),g("ngSwitchCase","number"),p(1),g("ngSwitchCase","yes-no"),p(1),g("ngSwitchCase","icon-button"),p(1),g("ngSwitchCase","html"),p(1),g("ngSwitchCase","select"),p(1),g("ngSwitchCase","stars"),p(1),g("ngSwitchCase","icon-conditional"),p(1),g("ngSwitchCase","icon")}}function C2e(o,t){if(1&o){const e=j();d(0,"tr",115),T("click",function(){const i=F(e).$implicit;return S(m(2).rowTapped(i))}),b(1,b2e,18,23,"td",59),P(2,"td",60),u()}if(2&o){const e=m(2);p(1),g("ngForOf",null==e.columns?null:e.columns.visibleColumns)}}function w2e(o,t){if(1&o){const e=j();d(0,"table",47,48)(2,"thead",49)(3,"tr"),b(4,Zbe,4,10,"th",50),d(5,"th",51)(6,"span"),v(7,"\xa0"),u()()()(),d(8,"tbody",52),T("scroll",function(n){return F(e),S(m().contentScroll(n))}),b(9,C2e,3,1,"tr",114),u()()}if(2&o){const e=m();p(4),g("ngForOf",null==e.columns?null:e.columns.visibleColumns),p(4),g("ngStyle",St(3,F8,e.scrollableHeight)),p(1),g("ngForOf",e.currentPageDataSet)}}function x2e(o,t){if(1&o&&(d(0,"span"),v(1),u()),2&o){const e=m(2);p(1),cl(" Showing ",e.recordStartCount+1," to ",e.recordEndCount," of ",e.recordCount," entries. ")}}function D2e(o,t){1&o&&(d(0,"span"),v(1," No Data "),u())}function M2e(o,t){if(1&o){const e=j();d(0,"a",113),T("click",function(){const i=F(e).$implicit;return S(m(3).showPage(i))}),v(1),u()}if(2&o){const e=t.$implicit;g("ngClass",Br(2,S8,e.current,e.enabled)),p(1),ae(e.name)}}function k2e(o,t){if(1&o){const e=j();d(0,"a",37),T("click",function(){return F(e),S(m(3).loadMore())}),v(1,"Load More"),u()}}function E2e(o,t){if(1&o&&(d(0,"div",110),b(1,M2e,2,5,"a",111),b(2,k2e,2,0,"a",112),u()),2&o){const e=m(2);p(1),g("ngForOf",e.pages),p(1),g("ngIf",e.listResponse&&e.listResponse.hasMoreRecords)}}function T2e(o,t){if(1&o&&(d(0,"div",108),b(1,x2e,2,3,"span",27),b(2,D2e,2,0,"span",27),b(3,E2e,3,2,"div",109),u()),2&o){const e=m();g("ngStyle",St(4,Qa,e.tableWidth+32)),p(1),g("ngIf",e.recordCount>0),p(1),g("ngIf",0==e.recordCount),p(1),g("ngIf",e.pages&&e.pages.length>1||e.listResponse&&e.listResponse.hasMoreRecords)}}function F2e(o,t){if(1&o){const e=j();d(0,"i",21),T("click",function(){return F(e),S(m(2).donePressed())}),u()}}function S2e(o,t){if(1&o){const e=j();d(0,"i",22),T("click",function(){return F(e),S(m(2).addFavorite())}),u()}}function P2e(o,t){if(1&o){const e=j();d(0,"i",23),T("click",function(){return F(e),S(m(2).clearFavorite())}),u()}}function I2e(o,t){if(1&o&&(d(0,"h1",116),b(1,F2e,1,0,"i",16),P(2,"nuv-icon",17),d(3,"span",18),v(4),u(),b(5,S2e,1,0,"i",19),b(6,P2e,1,0,"i",20),u()),2&o){const e=m();p(1),g("ngIf",e.doneVisible),p(1),g("iconName",e.listResponse.icon),p(2),ce(" ",e.listResponse.title," "),p(1),g("ngIf",!e.favorite),p(1),g("ngIf",e.favorite)}}function A2e(o,t){if(1&o){const e=j();d(0,"span",37),T("click",function(){return F(e),S(m(2).add.emit())}),P(1,"i",45),d(2,"span",119),v(3,"Add"),u()()}}function O2e(o,t){if(1&o&&(d(0,"div",125),P(1,"nuv-icon",101),u()),2&o){const e=m().$implicit;p(1),g("iconName",e.icon)}}function R2e(o,t){if(1&o){const e=j();d(0,"span",37),T("click",function(n){F(e);const i=m(2).$implicit,a=m().$implicit;return m(2).rowSelectedWithTag(i.tag,a),S(n.stopPropagation())}),v(1),u()}if(2&o){const e=m(2).$implicit,r=m().$implicit,n=m(2);p(1),ce(" ",n.getContent(r,e)," ")}}function L2e(o,t){if(1&o&&(d(0,"div",105),v(1),u()),2&o){const e=m(2).$implicit,r=m().$implicit,n=m(2);p(1),ce(" ",n.getContent(r,e)," ")}}function B2e(o,t){if(1&o&&(d(0,"div",128)(1,"div",129)(2,"div",130)(3,"label",131),v(4),u()(),d(5,"div",132),b(6,R2e,2,1,"span",103),d(7,"button",133),P(8,"i",134),u(),b(9,L2e,2,1,"div",135),u()()()),2&o){const e=m().$implicit;p(4),ae(e.header),p(2),g("ngIf",e.tag),p(3),g("ngIf",!e.tag)}}function N2e(o,t){1&o&&(d(0,"div",126),b(1,B2e,10,3,"div",127),u()),2&o&&g("ngSwitch",t.$implicit.fieldType)}function H2e(o,t){if(1&o){const e=j();d(0,"div",120),T("click",function(){const i=F(e).$implicit;return S(m(2).rowTapped(i))})("cdkDragMoved",function(n){const a=F(e).$implicit;return S(m(2).onDragMoved(n,a))})("cdkDragEnded",function(n){const a=F(e).$implicit;return S(m(2).onDragEnd(n,a))}),d(1,"div",121),b(2,O2e,2,1,"div",122),d(3,"div",123),b(4,N2e,2,1,"div",124),u()()()}if(2&o){const e=t.$implicit,r=t.index,n=m(2);g("cdkDragData",r)("cdkDragStartDelay",25),p(2),g("ngIf",e.icon),p(2),g("ngForOf",null==n.columns?null:n.columns.visibleColumns)}}function V2e(o,t){if(1&o&&(d(0,"div",117),b(1,A2e,4,0,"span",103),b(2,H2e,5,4,"div",118),u()),2&o){const e=m();p(1),g("ngIf",e.addVisible),p(1),g("ngForOf",e.currentPageDataSet)}}const $2e=[[["","id","columns"]],"*"],z2e=["#columns","*"];let P8=(()=>{class o{constructor(){this.sortDir="none",this.sortable="false",this.iconName="",this.tag="",this.mobileColumn=!0,this.actualWidth="100"}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["grid-column"]],inputs:{fieldName:"fieldName",visibleFieldName:"visibleFieldName",content:"content",isAction:"isAction",header:"header",fieldType:"fieldType",width:"width",sortable:"sortable",iconName:"iconName",tag:"tag",mobileColumn:"mobileColumn"},decls:0,vars:0,template:function(e,r){},encapsulation:2}),o})(),gk=(()=>{class o{constructor(){this.widths=[],this.isMobile=!1}set columns(e){this._cols=e,this.resize()}get columns(){return this._cols}resize(e,r){let n=r;if(!n){let h=$("#fullWidth").get()[0];if(null==h)return-1;n=h.getBoundingClientRect().width;var i=window.innerWidth;i<480?n=i:(e&&eh.mobileColumn):this.columns.toArray();for(let h of this.visibleColumns)h.width?(this.widths.push(h.width),h.width.indexOf("*")>-1?s.push({col:l,width:h.width}):a+=parseInt(h.width)):(this.widths.push("*"),s.push({col:l})),l++;if(n){let h=n-a;for(let _ of s)this.widths[_.col]=(h/s.length).toString()}l=0;for(let h of this.visibleColumns)h.actualWidth=this.widths[l++];var c=0;for(let h of this.widths)c+=parseInt(h);return c}return 0}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["grid-columns"]],contentQueries:function(e,r,n){if(1&e&&Kt(n,P8,4),2&e){let i;ze(i=Ye())&&(r.columns=i)}},ngContentSelectors:V0e,decls:1,vars:0,template:function(e,r){1&e&&(_i(H0e),Wr(0))},encapsulation:2}),o})(),Y2e=(()=>{class o{constructor(e,r,n,i,a,s,l,c,h){this.nuviotClient=e,this.route=r,this.router=n,this.menuService=i,this.mruService=a,this.location=s,this.favoriteService=l,this.popupService=c,this.storage=h,this._scrollableHeight=400,this._topMargin=50,this._bottomMargin=30,this.root="",this.isVisible=!0,this.dragStartX=0,this.threshold=-150,this.tableWidth=0,this.debug=!1,this.filterVisible=!1,this.selectedCategory="-1",this.select=new ee,this.add=new ee,this.done=new ee,this.selectedRowsChanged=new ee,this.delete=new ee,this.selectWithTag=new ee,this.searchServer=new ee,this.remove=new ee,this.doneVisible=!1,this._addVisible=!1,this.draggingItem=null,this.serverSideSearch=!1,this._selectAll=!1,this.tableTitle="",this.addMru=!0,this.showTitleBlock=!0,this.filteredSet=[],this.pages=[],this._maxHeight=void 0,this._pageSize=5e3,this.currentPage=1,this.totalPages=0,this.recordCount=0,this.recordStartCount=0,this.recordEndCount=0,this.showDrafts=!1,this.showDeleted=!1,this.loading=!1,He.production&&(this.root=`/${He.moduleRouteHome}`),this._onHeaderClickSubscription=i.onHeaderClick.subscribe(C=>{switch(C){case"filter":this.filterVisible=!this.filterVisible,window.setTimeout(()=>{this.resizeHeight()});break;case"add":this.add.emit()}});var _=navigator.userAgent;this.filterVisible=!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS/i.test(_)}get addVisible(){return this._addVisible}set addVisible(e){this._addVisible=e}get selectedRecords(){return this._dataSet?this._dataSet?.filter(e=>e.selected):[]}onDragStart(e){this.dragStartX=e.pointerPosition.x}onDragMoved(e,r){const n=e.distance.x;this.draggingItem=r,n>0&&e.source._dragRef.reset()}onDragEnd(e,r){e.source.getFreeDragPosition().x-this.dragStartX{this._dataSet=this._pagedData.items,r?(this.filteredSet=this._dataSet,this.currentPage=1,this.setPagedDataSet()):this.refreshData(),setTimeout(()=>{this.menuService.filterVisible=!0,this.menuService.backVisible=!0,this.menuService.addVisible=this.addVisible,this.resizeHeight()},100)}))}get data(){return this._pagedData}setFavorite(){var e=this;return E(function*(){let n=(yield e.favoriteService.getUserFavorites()).modules.find(i=>i.moduleKey==He.moduleRouteHome);n&&(e.favorite=n.items.find(i=>i.link==e.router.url))})()}set listResponse(e){if(this._listResponse=e,e){this.data=new n0(e);let r=window.location.pathname,n=r.substring(1).split("/");this.addMru&&this.mruService.addMRU({name:e.title,type:"List",moduleKey:He.moduleRouteHome,icon:e.icon,summary:e.help,route:n,link:r}),this.setFavorite(),setTimeout(()=>{this.menuService.filterVisible=!0,this.menuService.backVisible=!0,this.menuService.addVisible=this.addVisible,this.resizeHeight()},500)}}get listResponse(){return this._listResponse}set standardFields(e){e&&(this.columns=new gk,this.columns.columns=new Pd,this.columns.columns.reset([{fieldName:"icon",header:"",width:"64",fieldType:"icon",actualWidth:"64",sortable:"false",sortDir:"none"},{fieldName:"name",mobileColumn:!0,header:"Name",width:"*",fieldType:"text",actualWidth:"200",sortable:"true",sortDir:"none"},{fieldName:"labels",header:"Labels",width:"150",fieldType:"labels",actualWidth:"150",sortDir:"none"},{fieldName:"category",mobileColumn:!0,header:"Category",width:"150",fieldType:"text",actualWidth:"150",sortable:"true",sortDir:"none"},{header:"",width:"60",fieldType:"remove",actualWidth:"60",sortable:"false",sortDir:"none"}]))}setScrollableHeight(){this.scrollableHeight=window.innerHeight-(this._topMargin+300)}get topMargin(){return this._topMargin.toString()}set topMargin(e){this._topMargin=parseInt(e),this.setScrollableHeight()}get bottomMargin(){return this._bottomMargin.toString()}set bottomMargin(e){this._bottomMargin=parseInt(e),this.setScrollableHeight()}get selectAll(){return this._selectAll}set selectAll(e){if(this._selectAll=e,this.currentPageDataSet)for(let r of this.currentPageDataSet)r.selected=e;this.selectedRowsChanged.emit(this.selectedRecords)}get scrollableHeight(){return this.fixedHeight?Number.parseInt(this.fixedHeight):this._scrollableHeight}set scrollableHeight(e){this._scrollableHeight=e}set fixedWidth(e){this._fixedWidth=e?parseInt(e):void 0}get fixedWidth(){return this._fixedWidth?this._fixedWidth.toString():void 0}set fixedHeight(e){this._fixedHeight=e?parseInt(e):void 0}get fixedHeight(){return this._fixedHeight?this._fixedHeight.toString():void 0}set searchText(e){this._searchText=e,this.searchNow()}get searchText(){return this._searchText}columnFilter(e,r,n){for(let i of n){const a=e[i.fieldName]?.toString().toLowerCase();if(a&&a.indexOf(r)>-1)return!0}return!1}refreshData(){let e;if(this.searchText){const r=this.searchText.toLowerCase();e=this.dataSet.filter(n=>this.columnFilter(n,r,this.columns.columns))}else e=this.dataSet;this.selectedCategory&&"-1"!=this.selectedCategory&&(e=e.filter(r=>r.categoryKey==this.selectedCategory)),console.log("Filtered",e,this.selectedCategory,this.searchText),this.filteredSet=e,this.sortColumn&&("asc"==this.sortColumn.sortDir?this.filteredSet.sort((r,n)=>r[this.sortColumn.fieldName]>n[this.sortColumn.fieldName]?1:-1):"desc"==this.sortColumn.sortDir&&this.filteredSet.sort((r,n)=>r[this.sortColumn.fieldName]>n[this.sortColumn.fieldName]?-1:1)),this.setPagedDataSet()}serverSearch(){this.searchText?this.searchServer.emit(this.searchText):this.filteredSet=this.dataSet}searchNow(){if(!this.serverSideSearch){if(this.searchText){const e=this.searchText.toLowerCase();this.filteredSet=this.dataSet.filter(r=>this.columnFilter(r,e,this.columns.columns))}else this.filteredSet=this.dataSet;this.currentPage=1,this.setPagedDataSet()}}get dataSet(){return this._dataSet}set dataSet(e){e?(this._dataSet=e,this.filteredSet=this._dataSet,this.currentPage=1,this.setPagedDataSet(),this.resizeHeight()):(this._dataSet=null,this.currentPage=1,this.filteredSet=null)}setPagedDataSet(){var e=this;return E(function*(){if(e.filteredSet){yield e.restoreGridView(),e.recordCount=e.filteredSet.length,e.totalPages=Math.floor(e.recordCount/e.pageSize)+1,e.recordStartCount=(e.currentPage-1)*e.pageSize,e.recordEndCount=e.recordStartCount+e.pageSize,e.recordEndCount=Math.min(e.recordEndCount,e.filteredSet.length),e.currentPageDataSet=e.filteredSet.slice(e.recordStartCount,e.recordEndCount);let r=!0;for(let n of e.currentPageDataSet)r=n.selected&&r;if(e.selectAll=r,e.pages=[],e.totalPages>1){e.pages.push({enabled:e.currentPage>1,name:"Previous",current:!1,visible:!0});for(let n=0;n{let a=this.columns?.resize(this.maxWidth,this._fixedWidth);a>0?(this.tableWidth=a,window.clearInterval(i)):this.tableWidth=600},100)}ngOnInit(){var e=this;return E(function*(){e.resizeObservable$=So(window,"resize"),e.resizeSubscription$=e.resizeObservable$.subscribe(r=>{r&&e.resizeHeight()})})()}ngOnDestroy(){this.resizeSubscription$&&(this.resizeSubscription$.unsubscribe(),this.resizeSubscription$=void 0),this._onHeaderClickSubscription.unsubscribe(),this.menuService.addVisible=!1,this.menuService.filterVisible=!1,this.menuService.cancelVisible=!1}showPage(e){"Previous"==e.name?this.currentPage>1&&(this.currentPage--,this.setPagedDataSet()):"Next"==e.name?this.currentPagel[i]>c[i]?1:-1);let s=e.columns.columns.find(l=>l.fieldName==i);s?s.sortDir="asc":console.error("[SLTable__restoreGridView] - could not find column",i)}else if("desc"===a){e.filteredSet.sort((l,c)=>l[i]>c[i]?-1:1);let s=e.columns.columns.find(l=>l.fieldName==i);s?s.sortDir="desc":console.error("[SLTable__restoreGridView] - could not find column",i)}}e.resizeHeight()})()}getGridValue(e,r){if(e&&r)return r.split(".").reduce((n,i)=>n?.[i],e)}isEmptyGridValue(e){return null==e||"string"==typeof e&&0===e.trim().length}compareGridValues(e,r,n){const i=this.isEmptyGridValue(e),a=this.isEmptyGridValue(r);if(i&&a)return 0;if(i)return 1;if(a)return-1;let s=0;return"string"==typeof e&&"string"==typeof r?s=e.trim().localeCompare(r.trim(),void 0,{numeric:!0,sensitivity:"base"}):e>r?s=1:e{const l=r.getGridValue(a,n),c=r.getGridValue(s,n);return r.compareGridValues(l,c,i)}),yield r.storage.setItemAsync(r.getSortKey(),`${n}-${i}`),r.currentPage=1,r.setPagedDataSet()})()}getContent(e,r){if(r.fieldName){let n=r.fieldName.split(".");if(1==n.length)return e[r.fieldName];if(2==n.length)return e[n[0]]?e[n[0]][n[1]]:"";if(3==n.length)return e.field[0]&&e[n[0]][n[1]]?e[n[0]][n[1]][n[2]]:""}else if(r.content)return r.content}rowSelectedWithTag(e,r){var n=this;return E(function*(){if("remove"===e){if(yield n.popupService.showConfirmDelete("item"))if(n.remove.observed)n.remove.emit(r);else{let i=n._dataSet.indexOf(r);if(n.listResponse?.deleteUrl){let a=n.listResponse.deleteUrl.replace("{id}",r.id);(yield n.nuviotClient.delete(a)).successful&&(n.delete?.emit(r),n._dataSet.splice(i,1),n.setPagedDataSet())}else n.delete?.emit(r),n._dataSet.splice(i,1),n.setPagedDataSet()}}else n.selectWithTag.emit({tag:e,data:r})})()}contentScroll(e){let r=e.srcElement;r.scrollHeight-r.clientHeight-e.srcElement.scrollTop<10&&this.listResponse.hasMoreRecords&&this.loadMore()}showDraftsChanged(){var e=this;return E(function*(){let r={nextPartitionKey:e._listResponse.nextPartitionKey,nextRowKey:e._listResponse.nextRowKey,pageIndex:e._listResponse.pageIndex,pageSize:e._listResponse.pageSize,showDeleted:e.showDeleted,showDrafts:e.showDrafts},n=yield e.nuviotClient.getListResponse(e.data.url,r);e._listResponse=n,n.successful&&(e.dataSet=n.model,e.setPagedDataSet(),e.resizeHeight())})()}showDeletedChanged(){var e=this;return E(function*(){let r={nextPartitionKey:e._listResponse.nextPartitionKey,nextRowKey:e._listResponse.nextRowKey,pageIndex:e._listResponse.pageIndex,pageSize:e._listResponse.pageSize,showDeleted:e.showDeleted,showDrafts:e.showDrafts},n=yield e.nuviotClient.getListResponse(e.data.url,r);e._listResponse=n,n.successful&&(e.dataSet=n.model,e.setPagedDataSet(),e.resizeHeight())})()}rowTapped(e){console.log("Row tapped",e),this.select.emit(e)}rowSelected(e){this.selectedRowsChanged.emit(this.selectedRecords)}loadMore(){var e=this;return E(function*(){if(!e.loading){e.loading=!0;let r={nextPartitionKey:e._listResponse.nextPartitionKey,nextRowKey:e._listResponse.nextRowKey,pageIndex:e._listResponse.pageIndex+1,pageSize:e._listResponse.pageSize},n=yield e.nuviotClient.getListResponse(e.data.url,r);e._listResponse=n,n.successful&&(e.dataSet=e.dataSet?e.dataSet.concat(n.model):n.model,e.setPagedDataSet(),e.resizeHeight()),e.loading=!1}})()}addFavorite(){let e=this.router.url.split("/");console.log(e),console.log(this.route.snapshot.url),this.favorite={id:Dt.newGuid(),name:this.listResponse.title,type:"List",moduleKey:He.moduleRouteHome,icon:this.listResponse.icon,summary:this.listResponse.help,route:e,link:this.router.url},this.favoriteService.addUserFavorites(this.favorite)}clearFavorite(){this.favoriteService.removeUserFavorite(this.favorite.id),this.favorite=void 0}showFilter(){this.filterVisible=!0,window.setTimeout(()=>{this.resizeHeight()})}hideFilter(){this.filterVisible=!1,window.setTimeout(()=>{this.resizeHeight()})}sendEmail(e){window.location.href=`mailto:${e}`}makePhoneCall(e){document.querySelector("#rc-widget-adapter-frame").contentWindow.postMessage({type:"rc-adapter-new-call",phoneNumber:e,toCall:!0},"*")}donePressed(){this.done.observers.length>0?this.done.emit():this.location.back()}}return o.\u0275fac=function(e){return new(e||o)(O(Ft),O(_o),O(qr),O(K1),O(X1),O(hl),O(Z1),O(eR),O(Hi))},o.\u0275cmp=ne({type:o,selectors:[["app-sl-table"]],contentQueries:function(e,r,n){if(1&e&&Kt(n,gk,5),2&e){let i;ze(i=Ye())&&(r.columns=i.first)}},viewQuery:function(e,r){if(1&e&&Yt($0e,5),2&e){let n;ze(n=Ye())&&(r.fullWidthElement=n.first)}},inputs:{doneVisible:"doneVisible",addVisible:"addVisible",items:"items",data:"data",serverSideSearch:"serverSideSearch",listResponse:"listResponse",standardFields:"standardFields",topMargin:"topMargin",bottomMargin:"bottomMargin",tableTitle:"tableTitle",tableIcon:"tableIcon",addMru:"addMru",showTitleBlock:"showTitleBlock",fixedWidth:"fixedWidth",fixedHeight:"fixedHeight",dataSet:"dataSet",maxHeight:"maxHeight",maxWidth:"maxWidth"},outputs:{select:"select",add:"add",done:"done",selectedRowsChanged:"selectedRowsChanged",delete:"delete",selectWithTag:"selectWithTag",searchServer:"searchServer",remove:"remove"},ngContentSelectors:z2e,decls:23,vars:11,consts:[[2,"padding","20px 20 0px 20px"],["class","full-view","id","table-header",4,"ngIf"],["id","table-toolbar","class","full-view filter-bar top-bar","style","padding:4px; ",3,"ngStyle",4,"ngIf"],["menu","matMenu"],[2,"padding","20px"],["type","checkbox",2,"margin-top","8px",3,"ngModel","ngModelChange"],["type","checkbox",3,"ngModel","ngModelChange"],[2,"margin-top","-15px"],["id","fullWidth",1,"full-view",2,"clear","both","height","1px"],[1,"full-view",2,"position","relative","margin-top","15px"],["class","table-fixed selectable",4,"ngIf"],["class","full-view","style","text-align:center;margin-top:10px;margin-bottom:10px",3,"ngStyle",4,"ngIf"],[1,"tablet-view",2,"position","relative"],["class","phone-view","id","table-header",4,"ngIf"],["class","phone-view","style","text-align:center;margin-top:10px;margin-bottom:10px;overflow-y: scroll; height: 750px;",4,"ngIf"],["id","table-header",1,"full-view"],["style","cursor:pointer;font-size:32px","class","action fa fa-chevron-left",3,"click",4,"ngIf"],["fontSize","32px",3,"iconName"],[2,"color","var(--color-primary-80)"],["class","far fa-star action-favorite","style","margin-left: 10px;",3,"click",4,"ngIf"],["class","fa fa-star action-favorite","style","margin-left: 10px;",3,"click",4,"ngIf"],[1,"action","fa","fa-chevron-left",2,"cursor","pointer","font-size","32px",3,"click"],[1,"far","fa-star","action-favorite",2,"margin-left","10px",3,"click"],[1,"fa","fa-star","action-favorite",2,"margin-left","10px",3,"click"],["fontSize","32px",3,"iconName",4,"ngIf"],["id","table-toolbar",1,"full-view","filter-bar","top-bar",2,"padding","4px",3,"ngStyle"],["style","display:flex",4,"ngIf"],[4,"ngIf"],["style","width:200px","class","form-group",4,"ngIf"],[2,"margin-left","20px","flex-grow","1"],[2,"margin-left","10px"],[1,"form-select",2,"width","90px","display","inline",3,"ngModel","ngModelChange"],["class","action","style","margin-left: 20px;",3,"click",4,"ngIf"],["matIconButton","","aria-label","Example icon-button with a menu",2,"margin-top","10px",3,"matMenuTriggerFor"],[2,"height","18px"],[2,"display","flex"],["placeholder","search","aria-controls","DataTables_Table_2",1,"form-control",2,"margin-left","10px","width","250px",3,"ngModel","ngModelChange"],[1,"action",3,"click"],[1,"fa","fas","fa-filter",2,"font-size","36px"],["type","search","placeholder","Search","aria-controls","DataTables_Table_2",1,"form-control",3,"ngModel","ngModelChange"],[1,"form-group",2,"width","200px"],[1,"form-select",3,"ngModel","change","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[1,"action",2,"margin-left","20px",3,"click"],[1,"fa-solid","fa-plus"],[2,"margin-left","5px"],[1,"table-fixed","selectable"],["slTable",""],[1,"full-view"],[3,"ngClass","ngStyle","click",4,"ngFor","ngForOf"],[2,"width","32px","padding-left","0","padding-right","0"],[3,"ngStyle","scroll"],[3,"ngClass","click",4,"ngFor","ngForOf"],[3,"ngClass","ngStyle","click"],["style","text-wrap: nowrap;",4,"ngIf"],["type","checkbox",3,"ngModel","ngModelChange",4,"ngIf"],[2,"text-wrap","nowrap"],[3,"ngClass","click"],[3,"ngSwitch","ngStyle","ngClass",4,"ngFor","ngForOf"],[2,"width","8px","padding","0px"],[3,"ngSwitch","ngStyle","ngClass"],["style","text-align:right",4,"ngSwitchCase"],["style","text-align:right;margin-right:15px",4,"ngSwitchCase"],["style","text-align:right",3,"click",4,"ngSwitchCase"],["style","text-align:center",4,"ngSwitchCase"],["style","text-align:left;text-overflow: ellipsis;overflow: hidden;",3,"ngStyle",4,"ngSwitchCase"],["style","text-align:left;text-overflow: ellipsis;",4,"ngSwitchCase"],["style","text-overflow:ellipsis;overflow:hidden;text-align: right;",4,"ngSwitchCase"],["style","text-align: center;",3,"click",4,"ngSwitchCase"],[4,"ngSwitchCase"],["style","text-align:center","onclick","window.event.stopPropagation();",4,"ngSwitchCase"],["style","text-align:center;margin-top:10px",4,"ngSwitchCase"],["style","text-align: center;",4,"ngSwitchCase"],["class","tbl-text-content",3,"ngStyle",4,"ngSwitchDefault"],[2,"text-align","right"],[2,"text-align","right","margin-right","15px"],[2,"text-align","right",3,"click"],[1,"fa","fa-trash","action-danger",2,"text-align","right","font-size","16pt","cursor","pointer"],[2,"text-align","center"],["style","margin-left: 10px;color:var(--color-primary-80)","class","fa fa-comments",4,"ngIf"],[1,"fa","fa-comments",2,"margin-left","10px","color","var(--color-primary-80)"],[2,"text-align","left","text-overflow","ellipsis","overflow","hidden",3,"ngStyle"],[2,"text-align","left","text-overflow","ellipsis"],[4,"ngFor","ngForOf"],[1,"entity-labels__pill",3,"ngStyle"],[1,"entity-labels__pill-text"],[2,"text-overflow","ellipsis","overflow","hidden","text-align","right"],[2,"text-align","center",3,"click"],[2,"text-align","center","font-size","16pt","cursor","pointer"],[3,"innerHTML"],["onclick","window.event.stopPropagation();",2,"text-align","center"],["name","selectedCampaignIds","type","checkbox",1,"selected-campaign-ids",3,"ngModel","change","ngModelChange"],[1,"fa","fa-star",2,"color","gold"],[1,"fa",2,"color","gold",3,"ngClass"],[2,"text-align","center","margin-top","10px"],["style","font-size:16pt;",3,"class",4,"ngIf"],[2,"font-size","16pt"],["style","font-size:24pt;","class","fas column.iconName",4,"ngIf"],["fontSize","24px",3,"iconName",4,"ngIf"],[1,"fas","column.iconName",2,"font-size","24pt"],["fontSize","24px",3,"iconName"],[1,"tbl-text-content",3,"ngStyle"],["class","action",3,"click",4,"ngIf"],["style","text-overflow:ellipsis;display:inline-block;overflow:hidden",4,"ngIf"],[2,"text-overflow","ellipsis","display","inline-block","overflow","hidden"],["class","draft",4,"ngIf"],[1,"draft"],[1,"full-view",2,"text-align","center","margin-top","10px","margin-bottom","10px",3,"ngStyle"],["style","float:right","class","pager",4,"ngIf"],[1,"pager",2,"float","right"],["class","page",3,"ngClass","click",4,"ngFor","ngForOf"],["class","page","class","action",3,"click",4,"ngIf"],[1,"page",3,"ngClass","click"],[3,"click",4,"ngFor","ngForOf"],[3,"click"],["id","table-header",1,"phone-view"],[1,"phone-view",2,"text-align","center","margin-top","10px","margin-bottom","10px","overflow-y","scroll","height","750px"],["class","testing","style","position: relative; display: block; text-align: left; z-index: 2; overflow-x: visible; border-top: 1px solid #ccc; width: 100%;","cdkDrag","","cdkDragLockAxis","x",3,"cdkDragData","cdkDragStartDelay","click","cdkDragMoved","cdkDragEnded",4,"ngFor","ngForOf"],[2,"align-items","right"],["cdkDrag","","cdkDragLockAxis","x",1,"testing",2,"position","relative","display","block","text-align","left","z-index","2","overflow-x","visible","border-top","1px solid #ccc","width","100%",3,"cdkDragData","cdkDragStartDelay","click","cdkDragMoved","cdkDragEnded"],[2,"display","flex","align-items","center","margin-bottom","10px"],["style","text-align: left; margin-right: 10px;",4,"ngIf"],[2,"flex","1"],[3,"ngSwitch",4,"ngFor","ngForOf"],[2,"text-align","left","margin-right","10px"],[3,"ngSwitch"],["class","tbl-text-content",4,"ngSwitchDefault"],[1,"tbl-text-content"],[2,"display","block"],[2,"width","120px","display","inline-block"],[2,"font-weight","bold"],[2,"display","inline-block"],[1,"garbage-bin",2,"height","100%","width","150px","position","absolute","transform","translateY(-50%)","top","50%","right","-150px","transition","right 0.5s ease","padding","10px 20px","background-color","red","color","white","border","none","border-radius","5px"],[1,"fa","fa-trash",2,"font-size","2em"],["style","text-overflow: ellipsis; display: inline-block; overflow: hidden;",4,"ngIf"]],template:function(e,r){1&e&&(_i($2e),d(0,"div",0),Wr(1,0,["#columns",""]),b(2,U0e,7,5,"h1",1),b(3,Z0e,7,5,"h1",1),b(4,obe,30,12,"div",2),d(5,"mat-menu",null,3)(7,"div",4)(8,"input",5),T("ngModelChange",function(i){return r.showDrafts=i})("ngModelChange",function(){return r.showDraftsChanged()}),u(),v(9," Show Drafts "),u(),d(10,"div",4)(11,"input",6),T("ngModelChange",function(i){return r.showDeleted=i})("ngModelChange",function(){return r.showDeletedChanged()}),u(),d(12,"span",7),v(13," Show Deleted"),u()()(),P(14,"div",8),d(15,"div",9),b(16,Vbe,10,5,"table",10),b(17,Wbe,4,6,"div",11),u(),d(18,"div",12),b(19,w2e,10,5,"table",10),b(20,T2e,4,6,"div",11),u(),b(21,I2e,7,5,"h1",13),b(22,V2e,3,2,"div",14),u()),2&e&&(p(2),g("ngIf",r.listResponse&&r.showTitleBlock),p(1),g("ngIf",!r.listResponse&&r.showTitleBlock&&r.tableIcon&&r.tableTitle),p(1),g("ngIf",r.filterVisible&&r.currentPageDataSet),p(4),g("ngModel",r.showDrafts),p(3),g("ngModel",r.showDeleted),p(5),g("ngIf",r.dataSet),p(1),g("ngIf",r.currentPageDataSet),p(2),g("ngIf",r.dataSet),p(1),g("ngIf",r.currentPageDataSet),p(1),g("ngIf",r.listResponse&&r.showTitleBlock),p(1),g("ngIf",r.currentPageDataSet))},dependencies:[Mh,Fo,gt,ve,ml,gc,Kp,Hw,uk,Qo,en,Ht,fl,No,mt,It,D0e,A0e,B0e,H6,V6,Y6,tf,$6,MM],styles:['[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}.blade[_ngcontent-%COMP%]{border:1px solid var(--color-border-panel);overflow:hidden;width:500px}.blade-content[_ngcontent-%COMP%]{border:1px solid var(--color-border-panel);overflow-y:auto;width:500px;height:calc(100vh - 180px)}.blade-diagram[_ngcontent-%COMP%]{border:1px solid var(--color-border-panel);overflow:hidden;height:calc(100vh - 84px)}.blade-header[_ngcontent-%COMP%]{border-bottom:1px solid var(--color-panel-border);background-color:var(--color-bg-panel-header);padding:6px 6px 6px 16px}.blade-header[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700;color:var(--color-fg-panel-header)}.blade-actions[_ngcontent-%COMP%]{text-align:right;right:0;float:right;flex-grow:1}.blade-actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:4pt;color:var(--color-fg-panel-header)}.blade-actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{cursor:pointer}.blade-actions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:8pt;border-radius:4pt;margin:4pt;color:var(--color-fg-panel-header);cursor:pointer}.blade-actions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{color:var(--color-fg-panel-header-active)}html[_ngcontent-%COMP%]{height:100%;height:100vh}body[_ngcontent-%COMP%]{font:100% Helvetica,sans-serif;color:var(--color-fg);margin:0;height:100%;width:100%}.main-icon[_ngcontent-%COMP%]{width:400px;height:122px;margin-top:100px}.action-inline[_ngcontent-%COMP%]{color:var(--color-nav-link)!important;cursor:pointer!important;text-decoration:none}.action-inline[_ngcontent-%COMP%]:hover{color:var(--color-nav-link-active)!important}.action[_ngcontent-%COMP%], .action-large[_ngcontent-%COMP%]{color:var(--color-nav-link)!important;cursor:pointer!important;margin-right:5px;text-decoration:none;padding:5px 8px;border-radius:4px}.action-favorite[_ngcontent-%COMP%]{color:gold!important;cursor:pointer!important;text-decoration:none}.action[_ngcontent-%COMP%]:hover, .action-large[_ngcontent-%COMP%]:hover{color:var(--color-nav-link-active)!important}.action[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .action-large[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:4pt}.action-danger[_ngcontent-%COMP%]{color:var(--color-danger)!important;cursor:pointer!important;margin-right:5px;margin-left:10px;padding:5px;border-radius:4px}.action-large[_ngcontent-%COMP%]{font-size:18pt}.btn-full-size[_ngcontent-%COMP%]{width:160px;height:40px;font-size:16pt;padding:4px;font-weight:700;margin:4pt}.btn-brand[_ngcontent-%COMP%]{background-color:var(--color-primary-button);color:var(--color-filled-button-text)}@media screen and (min-width: 768px){.panel[_ngcontent-%COMP%]{overflow:hidden}}@media screen and (max-width: 480px){.panel[_ngcontent-%COMP%]{overflow:hidden}}.png[_ngcontent-%COMP%] servanel-header[_ngcontent-%COMP%]{height:40px;padding:6px 6px 6px 16px}.panel-header[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700;display:block!important}.panel-content[_ngcontent-%COMP%]{clear:both;padding:6px;color:var(--color-fg-panel)}.panel-actions[_ngcontent-%COMP%]{position:sticky;top:0;text-align:right;right:0;background-color:#000;flex-grow:1;padding:3px;cursor:pointer;color:var(--color-nav-link)!important;z-index:100}.panel-footer[_ngcontent-%COMP%]{padding:10px;align-content:right;border-top:1px solid var(--color-fg-panel)}.panel-title[_ngcontent-%COMP%]{font-size:16pt;font-weight:700;float:left}.panel-actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:4pt}.panel-actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{cursor:pointer;color:var(--color-nav-link-active)!important}.panel-actions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:8pt;border-radius:4pt;margin:4pt;cursor:pointer}.form-command-bar[_ngcontent-%COMP%]{position:sticky;top:0;z-index:100;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;min-height:2rem;padding:.2rem .5rem;background:var(--color-bg-panel);border-bottom:1px solid var(--color-border-panel);box-shadow:0 1px 3px var(--color-shadow-panel)}.form-command-bar__labels[_ngcontent-%COMP%]{min-width:0}.form-command-bar__actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.25rem}.form-command-bar__action[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--color-fg-panel-link);cursor:pointer;font:inherit;font-size:.875rem;line-height:1;padding:.3rem .55rem}.form-command-bar__action[_ngcontent-%COMP%]:hover{background:var(--color-bg-panel-active);border-color:var(--color-border-panel);color:var(--color-fg-panel-link-active)}.form-command-bar__action[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:.875rem}.form-command-bar__action--primary[_ngcontent-%COMP%]{background:var(--color-primary-button);border-color:var(--color-primary-button);color:var(--color-filled-button-text)}.form-command-bar__action--primary[_ngcontent-%COMP%]:hover{background:var(--color-primary-button-hover);border-color:var(--color-primary-button-hover);color:var(--color-filled-button-text)}.form-command-bar__dirty[_ngcontent-%COMP%]{font-weight:800;margin-left:.125rem}.panel-footer[_ngcontent-%COMP%]{padding:10px;align-content:right;border-top:1px solid var(--color-fg-panel)}.panel-title[_ngcontent-%COMP%]{font-size:16pt;font-weight:700;float:left}@media (max-width: 900px){.form-command-bar[_ngcontent-%COMP%]{grid-template-columns:1fr;align-items:stretch}.form-command-bar__actions[_ngcontent-%COMP%]{justify-content:flex-start}}.nv-hor-menu[_ngcontent-%COMP%]{margin-top:6px}.nv-hor-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-right:20px}.org-info[_ngcontent-%COMP%]{color:var(--color-nav-link-active)}.nv-app-header[_ngcontent-%COMP%]{color:var(--color-fg-menu);background-color:var(--color-bg-menu);height:60px;width:100%;border-bottom:2px solid var(--color-border-panel)}.nv-app-header[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{padding-right:.5rem}.nv-app-header[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style:none;padding:0}.nv-app-header[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline;margin-left:0;font-size:16pt}.nv-app-header[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--color-fg-menu-active)}.nv-app-header[_ngcontent-%COMP%] .nv-app-header-left[_ngcontent-%COMP%]{float:left;margin-left:10px}.nv-app-header[_ngcontent-%COMP%] .nv-app-header-right[_ngcontent-%COMP%]{float:right;margin-right:10px;height:32px}.task-search-bar[_ngcontent-%COMP%]{float:left;width:80%;height:32px;margin-bottom:10px}.search-button[_ngcontent-%COMP%]{float:right;padding:5px;margin-left:2px;height:32px;color:var(--color-main-icon);background-color:var(--color-primary-button);border-radius:4px}.dashboard-widget[_ngcontent-%COMP%]{margin-right:1em;clear:right;float:left;position:absolute;left:0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;width:100%;height:100%}.dashboard-widget.animate[_ngcontent-%COMP%]{transition:all .5s ease-out}.dashboard-widget.active[_ngcontent-%COMP%]{z-index:100000}.cdk-overlay-container[_ngcontent-%COMP%]{z-index:12000}.btn-container[_ngcontent-%COMP%]{margin:50% 0%}.demo[_ngcontent-%COMP%]{touch-action:none}.telem[_ngcontent-%COMP%] tr.telem-hdr[_ngcontent-%COMP%]{background-color:var(--color-bg-panel-header)}.telem[_ngcontent-%COMP%] tr.telem-hdr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:12px;border-color:var(--color-fg-panel-header);border-style:solid;border-width:1px;border-collapse:separate;color:var(--color-fg-panel-header);padding:2px}.telem[_ngcontent-%COMP%] tr.telem-row[_ngcontent-%COMP%]{font-family:Lucida Console,Monaco,monospace;font-size:12px;border-bottom-color:#c5cbd1}.telem[_ngcontent-%COMP%] tr.telem-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:2px;padding-left:2px;color:var(--color-fg)}.mat-tab-label-content[_ngcontent-%COMP%]{color:var(--color-fg)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:var(--color-primary)!important}.container[_ngcontent-%COMP%]{margin-left:0!important;margin-right:0!important}@media screen and (min-width: 1024px){.full-view-flex[_ngcontent-%COMP%]{display:flex!important;flex-wrap:wrap!important}.full-view[_ngcontent-%COMP%]{display:visible!important}.tablet-view-flex[_ngcontent-%COMP%], .tablet-view[_ngcontent-%COMP%], .phone-view[_ngcontent-%COMP%]{display:none!important}}@media screen and (min-width: 481px) and (max-width: 1023px){.tablet-view-flex[_ngcontent-%COMP%]{display:flex!important;flex-wrap:wrap!important}.full-view-flex[_ngcontent-%COMP%], .full-view[_ngcontent-%COMP%], .phone-view[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width: 480px){.phone-view[_ngcontent-%COMP%]{display:visible!important}.full-view-flex[_ngcontent-%COMP%], .full-view[_ngcontent-%COMP%], .tablet-view-flex[_ngcontent-%COMP%], .tablet-view[_ngcontent-%COMP%]{display:none!important}}@media screen and (min-width: 1024px){.router-container[_ngcontent-%COMP%]{max-width:1800px}}a.child-term[_ngcontent-%COMP%]{color:var(--color-nav-link)!important;text-decoration:none;font-weight:700}a.child-term[_ngcontent-%COMP%]:hover{color:var(--color-nav-link-active)!important;text-decoration:underline}.busyMsg[_ngcontent-%COMP%]{color:#fff;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1000;font-size:16pt}.busyMask[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5;z-index:999}.icon-image[_ngcontent-%COMP%]{border-radius:25%}.srcConnectorEp[_ngcontent-%COMP%]{position:absolute;bottom:46%;right:-5px;width:1em;height:1em;background-color:orange;cursor:pointer;box-shadow:0 0 2px #000;transition:box-shadow .25s ease-in}.diagram-container[_ngcontent-%COMP%]{background-color:var(--color-bg);position:relative;height:calc(100vh - 305px);width:calc(100vw - 70px);top:0;border:1px solid gray;overflow:auto}.diagram-node[_ngcontent-%COMP%]:hover{background-color:#5c96bc;color:#fff}.ep[_ngcontent-%COMP%]:hover{box-shadow:0 0 6px #000}.dragHover[_ngcontent-%COMP%]{border:2px solid orange}.node-name[_ngcontent-%COMP%]{color:var(--color-primary)}path[_ngcontent-%COMP%], .jtk-endpoint[_ngcontent-%COMP%]{cursor:pointer}div.mention-card[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex-grow:1}div.mention-card[_ngcontent-%COMP%], .tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%]{width:240px;display:flex;background:white;border:1px solid #ccc;border-radius:3px;box-shadow:0 4px 8px #222f3e1a;padding:8px;font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}div.mention-card[_ngcontent-%COMP%]:after, .tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%]:after{content:"";clear:both;display:table}div.mention-card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin:0 0 8px;padding:0;line-height:normal;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}div.mention-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.tox[_ngcontent-%COMP%] div.mention-card[_ngcontent-%COMP%] img.avatar[_ngcontent-%COMP%], div.mention-card[_ngcontent-%COMP%] img.avatar[_ngcontent-%COMP%]{width:48px;height:48px;margin-right:8px;float:left}.save-bar[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:5px}.save-bar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child{margin-right:10px}.save-bar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child .btn[_ngcontent-%COMP%]{margin:0}.filter-bar[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline}.table-fixed[_ngcontent-%COMP%]{-moz-border-radius:10px;margin-bottom:15px;border-spacing:0}.table-fixed[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{width:100%}.table-fixed[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:4px;padding-top:11px;padding-bottom:11px}@media (min-width: 768px){th[_ngcontent-%COMP%]:first-of-type{border-top-left-radius:6px}}@media (min-width: 768px){.table-fixed[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-of-type{border-top-right-radius:6px;padding-top:11px;padding-bottom:11px}}.sort-asc[_ngcontent-%COMP%]{background-image:url(/app/ui-shared/assets/arrow_up.png);background-position:right 5px top 50%;background-repeat:no-repeat}.sort-desc[_ngcontent-%COMP%]{background-image:url(/app/ui-shared/assets/arrow_down.png);background-position:right 5px top 50%;background-repeat:no-repeat}.table-fixed[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{overflow-y:auto;width:100%}.table-fixed[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .table-fixed[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .table-fixed[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .table-fixed[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .table-fixed[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{display:block}.table-fixed[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .table-fixed[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{float:left;border-bottom-width:0}.table-fixed[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{clear:both;border-bottom-width:0}tr[_ngcontent-%COMP%]:nth-child(odd){background-color:var(--color-bg-list-row);color:var(--color-fg-list-row);border-bottom-width:1px}tr[_ngcontent-%COMP%]:nth-child(even){background-color:var(--color-bg-list-alt-row);color:var(--color-fg-list-alt-row);border-bottom-width:1px}tr.deleted[_ngcontent-%COMP%]{color:silver!important}tr.deleted[_ngcontent-%COMP%] td[_ngcontent-%COMP%], tr.deleted[_ngcontent-%COMP%] td[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-decoration:line-through}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid #c0c0c0;height:40px}thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:700;color:var(--color-fg-panel-header);background-color:var(--color-bg-panel-header)}tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:4px;padding-top:2px;font-size:16px}tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-left:4px}tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .draft[_ngcontent-%COMP%]{font-style:italic}.tbl-text-content[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;display:inline-block;text-overflow:ellipsis;background-color:transparent!important}.testing[_ngcontent-%COMP%]:hover, .testing[_ngcontent-%COMP%]:active{cursor:pointer;background-color:var(--color-bg-list-row-hover);color:var(--color-fg-list-row-hover);border:1px}.table-fixed[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:var(--color-bg-list-row-hover);color:var(--color-fg-list-row-hover)}.table-fixed[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%]{color:var(--color-fg-list-row-hover)}.pager[_ngcontent-%COMP%] .page[_ngcontent-%COMP%]{padding:8px 12px;border:1px solid transparent;border-radius:2px;text-decoration:none;background-color:--color-bg-menu;color:--color-fg-menu;cursor:pointer}.pager[_ngcontent-%COMP%] .pageEnabled[_ngcontent-%COMP%]{cursor:pointer}.pager[_ngcontent-%COMP%] .pageEnabled[_ngcontent-%COMP%]:hover{border:1px solid silver;background:linear-gradient(to bottom,#9c9c9c 0%,#3c3c3c 100%);color:#fff}.pager[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{border:1px solid silver;background-color:--color-bg-menu;color:--color-fg-menu}tbody[_ngcontent-%COMP%]{border-top:1px solid black;border-left:1px solid silver;border-right:1px solid silver;border-bottom:1px solid silver;background-color:var(--color-bg)}@media (min-width: 768px){.top-bar[_ngcontent-%COMP%]{display:flex}}.entity-labels__pill[_ngcontent-%COMP%]{align-items:center;border-radius:999px;display:inline-flex;font-size:.75rem;font-weight:700;gap:.25rem;line-height:1;max-width:14rem;padding:.25rem .45rem}.entity-labels__pill-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-labels__pill-remove[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;background:transparent;border:0;color:inherit;cursor:pointer;font:inherit;font-size:.875rem;line-height:.75;margin:0 -.15rem 0 0;opacity:.75;padding:0 .15rem}.entity-labels__pill-remove[_ngcontent-%COMP%]:hover{opacity:1}']}),o})();function j2e(o,t){if(1&o&&(d(0,"option",7),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.id),p(1),ae(e.text)}}function U2e(o,t){if(1&o){const e=j();d(0,"div")(1,"h4"),v(2,"Step 1. Select a Device Repository"),u(),P(3,"hr",4),d(4,"select",5),T("ngModelChange",function(n){return F(e),S(m().onDeviceRepoSelected(n))})("ngModelChange",function(n){return F(e),S(m().selectedRepoId=n)}),b(5,j2e,2,2,"option",6),u()()}if(2&o){const e=m();p(4),g("ngModel",e.selectedRepoId),p(1),g("ngForOf",e.repos)}}function W2e(o,t){if(1&o&&(d(0,"option",7),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.id),p(1),ae(e.text)}}function G2e(o,t){if(1&o){const e=j();d(0,"div",12)(1,"label"),v(2,"Device Models"),u(),d(3,"select",5),T("ngModelChange",function(n){return F(e),S(m(2).deviceModelSelected(n))})("ngModelChange",function(n){return F(e),S(m(2).selectedDeviceModelId=n)}),b(4,W2e,2,2,"option",6),u()()}if(2&o){const e=m(2);p(3),g("ngModel",e.selectedDeviceModelId),p(1),g("ngForOf",e.deviceTypes)}}function q2e(o,t){if(1&o){const e=j();d(0,"app-sl-table",18),T("select",function(n){return F(e),S(m(2).onDeviceSelected(n))}),d(1,"grid-columns"),P(2,"grid-column",19)(3,"grid-column",20),u()()}2&o&&g("listResponse",m(2).devices)}function K2e(o,t){1&o&&(d(0,"div")(1,"h4"),v(2,"No devices found"),u()())}function Z2e(o,t){if(1&o){const e=j();d(0,"div")(1,"h4"),v(2,"Step 2. Select a Device"),u(),P(3,"hr",4),d(4,"div",8)(5,"div",9)(6,"div",10),b(7,G2e,5,2,"div",11),u(),d(8,"div",10)(9,"div",12)(10,"label"),v(11,"Device Id"),u(),P(12,"input",13),u()(),d(13,"div",14)(14,"button",15),T("click",function(){return F(e),S(m().search())}),P(15,"i",16),u()()()(),b(16,q2e,4,1,"app-sl-table",17),b(17,K2e,3,0,"div",1),u()}if(2&o){const e=m();p(7),g("ngIf",e.deviceTypes),p(5),g("ngModel",e.searchDeviceId),p(4),g("ngIf",e.devices&&e.devices.model.length>0),p(1),g("ngIf",e.devices&&0==e.devices.model.length)}}let X2e=(()=>{class o{constructor(e,r){this.deviceService=e,this.activeModal=r,this.deviceSelected=new ee,this.devicePickerCancelled=new ee,this.deviceRepoSelected=new ee,this.selectedRepoId="-1",this.selectedDeviceModelId="-1",this.showLoadingIndicator=!1,this.showDeviceRepos=!1}ngOnInit(){var e=this;return E(function*(){e.repos=(yield e.deviceService.loadDeviceRepositories()).model.map(r=>({id:r.id,text:r.name,key:r.key})),e.deviceTypes=(yield e.deviceService.getDeviceTypes()).model.map(r=>({id:r.id,text:r.name,key:r.key})),e.repos.unshift({id:"-1",text:"-select repository-",key:"-1"}),console.log(e.selectedRepoId),"-1"!=e.selectedRepoId&&(e.devices=yield e.deviceService.getDevicesForRepo(e.selectedRepoId))})()}onDeviceRepoSelected(e){var r=this;return E(function*(){r.selectedRepoId=e,r.devices=yield r.deviceService.getDevicesForRepo(e)})()}search(){var e=this;return E(function*(){e.devices=null})()}deviceModelSelected(e){this.search()}onDeviceSelected(e){console.log(e),this.deviceSelected.emit({deviceSummary:e,deviceRepo:this.repos.find(r=>r.id===this.selectedRepoId)}),this.activeModal.dismiss()}cancel(){this.showDeviceRepos?this.activeModal.dismiss():(this.devices=null,this.devicePickerCancelled.emit(),this.showDeviceRepos=!0)}}return o.\u0275fac=function(e){return new(e||o)(O(wB),O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-device-picker"]],inputs:{selectedDeviceId:"selectedDeviceId"},outputs:{deviceSelected:"deviceSelected",devicePickerCancelled:"devicePickerCancelled",deviceRepoSelected:"deviceRepoSelected"},decls:7,vars:2,consts:[[2,"padding","10pt","position","relative"],[4,"ngIf"],[2,"text-align","right","margin-top","50px"],[1,"btn","btn-danger",3,"click"],[2,"border","1px solid silver"],["color","primary",1,"form-select",3,"ngModel","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[1,"container"],[1,"row"],[1,"col-sm-3"],["class","form-group",4,"ngIf"],[1,"form-group"],[1,"form-control",3,"ngModel"],[1,"col-sm-1"],[1,"btn","btn-success",2,"vertical-align","bottom",3,"click"],["aria-hidden","true",1,"fa","fa-search"],["bottomMargin","200",3,"listResponse","select",4,"ngIf"],["bottomMargin","200",3,"listResponse","select"],["header","Device Name","fieldName","deviceName","fieldType","string"],["header","Device Id","fieldName","deviceId","fieldType","string"]],template:function(e,r){1&e&&(d(0,"div")(1,"div",0),b(2,U2e,6,2,"div",1),b(3,Z2e,18,4,"div",1),d(4,"div",2)(5,"button",3),T("click",function(){return r.cancel()}),v(6,"Cancel"),u()()()()),2&e&&(p(2),g("ngIf",r.repos),p(1),g("ngIf",r.devices))},dependencies:[gt,ve,Qo,en,Ht,No,mt,It,P8,gk,Y2e]}),o})();function J2e(o,t){if(1&o){const e=j();d(0,"span",14),T("click",function(n){return F(e),m(3).clearEntityHeaderValue(),S(n.stopPropagation())}),P(1,"i",15),u()}}const Q2e=function(o){return{"picker-link":o}};function eCe(o,t){if(1&o){const e=j();d(0,"span",11),T("click",function(){return F(e),S(m(2).pickEntityHeaderValue())}),d(1,"span",12),v(2),u(),b(3,J2e,2,0,"span",13),u()}if(2&o){const e=m(2);p(1),g("ngClass",St(3,Q2e,e.field.isUserEditable)),p(1),ae(e.field.value?e.field.value.text:e.field.watermark),p(1),g("ngIf",e.field.value&&!e.field.isRequired&&e.field.isUserEditable)}}function tCe(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function rCe(o,t){1&o&&(d(0,"span",16),P(1,"span",17),u()),2&o&&Re("data-target",m(2).popupId)}function oCe(o,t){if(1&o&&(d(0,"div",3)(1,"div",4)(2,"div",5),P(3,"app-form-field-label",6),d(4,"div",7),b(5,eCe,4,5,"span",8),b(6,tCe,2,1,"div",9),u()(),d(7,"div"),b(8,rCe,2,1,"span",10),u()()()),2&o){const e=m();p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled),p(2),g("ngIf",e.field.help)}}let nCe=(()=>{class o extends Ct{constructor(e){super(),this.modalService=e}ngOnInit(){super.ngOnInit()}pickEntityHeaderValue(){this.modalService.open(X2e,{size:"lg"}).componentInstance.deviceSelected.subscribe(r=>{this.field.value={id:r.deviceSummary.id,text:r.deviceSummary.deviceName},this.field.display=r.deviceSummary.deviceName,this.changed(this.field)})}clearEntityHeaderValue(){this.field.value=void 0,this.field.display=void 0,this.changed(this.field)}}return o.\u0275fac=function(e){return new(e||o)(O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-device-picker-field"]],features:[Te],decls:3,vars:8,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[3,"click"],[3,"ngClass"],["class","picker-link-remove","style","margin-left:20px",3,"click",4,"ngIf"],[1,"picker-link-remove",2,"margin-left","20px",3,"click"],[1,"fa","fa-trash","action-danger"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&(b(0,oCe,9,6,"div",0),P(1,"app-form-field-validation-section",1)(2,"app-form-field-help",2)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Fo,ve,rr,or,ar],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})();function iCe(o,t){1&o&&(d(0,"span",7),P(1,"i",8),u()),2&o&&Re("data-target",m().popupId)}let aCe=(()=>{class o extends Ct{constructor(){super()}ngOnInit(){super.ngOnInit()}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-money-editor"]],features:[Te],decls:8,vars:18,consts:[[3,"name","label","isRequired"],[1,"input-group"],[1,"input-group-text"],["type","number","inputmode","numeric",1,"form-control",2,"text-align","right",3,"name","id","ngModel","disabled","placeholder","ngModelChange","change","input","focus","blur"],["data-toggle","modal","class","input-group-text","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["data-toggle","modal",1,"input-group-text",2,"cursor","pointer","color","#A0A0A0"],["aria-hidden","true",1,"fa","fa-question"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1)(2,"span",2),v(3,"$"),u(),d(4,"input",3),T("ngModelChange",function(i){return r.field.value=i})("change",function(i){return r.changed(i)})("input",function(i){return r.textChanged(i)})("focus",function(i){return r.onFocus(i)})("blur",function(i){return r.onBlur(i)}),u(),b(5,iCe,2,1,"span",4),u(),P(6,"app-form-field-validation-section",5)(7,"app-form-field-help",6)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(4),Tt("background-color",r.field.isUserEditable?"white":"#EEEEEE"),Ne("name",r.field.name),Ne("id",r.field.name),Ne("placeholder",r.field.watermark),g("ngModel",r.field.value)("disabled",!r.field.isUserEditable),p(1),g("ngIf",r.field.help),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,vl,mt,It,ve,rr,or,ar]}),o})();function sCe(o,t){1&o&&(d(0,"span",9),P(1,"i",10),u()),2&o&&Re("data-target",m().popupId)}let lCe=(()=>{class o extends Ct{constructor(){super()}ngOnInit(){super.ngOnInit()}callContact(){this.field.value&&document.querySelector("#rc-widget-adapter-frame").contentWindow.postMessage({type:"rc-adapter-new-call",phoneNumber:this.field.value,toCall:!0},"*")}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-phone-field"]],features:[Te],decls:9,vars:20,consts:[[3,"name","label","isRequired"],[1,"input-group"],[1,"form-control",3,"name","id","ngModel","type","disabled","placeholder","ngModelChange","change","input","focus","blur"],[1,"input-group-text",2,"cursor","pointer","color","#A0A0A0"],[3,"href"],["aria-hidden","true",1,"fa","fa-phone",3,"click"],["data-toggle","modal","class","input-group-text","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["data-toggle","modal",1,"input-group-text",2,"cursor","pointer","color","#A0A0A0"],["aria-hidden","true",1,"fa","fa-question"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1)(2,"input",2),T("ngModelChange",function(i){return r.field.value=i})("change",function(i){return r.changed(i)})("input",function(i){return r.textChanged(i)})("focus",function(i){return r.onFocus(i)})("blur",function(i){return r.onBlur(i)}),u(),d(3,"span",3),P(4,"a",4),d(5,"i",5),T("click",function(i){return r.callContact(),i.stopPropagation()}),u()(),b(6,sCe,2,1,"span",6),u(),P(7,"app-form-field-validation-section",7)(8,"app-form-field-help",8)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),Tt("background-color",r.field.isUserEditable?"white":"#EEEEEE"),Ne("name",r.field.name),Ne("id",r.field.name),Ne("placeholder",r.field.watermark),g("ngModel",r.field.value)("type",r.inputType)("disabled",!r.field.isUserEditable),p(2),Ne("href",r.field.value,Zo),p(2),g("ngIf",r.field.help),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,mt,It,ve,rr,or,ar]}),o})();function cCe(o,t){if(1&o){const e=j();d(0,"div")(1,"span",9),T("click",function(){return F(e),S(m().canEditCard=!0)}),v(2,"Change Credit Card"),u()()}}let dCe=(()=>{class o extends Ct{constructor(){super(),this.canEditCard=!0}ngOnInit(){super.ngOnInit(),console.log(this.model),this._stripe=He.production?new Stripe("pk_live_Hrvuo6OffaphWzWyUj8LtyHr"):new Stripe("pk_test_xdymRJmdqaM1PYpkV4Q87jDi");const r=this._stripe.elements();this._card=r.create("card"),this._card.mount("#card-element",{base:{color:"#32325d",lineHeight:"18px",fontFamily:'"Helvetica Neue", Helvetica, sans-serif',fontSmoothing:"antialiased",fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}}),this._card.addEventListener("change",function(n){document.getElementById("card-errors").textContent=n.error?n.error.message:""}),this.canEditCard="ok"!==this.model.paymentTokenStatus&&"waived"!==this.model.paymentTokenStatus,console.log(this.canEditCard)}submitCC(){var e=this;return E(function*(){let r=yield e._stripe.createSource(e._card);r.error?e.field.requiredMessage=r.error.message:(e.view.paymentToken.value=r.source.id,e.model.paymentToken=r.source.id,e.model.paymentTokenStatus="ok",e.view.status.value="ok",e.view.paymentTokenStatus="ok",e.canEditCard=!1)})()}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-payment-method"]],features:[Te],decls:11,vars:11,consts:[[3,"name","label","isRequired"],[2,"padding","10px","background-color","#fff","border","1px solid #bbb","border-radius","4px"],[2,"display","flex"],["id","card-element",2,"min-width","400px","padding-top","5px"],[1,"fa","fa-save","action",3,"click"],["id","card-errors","role","alert"],[4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[1,"action",3,"click"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div")(2,"div",1)(3,"div",2),P(4,"div",3),d(5,"div")(6,"i",4),T("click",function(){return r.submitCC()}),u()()(),P(7,"div",5),u(),b(8,cCe,3,0,"div",6),u(),P(9,"app-form-field-validation-section",7)(10,"app-form-field-help",8)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(8),g("ngIf",!r.canEditCard),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[ve,rr,or,ar]}),o})();function uCe(o,t){if(1&o){const e=j();d(0,"span",14),T("click",function(n){return F(e),m(3).clearEntityHeaderValue(),S(n.stopPropagation())}),P(1,"i",15),u()}}const pCe=function(o){return{"picker-link":o}};function hCe(o,t){if(1&o){const e=j();d(0,"span",11),T("click",function(){return F(e),S(m(2).pickEntityHeaderValue())}),d(1,"span",12),v(2),u(),b(3,uCe,2,0,"span",13),u()}if(2&o){const e=m(2);p(1),g("ngClass",St(3,pCe,e.field.isUserEditable)),p(1),ae(e.field.value?e.field.value.text:e.field.watermark),p(1),g("ngIf",e.field.value&&!e.field.isRequired&&e.field.isUserEditable)}}function gCe(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function mCe(o,t){1&o&&(d(0,"span",16),P(1,"span",17),u()),2&o&&Re("data-target",m(2).popupId)}function fCe(o,t){if(1&o&&(d(0,"div",3)(1,"div",4)(2,"div",5),P(3,"app-form-field-label",6),d(4,"div",7),b(5,hCe,4,5,"span",8),b(6,gCe,2,1,"div",9),u()(),d(7,"div"),b(8,mCe,2,1,"span",10),u()()()),2&o){const e=m();p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled),p(2),g("ngIf",e.field.help)}}let _Ce=(()=>{class o extends Ct{constructor(){super()}ngOnInit(){super.ngOnInit()}pickEntityHeaderValue(){}clearEntityHeaderValue(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-org-location-picker"]],features:[Te],decls:3,vars:8,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[3,"click"],[3,"ngClass"],["class","picker-link-remove","style","margin-left:20px",3,"click",4,"ngIf"],[1,"picker-link-remove",2,"margin-left","20px",3,"click"],[1,"fa","fa-trash","action-danger"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&(b(0,fCe,9,6,"div",0),P(1,"app-form-field-validation-section",1)(2,"app-form-field-help",2)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Fo,ve,rr,or,ar]}),o})();const bu={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937},I8=class yCe{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||bu[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}},Vf=6378137,Eh=Math.PI*Vf,bCe=[-Eh,-Eh,Eh,Eh],CCe=[-180,-85,180,85],d0=Vf*Math.log(Math.tan(Math.PI/2));class Th extends I8{constructor(t){super({code:t,units:"m",extent:bCe,global:!0,worldExtent:CCe,getPointResolution:function(e,r){return e/Math.cosh(r[1]/Vf)}})}}const A8=[new Th("EPSG:3857"),new Th("EPSG:102100"),new Th("EPSG:102113"),new Th("EPSG:900913"),new Th("http://www.opengis.net/def/crs/EPSG/0/3857"),new Th("http://www.opengis.net/gml/srs/epsg.xml#3857")];function wCe(o,t,e){const r=o.length;e=e>1?e:2,void 0===t&&(t=e>2?o.slice():new Array(r));for(let n=0;nd0?i=d0:i<-d0&&(i=-d0),t[n+1]=i}return t}function xCe(o,t,e){const r=o.length;e=e>1?e:2,void 0===t&&(t=e>2?o.slice():new Array(r));for(let n=0;no[2]&&(l|=4),so[3]&&(l|=2),0===l&&(l=1),l}function Pl(o,t,e,r,n){return n?(n[0]=o,n[1]=t,n[2]=e,n[3]=r,n):[o,t,e,r]}function wu(o){return Pl(1/0,1/0,-1/0,-1/0,o)}function $f(o,t){return o[0]==t[0]&&o[2]==t[2]&&o[1]==t[1]&&o[3]==t[3]}function Sh(o,t){t[0]o[2]&&(o[2]=t[0]),t[1]o[3]&&(o[3]=t[1])}function z8(o,t,e,r,n){for(;et[0]?o[0]:t[0],r[1]=o[1]>t[1]?o[1]:t[1],r[2]=o[2]=t[0]&&o[1]<=t[3]&&o[3]>=t[1]}function zf(o){return o[2]=e[2])){const n=no(e),a=Math.floor((r[0]-e[0])/n)*n;o[0]-=a,o[2]-=a}return o}function Wo(o,t,e){return Math.min(Math.max(o,t),e)}function zCe(o,t,e,r,n,i){const a=n-e,s=i-r;if(0!==a||0!==s){const l=((o-e)*a+(t-r)*s)/(a*a+s*s);l>1?(e=n,r=i):l>0&&(e+=a*l,r+=s*l)}return Ah(o,t,e,r)}function Ah(o,t,e,r){const n=e-o,i=r-t;return n*n+i*i}function v0(o){return o*Math.PI/180}function Du(o,t){const e=o%t;return e*t<0?e+t:e}function os(o,t,e){return o+e*(t-o)}function y0(o,t){const e=Math.pow(10,t);return Math.round(o*e)/e}function b0(o,t){return Math.floor(y0(o,t))}function C0(o,t){return Math.ceil(y0(o,t))}function w0(o,t){let e=!0;for(let r=o.length-1;r>=0;--r)if(o[r]!=t[r]){e=!1;break}return e}function yk(o,t){const e=Math.cos(t),r=Math.sin(t),i=o[1]*e+o[0]*r;return o[0]=o[0]*e-o[1]*r,o[1]=i,o}function G8(o,t){if(t.canWrapX()){const e=no(t.getExtent()),r=function KCe(o,t,e){const r=t.getExtent();let n=0;return t.canWrapX()&&(o[0]r[2])&&(e=e||no(r),n=Math.floor((o[0]-r[0])/e)),n}(o,t,e);r&&(o[0]-=r*e)}return o}function bk(o,t,e){e=e||6371008.8;const r=v0(o[1]),n=v0(t[1]),i=(n-r)/2,a=v0(t[0]-o[0])/2,s=Math.sin(i)*Math.sin(i)+Math.sin(a)*Math.sin(a)*Math.cos(r)*Math.cos(n);return 2*e*Math.atan2(Math.sqrt(s),Math.sqrt(1-s))}const Yf_warn=2;let M0=1;function q8(...o){M0>Yf_warn||console.warn(...o)}let wk=!0;function K8(o){wk=!(void 0===o||o)}function xk(o,t){if(void 0!==t)for(let e=0,r=o.length;e=-180&&o[0]<=180&&o[1]>=-90&&o[1]<=90&&(wk=!1,q8("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),o}function kk(o,t){return o}function Mu(o,t){return o}!function iwe(){J8(A8),J8(R8),function ewe(o,t,e,r){o.forEach(function(n){t.forEach(function(i){p0(n,i,e),p0(i,n,r)})})}(R8,A8,wCe,xCe)}();const Al=class awe{constructor(t){this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}},Ek=class swe{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}};function ku(o,t){return o>t?1:o0?n-1:n}return r-1}if(e>0){for(let n=1;n0)}removeEventListener(t,e){const r=this.listeners_&&this.listeners_[t];if(r){const n=r.indexOf(e);-1!==n&&(this.pendingRemovals_&&t in this.pendingRemovals_?(r[n]=Lh,++this.pendingRemovals_[t]):(r.splice(n,1),0===r.length&&delete this.listeners_[t]))}}};function Ar(o,t,e,r,n){if(r&&r!==o&&(e=e.bind(r)),n){const a=e;e=function(){o.removeEventListener(t,e),a.apply(this,arguments)}}const i={target:o,type:t,listener:e};return o.addEventListener(t,e),i}function T0(o,t,e,r){return Ar(o,t,e,r,!0)}function Mo(o){o&&o.target&&(o.target.removeEventListener(o.type,o.listener),qf(o))}const oN=class F0 extends E0{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent("change")}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const r=t.length,n=new Array(r);for(let i=0;ik&&(C=(k+C)/2,k=C),A>B&&(A=(B+A)/2,B=A);let z=Wo(r[0],C,k),W=Wo(r[1],A,B);if(a&&e&&n){const q=30*n;z+=-q*Math.log(1+Math.max(0,C-r[0])/q)+q*Math.log(1+Math.max(0,r[0]-k)/q),W+=-q*Math.log(1+Math.max(0,A-r[1])/q)+q*Math.log(1+Math.max(0,r[1]-B)/q)}return[z,W]}}function fwe(o){return o}function Sk(o,t,e,r){const n=no(t)/e[0],i=rs(t)/e[1];return r?Math.min(o,Math.max(n,i)):Math.min(o,Math.min(n,i))}function Pk(o,t,e){let r=Math.min(o,t);return r*=Math.log(1+50*Math.max(0,o/t-1))/50+1,e&&(r=Math.max(r,e),r/=Math.log(1+50*Math.max(0,e/o-1))/50+1),Wo(r,e/2,2*t)}function aN(o,t,e,r,n){return e=void 0===e||e,function(i,a,s,l){if(void 0!==i){const c=r?Sk(o,r,s,n):o;return e&&l?Pk(i,c,t):Wo(i,t,c)}}}function Ik(o){if(void 0!==o)return 0}function sN(o){if(void 0!==o)return o}function lN(o){return Math.pow(o,3)}function Bh(o){return 1-lN(1-o)}function Ak(o){return 3*o*o-2*o*o*o}function Cwe(o){return o}const Vc=typeof navigator<"u"&&typeof navigator.userAgent<"u"?navigator.userAgent.toLowerCase():"",wwe=Vc.includes("firefox"),xwe=(Vc.includes("safari")&&!Vc.includes("chrom")&&(Vc.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(Vc)),Vc.includes("webkit")&&!Vc.includes("edge")),cN=Vc.includes("macintosh"),dN=typeof devicePixelRatio<"u"?devicePixelRatio:1,Ok=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,Dwe=typeof Image<"u"&&Image.prototype.decode,uN=function(){let o=!1;try{const t=Object.defineProperty({},"passive",{get:function(){o=!0}});window.addEventListener("_",null,t),window.removeEventListener("_",null,t)}catch{}return o}();function un(o,t){const e=t[0],r=t[1];return t[0]=o[0]*e+o[2]*r+o[4],t[1]=o[1]*e+o[3]*r+o[5],t}function Rl(o,t,e,r,n,i,a,s){const l=Math.sin(i),c=Math.cos(i);return o[0]=r*c,o[1]=n*l,o[2]=-r*l,o[3]=n*c,o[4]=a*r*c-s*r*l+t,o[5]=a*n*l+s*n*c+e,o}function S0(o,t){const e=function Ewe(o){return o[0]*o[3]-o[1]*o[2]}(t);sr(0!==e,32);const r=t[0],n=t[1],i=t[2],a=t[3],s=t[4],l=t[5];return o[0]=a/e,o[1]=-n/e,o[2]=-i/e,o[3]=r/e,o[4]=(i*l-a*s)/e,o[5]=-(r*l-n*s)/e,o}let pN;function Bk(o){const t="matrix("+o.join(", ")+")";if(Ok)return t;const e=pN||(pN=document.createElement("div"));return e.style.transform=t,e.style.transform}function Eu(o,t,e,r,n,i){i=i||[];let a=0;for(let s=t;s1)_=e;else{if(C>0){for(let k=0;kn&&(n=c),i=s,a=l}return n}function yN(o,t,e,r,n,i,a,s,l,c,h){if(t==e)return c;let _,C;if(0===n){if(C=Ah(a,s,o[t],o[t+1]),C0&&B>k)&&(A<0&&z0&&z>A)?(c=_,h=C):(i[a++]=c,i[a++]=h,s=c,l=h,c=_,h=C)}return i[a++]=c,i[a++]=h,a}function Nh(o,t,e,r,n){n=void 0!==n?n:[];let i=0;for(let a=t;a0;){const _=c.pop(),C=c.pop();let k=0;const A=o[C],B=o[C+1],z=o[_],W=o[_+1];for(let q=C+r;q<_;q+=r){const oe=zCe(o[q],o[q+1],A,B,z,W);oe>k&&(h=q,k=oe)}k>n&&(l[(h-t)/r]=1,C+ri&&(c-s)*(i-l)-(n-s)*(h-l)>0&&a++:h<=i&&(c-s)*(i-l)-(n-s)*(h-l)<0&&a--,s=c,l=h}return 0!==a}function $k(o,t,e,r,n,i){if(0===e.length||!Fu(o,t,e[0],r,n,i))return!1;for(let a=1,s=e.length;a=n[0]&&i[2]<=n[2]||i[1]>=n[1]&&i[3]<=n[3])||function $we(o,t,e,r,n){let i;for(t+=r;t=a&&B<=l),!r&&!!(4&i)&&!(4&n)&&(z=k-(C-l)*A,r=z>=s&&z<=c),!r&&!!(8&i)&&!(8&n)&&(B=C-(k-s)/A,r=B>=a&&B<=l),!r&&16&i&&!(16&n)&&(z=k-(C-a)*A,r=z>=s&&z<=c)}return r}(n,a,s)}))}function FN(o,t,e,r,n){return!!(zk(o,t,e,r,n)||Fu(o,t,e,r,n[0],n[1])||Fu(o,t,e,r,n[0],n[3])||Fu(o,t,e,r,n[2],n[1])||Fu(o,t,e,r,n[2],n[3]))}function zwe(o,t,e,r){for(;t0}function jk(o,t,e,r,n){n=void 0!==n&&n;for(let i=0,a=e.length;iW&&(c=(h+_)/2,$k(o,t,e,r,c,A)&&(z=c,W=q)),h=_}return isNaN(z)&&(z=n[i]),a?(a.push(z,A,W),a):[z,A,W]}(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_}getInteriorPoint(){return new Hwe(this.getFlatInteriorPoint(),"XYM")}getLinearRingCount(){return this.ends_.length}getLinearRing(t){return t<0||this.ends_.length<=t?null:new EN(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)}getLinearRings(){const t=this.layout,e=this.flatCoordinates,r=this.ends_,n=[];let i=0;for(let a=0,s=r.length;ah&&C1&&"function"==typeof arguments[e-1]&&(r=arguments[e-1],--e);let n=0;for(;n0}getInteracting(){return this.hints_[1]>0}cancelAnimations(){let t;this.setHint(0,-this.hints_[0]);for(let e=0,r=this.animations_.length;e=0;--r){const n=this.animations_[r];let i=!0;for(let a=0,s=n.length;a0?c/l.duration:1;h>=1?(l.complete=!0,h=1):i=!1;const _=l.easing(h);if(l.sourceCenter){const C=l.sourceCenter[0],k=l.sourceCenter[1],A=l.targetCenter[0],B=l.targetCenter[1];this.nextCenter_=l.targetCenter,this.targetCenter_=[C+_*(A-C),k+_*(B-k)]}if(l.sourceResolution&&l.targetResolution){const C=1===_?l.targetResolution:l.sourceResolution+_*(l.targetResolution-l.sourceResolution);if(l.anchor){const k=this.getViewportSize_(this.getRotation()),A=this.constraints_.resolution(C,0,k,!0);this.targetCenter_=this.calculateCenterZoom(A,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=C,this.applyTargetState_(!0)}if(void 0!==l.sourceRotation&&void 0!==l.targetRotation){const C=1===_?Du(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+_*(l.targetRotation-l.sourceRotation);if(l.anchor){const k=this.constraints_.rotation(C,!0);this.targetCenter_=this.calculateCenterRotate(k,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=C}if(this.applyTargetState_(!0),e=!0,!l.complete)break}if(i){this.animations_[r]=null,this.setHint(0,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const a=n[0].callback;a&&A0(a,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,e){let r;const n=this.getCenterInternal();return void 0!==n&&(r=[n[0]-e[0],n[1]-e[1]],yk(r,t-this.getRotation()),function jCe(o,t){o[0]+=+t[0],o[1]+=+t[1]}(r,e)),r}calculateCenterZoom(t,e){let r;const n=this.getCenterInternal(),i=this.getResolution();return void 0!==n&&void 0!==i&&(r=[e[0]-t*(e[0]-n[0])/i,e[1]-t*(e[1]-n[1])/i]),r}getViewportSize_(t){const e=this.viewportSize_;if(t){const r=e[0],n=e[1];return[Math.abs(r*Math.cos(t))+Math.abs(n*Math.sin(t)),Math.abs(r*Math.sin(t))+Math.abs(n*Math.cos(t))]}return e}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t&&Mk(t,this.getProjection())}getCenterInternal(){return this.get(ns.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){return kk(this.calculateExtentInternal(t),this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const e=this.getCenterInternal();sr(e,1);const r=this.getResolution();sr(void 0!==r,2);const n=this.getRotation();return sr(void 0!==n,3),_k(e,r,n,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(ns.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,e){return this.getResolutionForExtentInternal(Mu(t,this.getProjection()),e)}getResolutionForExtentInternal(t,e){e=e||this.getViewportSizeMinusPadding_();const r=no(t)/e[0],n=rs(t)/e[1];return Math.max(r,n)}getResolutionForValueFunction(t){t=t||2;const e=this.getConstrainedResolution(this.maxResolution_),n=Math.log(e/this.minResolution_)/Math.log(t);return function(i){return e/Math.pow(t,i*n)}}getRotation(){return this.get(ns.ROTATION)}getValueForResolutionFunction(t){const e=Math.log(t||2),r=this.getConstrainedResolution(this.maxResolution_),i=Math.log(r/this.minResolution_)/e;return function(a){return Math.log(r/a)/e/i}}getViewportSizeMinusPadding_(t){let e=this.getViewportSize_(t);const r=this.padding_;return r&&(e=[e[0]-r[1]-r[3],e[1]-r[0]-r[2]]),e}getState(){const t=this.getProjection(),e=this.getResolution(),r=this.getRotation();let n=this.getCenterInternal();const i=this.padding_;if(i){const a=this.getViewportSizeMinusPadding_();n=Wk(n,this.getViewportSize_(),[a[0]/2+i[3],a[1]/2+i[0]],e,r)}return{center:n.slice(0),projection:void 0!==t?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:r,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t}getZoomForResolution(t){let r,n,e=this.minZoom_||0;if(this.resolutions_){const i=Tk(this.resolutions_,t,1);e=i,r=this.resolutions_[i],n=i==this.resolutions_.length-1?2:r/this.resolutions_[i+1]}else r=this.maxResolution_,n=this.zoomFactor_;return e+Math.log(r/t)/Math.log(n)}getResolutionForZoom(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const e=Wo(Math.floor(t),0,this.resolutions_.length-2);return this.resolutions_[e]/Math.pow(this.resolutions_[e]/this.resolutions_[e+1],Wo(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,e){let r;if(sr(Array.isArray(t)||"function"==typeof t.getSimplifiedGeometry,24),Array.isArray(t))sr(!zf(t),25),r=IN(Mu(t,this.getProjection()));else if("Circle"===t.getType()){const n=Mu(t.getExtent(),this.getProjection());r=IN(n),r.rotate(this.getRotation(),Ph(n))}else{const n=tN();r=n?t.clone().transform(n,this.getProjection()):t}this.fitInternal(r,e)}rotatedExtentForGeometry(t){const e=this.getRotation(),r=Math.cos(e),n=Math.sin(-e),i=t.getFlatCoordinates(),a=t.getStride();let s=1/0,l=1/0,c=-1/0,h=-1/0;for(let _=0,C=i.length;_0;)this.pop()}extend(t){for(let e=0,r=t.length;ethis.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new O0("add",e,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const e=this.getLength();return this.insertAt(e,t),this.getLength()}remove(t){const e=this.array_;for(let r=0,n=e.length;r=this.getLength())return;const e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new O0("remove",e,t)),e}setAt(t,e){if(t>=this.getLength())return void this.insertAt(t,e);if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e,t);const n=this.array_[t];this.array_[t]=e,this.dispatchEvent(new O0("remove",n,t)),this.dispatchEvent(new O0("add",e,t))}updateLength_(){this.set("length",this.array_.length)}assertUnique_(t,e){for(let r=0,n=this.array_.length;r=1024){let i=0;for(const a in t)0==(3&i++)&&(delete t[a],--e)}n=function Jwe(o){let t,e,r,n,i;if(RN.exec(o)&&(o=function BN(o){const t=document.createElement("div");if(t.style.color=o,""!==t.style.color){document.body.appendChild(t);const e=getComputedStyle(t).color;return document.body.removeChild(t),e}return""}(o)),ON.exec(o)){const a=o.length-1;let s;s=a<=4?1:2;const l=4===a||8===a;t=parseInt(o.substr(1+0*s,s),16),e=parseInt(o.substr(1+1*s,s),16),r=parseInt(o.substr(1+2*s,s),16),n=l?parseInt(o.substr(1+3*s,s),16):255,1==s&&(t=(t<<4)+t,e=(e<<4)+e,r=(r<<4)+r,l&&(n=(n<<4)+n)),i=[t,e,r,n/255]}else o.startsWith("rgba(")?(i=o.slice(5,-1).split(",").map(Number),NN(i)):o.startsWith("rgb(")?(i=o.slice(4,-1).split(",").map(Number),i.push(1),NN(i)):sr(!1,14);return i}(r),t[r]=n,++e}return n}}();function R0(o){return Array.isArray(o)?o:Xwe(o)}function NN(o){return o[0]=Wo(o[0]+.5|0,0,255),o[1]=Wo(o[1]+.5|0,0,255),o[2]=Wo(o[2]+.5|0,0,255),o[3]=Wo(o[3],0,1),o}function HN(o){let t=o[0];t!=(0|t)&&(t=t+.5|0);let e=o[1];e!=(0|e)&&(e=e+.5|0);let r=o[2];return r!=(0|r)&&(r=r+.5|0),"rgba("+t+","+e+","+r+","+(void 0===o[3]?1:Math.round(100*o[3])/100)+")"}function VN(o,t,e){return t+":"+o+":"+(e?LN(e):"null")}const L0=new class Qwe{constructor(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const e in this.cache_){const r=this.cache_[e];0==(3&t++)&&!r.hasListener()&&(delete this.cache_[e],--this.cacheSize_)}}}get(t,e,r){const n=VN(t,e,r);return n in this.cache_?this.cache_[n]:null}set(t,e,r,n){const i=VN(t,e,r);this.cache_[i]=n,++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}},$N=class exe extends Ol{constructor(t){super(),this.background_=t.background;const e=Object.assign({},t);"object"==typeof t.properties&&(delete e.properties,Object.assign(e,t.properties)),e.opacity=void 0!==t.opacity?t.opacity:1,sr("number"==typeof e.opacity,64),e.visible=void 0===t.visible||t.visible,e.zIndex=t.zIndex,e.maxResolution=void 0!==t.maxResolution?t.maxResolution:1/0,e.minResolution=void 0!==t.minResolution?t.minResolution:0,e.minZoom=void 0!==t.minZoom?t.minZoom:-1/0,e.maxZoom=void 0!==t.maxZoom?t.maxZoom:1/0,this.className_=void 0!==e.className?e.className:"ol-layer",delete e.className,this.setProperties(e),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const e=this.state_||{layer:this,managed:void 0===t||t},r=this.getZIndex();return e.opacity=Wo(Math.round(100*this.getOpacity())/100,0,1),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==r||e.managed?r:1/0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e}getLayersArray(t){return Mr()}getLayerStatesArray(t){return Mr()}getExtent(){return this.get("extent")}getMaxResolution(){return this.get("maxResolution")}getMinResolution(){return this.get("minResolution")}getMinZoom(){return this.get("minZoom")}getMaxZoom(){return this.get("maxZoom")}getOpacity(){return this.get("opacity")}getSourceState(){return Mr()}getVisible(){return this.get("visible")}getZIndex(){return this.get("zIndex")}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set("extent",t)}setMaxResolution(t){this.set("maxResolution",t)}setMinResolution(t){this.set("minResolution",t)}setMaxZoom(t){this.set("maxZoom",t)}setMinZoom(t){this.set("minZoom",t)}setOpacity(t){sr("number"==typeof t,64),this.set("opacity",t)}setVisible(t){this.set("visible",t)}setZIndex(t){this.set("zIndex",t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}};function Gk(o,t){if(!o.visible)return!1;const e=t.resolution;if(e=o.maxResolution)return!1;const r=t.zoom;return r>o.minZoom&&r<=o.maxZoom}const B0=class txe extends $N{constructor(t){const e=Object.assign({},t);delete e.source,super(e),this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,this.renderer_=null,this.sourceReady_=!1,this.rendered=!1,t.render&&(this.render=t.render),t.map&&this.setMap(t.map),this.addChangeListener("source",this.handleSourcePropertyChange_),this.setSource(t.source?t.source:null)}getLayersArray(t){return(t=t||[]).push(this),t}getLayerStatesArray(t){return(t=t||[]).push(this.getLayerState()),t}getSource(){return this.get("source")||null}getRenderSource(){return this.getSource()}getSourceState(){const t=this.getSource();return t?t.getState():"undefined"}handleSourceChange_(){this.changed(),!this.sourceReady_&&"ready"===this.getSource().getState()&&(this.sourceReady_=!0,this.dispatchEvent("sourceready"))}handleSourcePropertyChange_(){this.sourceChangeKey_&&(Mo(this.sourceChangeKey_),this.sourceChangeKey_=null),this.sourceReady_=!1;const t=this.getSource();t&&(this.sourceChangeKey_=Ar(t,"change",this.handleSourceChange_,this),"ready"===t.getState()&&(this.sourceReady_=!0,setTimeout(()=>{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return this.renderer_&&this.rendered?this.renderer_.getData(t):null}isVisible(t){let e;const r=this.getMapInternal();let n;!t&&r&&(t=r.getView()),e=t instanceof Rs?{viewState:t.getState(),extent:t.calculateExtent()}:t,!e.layerStatesArray&&r&&(e.layerStatesArray=r.getLayerGroup().getLayerStatesArray()),n=e.layerStatesArray?e.layerStatesArray.find(a=>a.layer===this):this.getLayerState();const i=this.getExtent();return Gk(n,e.viewState)&&(!i||wi(i,e.extent))}getAttributions(t){if(!this.isVisible(t))return[];let e;const r=this.getSource();if(r&&(e=r.getAttributions()),!e)return[];let i=e(t instanceof Rs?t.getViewStateAndExtent():t);return Array.isArray(i)||(i=[i]),i}render(t,e){const r=this.getRenderer();return r.prepareFrame(t)?(this.rendered=!0,r.renderFrame(t,e)):null}unrender(){this.rendered=!1}setMapInternal(t){t||this.unrender(),this.set("map",t)}getMapInternal(){return this.get("map")}setMap(t){this.mapPrecomposeKey_&&(Mo(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Mo(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Ar(t,"precompose",function(e){const n=e.frameState.layerStatesArray,i=this.getLayerState(!1);sr(!n.some(function(a){return a.layer===i.layer}),67),n.push(i)},this),this.mapRenderKey_=Ar(this,"change",t.render,t),this.changed())}setSource(t){this.set("source",t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}};function oxe(o,t){L0.expire()}const nxe=class rxe extends Ek{constructor(t){super(),this.map_=t}dispatchRenderEvent(t,e){Mr()}calculateMatrices2D(t){const e=t.viewState,r=t.coordinateToPixelTransform,n=t.pixelToCoordinateTransform;Rl(r,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),S0(n,r)}forEachFeatureAtCoordinate(t,e,r,n,i,a,s,l){let c;const h=e.viewState;function _(X,oe,de,fe){return i.call(a,oe,X?de:null,fe)}const C=h.projection,k=G8(t.slice(),C),A=[[0,0]];if(C.canWrapX()&&n){const oe=no(C.getExtent());A.push([-oe,0],[oe,0])}const B=e.layerStatesArray,z=B.length,W=[],q=[];for(let X=0;X=0;--oe){const de=B[oe],fe=de.layer;if(fe.hasRenderer()&&Gk(de,h)&&s.call(l,fe)){const ye=fe.getRenderer(),Be=fe.getSource();if(ye&&Be){const $e=Be.getWrapX()?k:t,nt=_.bind(null,de.managed);q[0]=$e[0]+A[X][0],q[1]=$e[1]+A[X][1],c=ye.forEachFeatureAtCoordinate(q,e,r,nt,W)}if(c)return c}}if(0===W.length)return;const G=1/W.length;return W.forEach((X,oe)=>X.distanceSq+=oe*G),W.sort((X,oe)=>X.distanceSq-oe.distanceSq),W.some(X=>c=X.callback(X.feature,X.layer,X.geometry)),c}hasFeatureAtCoordinate(t,e,r,n,i,a){return void 0!==this.forEachFeatureAtCoordinate(t,e,r,n,Gf,this,i,a)}getMap(){return this.map_}renderFrame(t){Mr()}flushDeclutterItems(t){}scheduleExpireIconCache(t){L0.canExpireCache()&&t.postRenderFunctions.push(oxe)}},zN=class ixe extends Al{constructor(t,e,r,n){super(t),this.inversePixelTransform=e,this.frameState=r,this.context=n}},N0="ol-hidden",H0="ol-unselectable",qk="ol-control",YN="ol-collapsed",axe=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),jN=["style","variant","weight","size","lineHeight","family"],UN=function(o){const t=o.match(axe);if(!t)return null;const e={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let r=0,n=jN.length;rMath.max(n,Y0(o,i)),0);return e[t]=r,r}const mxe=class gxe extends nxe{constructor(t){super(t),this.fontChangeListenerKey_=Ar(Nl,"propertychange",t.redrawText.bind(t)),this.element_=document.createElement("div");const e=this.element_.style;e.position="absolute",e.width="100%",e.height="100%",e.zIndex="0",this.element_.className=H0+" ol-layers";const r=t.getViewport();r.insertBefore(this.element_,r.firstChild||null),this.children_=[],this.renderedVisible_=!0,this.declutterLayers_=[]}dispatchRenderEvent(t,e){const r=this.getMap();if(r.hasListener(t)){const n=new zN(t,void 0,e);r.dispatchEvent(n)}}disposeInternal(){Mo(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(t){if(!t)return void(this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1));this.calculateMatrices2D(t),this.dispatchRenderEvent("precompose",t);const e=t.layerStatesArray.sort(function(a,s){return a.zIndex-s.zIndex}),r=t.viewState;this.children_.length=0;const n=this.declutterLayers_;n.length=0;let i=null;for(let a=0,s=e.length;a=0;--r)e[r].renderDeclutter(t);e.length=0}};class $c extends Al{constructor(t,e){super(t),this.layer=e}}class Qk extends $N{constructor(t){t=t||{};const e=Object.assign({},t);delete e.layers;let r=t.layers;super(e),this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener("layers",this.handleLayersChanged_),r?Array.isArray(r)?r=new Ls(r.slice(),{unique:!0}):sr("function"==typeof r.getArray,43):r=new Ls(void 0,{unique:!0}),this.setLayers(r)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(Mo),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(Ar(t,"add",this.handleLayersAdd_,this),Ar(t,"remove",this.handleLayersRemove_,this));for(const r in this.listenerKeys_)this.listenerKeys_[r].forEach(Mo);qf(this.listenerKeys_);const e=t.getArray();for(let r=0,n=e.length;r{this.clickTimeoutId_=void 0;const r=new zc(Oo.SINGLECLICK,this.map_,t);this.dispatchEvent(r)},250)}updateActivePointers_(t){const e=t,r=e.pointerId;if(e.type==Oo.POINTERUP||e.type==Oo.POINTERCANCEL){delete this.trackedTouches_[r];for(const n in this.trackedTouches_)if(this.trackedTouches_[n].target!==e.target){delete this.trackedTouches_[n];break}}else(e.type==Oo.POINTERDOWN||e.type==Oo.POINTERMOVE)&&(this.trackedTouches_[r]=e);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const e=new zc(Oo.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),0===this.activePointers_.length&&(this.dragListenerKeys_.forEach(Mo),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return 0===t.button}handlePointerDown_(t){this.emulateClicks_=0===this.activePointers_.length,this.updateActivePointers_(t);const e=new zc(Oo.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(e),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),0===this.dragListenerKeys_.length){const r=this.map_.getOwnerDocument();this.dragListenerKeys_.push(Ar(r,Oo.POINTERMOVE,this.handlePointerMove_,this),Ar(r,Oo.POINTERUP,this.handlePointerUp_,this),Ar(this.element_,Oo.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==r&&this.dragListenerKeys_.push(Ar(this.element_.getRootNode(),Oo.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const e=new zc(Oo.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new zc(Oo.POINTERMOVE,this.map_,t,e))}handleTouchMove_(t){const e=this.originalPointerMoveEvent_;(!e||e.defaultPrevented)&&("boolean"!=typeof t.cancelable||!0===t.cancelable)&&t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(Mo(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener("touchmove",this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Mo(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(Mo),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}},U0=1/0,tE=class Mxe extends Ol{constructor(t){super();const e=t.element;e&&!t.target&&!e.style.pointerEvents&&(e.style.pointerEvents="auto"),this.element=e||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){Kk(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&Kk(this.element);for(let e=0,r=this.listenerKeys.length;en.getAttributions(t)))),r=!this.getMap().getAllLayers().some(n=>n.getSource()&&!1===n.getSource().getAttributionsCollapsible());return this.overrideCollapsible_||this.setCollapsible(r),e}updateElement_(t){if(!t)return void(this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1));const e=this.collectSourceAttributions_(t),r=e.length>0;if(this.renderedVisible_!=r&&(this.element.style.display=r?"":"none",this.renderedVisible_=r),!Hc(e,this.renderedAttributions_)){!function sxe(o){for(;o.lastChild;)o.removeChild(o.lastChild)}(this.ulElement_);for(let n=0,i=e.length;n0&&r%(2*Math.PI)!=0?e.animate({rotation:0,duration:this.duration_,easing:Bh}):e.setRotation(0))}render(t){const e=t.frameState;if(!e)return;const r=e.viewState.rotation;if(r!=this.rotation_){const n="rotate("+r+"rad)";if(this.autoHide_){const i=this.element.classList.contains(N0);i||0!==r?i&&0!==r&&this.element.classList.remove(N0):this.element.classList.add(N0)}this.label_.style.transform=n}this.rotation_=r}},Pxe=class Sxe extends tE{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const e=void 0!==t.className?t.className:"ol-zoom",r=void 0!==t.delta?t.delta:1,n=void 0!==t.zoomInClassName?t.zoomInClassName:e+"-in",i=void 0!==t.zoomOutClassName?t.zoomOutClassName:e+"-out",a=void 0!==t.zoomInLabel?t.zoomInLabel:"+",s=void 0!==t.zoomOutLabel?t.zoomOutLabel:"\u2013",l=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",c=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=n,h.setAttribute("type","button"),h.title=l,h.appendChild("string"==typeof a?document.createTextNode(a):a),h.addEventListener("click",this.handleClick_.bind(this,r),!1);const _=document.createElement("button");_.className=i,_.setAttribute("type","button"),_.title=c,_.appendChild("string"==typeof s?document.createTextNode(s):s),_.addEventListener("click",this.handleClick_.bind(this,-r),!1);const k=this.element;k.className=e+" "+H0+" "+qk,k.appendChild(h),k.appendChild(_),this.duration_=void 0!==t.duration?t.duration:250}handleClick_(t,e){e.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const r=this.getMap().getView();if(!r)return;const n=r.getZoom();if(void 0!==n){const i=r.getConstrainedZoom(n+t);this.duration_>0?(r.getAnimating()&&r.cancelAnimations(),r.animate({zoom:i,duration:this.duration_,easing:Bh})):r.setZoom(i)}}};function rE(o,t,e,r){const n=o.getZoom();if(void 0===n)return;const i=o.getConstrainedZoom(n+t),a=o.getResolutionForZoom(i);o.getAnimating()&&o.cancelAnimations(),o.animate({resolution:a,anchor:e,duration:void 0!==r?r:250,easing:Bh})}const t_=class Axe extends Ol{constructor(t){super(),t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get("active")}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set("active",t)}setMap(t){this.map_=t}},Lxe=class Rxe extends t_{constructor(t){super(),this.delta_=(t=t||{}).delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:250}handleEvent(t){let e=!1;if(t.type==Oo.DBLCLICK){const r=t.originalEvent,i=t.coordinate,a=r.shiftKey?-this.delta_:this.delta_;rE(t.map.getView(),a,i,this.duration_),r.preventDefault(),e=!0}return!e}};function oE(o){const t=o.length;let e=0,r=0;for(let n=0;n0}}else if(t.type==Oo.POINTERDOWN){const r=this.handleDownEvent(t);this.handlingDownUpSequence=r,e=this.stopDown(r)}else t.type==Oo.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}};function nE(o){const t=arguments;return function(e){let r=!0;for(let n=0,i=t.length;n0&&this.condition_(t)){const r=t.map.getView();return this.lastCentroid=null,r.getAnimating()&&r.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}},Gxe=class Wxe extends r_{constructor(t){t=t||{},super({stopDown:k0}),this.condition_=t.condition?t.condition:Nxe,this.lastAngle_=void 0,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){if(!iE(t))return;const e=t.map,r=e.getView();if(r.getConstraints().rotation===Ik)return;const n=e.getSize(),i=t.pixel,a=Math.atan2(n[1]/2-i[1],i[0]-n[0]/2);void 0!==this.lastAngle_&&r.adjustRotationInternal(-(a-this.lastAngle_)),this.lastAngle_=a}handleUpEvent(t){return!iE(t)||(t.map.getView().endInteraction(this.duration_),!1)}handleDownEvent(t){return!!(iE(t)&&JN(t)&&this.condition_(t))&&(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0)}},Kxe=class qxe extends Ek{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,e=this.endPixel_,r="px",n=this.element_.style;n.left=Math.min(t[0],e[0])+r,n.top=Math.min(t[1],e[1])+r,n.width=Math.abs(e[0]-t[0])+r,n.height=Math.abs(e[1]-t[1])+r}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new Ywe([n])}getGeometry(){return this.geometry_}};class aE extends Al{constructor(t,e,r){super(t),this.coordinate=e,this.mapBrowserEvent=r}}const Xxe=class Zxe extends r_{constructor(t){super(),this.box_=new Kxe((t=t||{}).className||"ol-dragbox"),this.minArea_=void 0!==t.minArea?t.minArea:64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition?t.condition:JN,this.boxEndCondition_=t.boxEndCondition?t.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(t,e,r){const n=r[0]-e[0],i=r[1]-e[1];return n*n+i*i>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new aE("boxdrag",t.coordinate,t))}handleUpEvent(t){this.box_.setMap(null);const e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new aE(e?"boxend":"boxcancel",t.coordinate,t)),!1}handleDownEvent(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new aE("boxstart",t.coordinate,t)),!0)}onBoxEnd(t){}},Qxe=class Jxe extends Xxe{constructor(t){super({condition:(t=t||{}).condition?t.condition:zxe,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=void 0!==t.duration?t.duration:200,this.out_=void 0!==t.out&&t.out}onBoxEnd(t){const r=this.getMap().getView();let n=this.getGeometry();if(this.out_){const i=r.rotatedExtentForGeometry(n),a=r.getResolutionForExtentInternal(i),s=r.getResolution()/a;n=n.clone(),n.scale(s*s)}r.fitInternal(n,{duration:this.duration_,easing:Bh})}},tDe=class eDe extends t_{constructor(t){super(),t=t||{},this.defaultCondition_=function(e){return QN(e)&&e7(e)},this.condition_=void 0!==t.condition?t.condition:this.defaultCondition_,this.duration_=void 0!==t.duration?t.duration:100,this.pixelDelta_=void 0!==t.pixelDelta?t.pixelDelta:128}handleEvent(t){let e=!1;if("keydown"==t.type){const r=t.originalEvent,n=r.key;if(this.condition_(t)&&("ArrowDown"==n||"ArrowLeft"==n||"ArrowRight"==n||"ArrowUp"==n)){const a=t.map.getView(),s=a.getResolution()*this.pixelDelta_;let l=0,c=0;"ArrowDown"==n?c=-s:"ArrowLeft"==n?l=-s:"ArrowRight"==n?l=s:c=s;const h=[l,c];yk(h,a.getRotation()),function Oxe(o,t,e){const r=o.getCenterInternal();r&&o.animateInternal({duration:void 0!==e?e:250,easing:Cwe,center:o.getConstrainedCenter([r[0]+t[0],r[1]+t[1]])})}(a,h,this.duration_),r.preventDefault(),e=!0}}return!e}},oDe=class rDe extends t_{constructor(t){super(),this.condition_=(t=t||{}).condition?t.condition:function(e){return!function(o){const t=o.originalEvent;return cN?t.metaKey:t.ctrlKey}(e)&&e7(e)},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:100}handleEvent(t){let e=!1;if("keydown"==t.type||"keypress"==t.type){const r=t.originalEvent,n=r.key;if(this.condition_(t)&&("+"===n||"-"===n)){const a="+"===n?this.delta_:-this.delta_;rE(t.map.getView(),a,void 0,this.duration_),r.preventDefault(),e=!0}}return!e}},sDe=class aDe extends t_{constructor(t){super(t=t||{}),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=void 0!==t.maxDelta?t.maxDelta:1,this.duration_=void 0!==t.duration?t.duration:250,this.timeout_=void 0!==t.timeout?t.timeout:80,this.useAnchor_=void 0===t.useAnchor||t.useAnchor,this.constrainResolution_=void 0!==t.constrainResolution&&t.constrainResolution;const e=t.condition?t.condition:Vxe;this.condition_=t.onFocusOnly?nE(XN,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.mode_=void 0,this.trackpadEventGap_=400,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();t&&t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(t){if(!this.condition_(t)||"wheel"!==t.type)return!0;const r=t.map,n=t.originalEvent;let i;if(n.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate),"wheel"==t.type&&(i=n.deltaY,wwe&&n.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(i/=dN),n.deltaMode===WheelEvent.DOM_DELTA_LINE&&(i*=40)),0===i)return!1;this.lastDelta_=i;const a=Date.now();void 0===this.startTime_&&(this.startTime_=a),(!this.mode_||a-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(i)<4?"trackpad":"wheel");const s=r.getView();if("trackpad"===this.mode_&&!s.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(s.getAnimating()&&s.cancelAnimations(),s.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),s.adjustZoom(-i/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=a,!1;this.totalDelta_+=i;const l=Math.max(this.timeout_-(a-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,r),l),!1}handleWheelZoom_(t){const e=t.getView();e.getAnimating()&&e.cancelAnimations();let r=-Wo(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(r=r?r>0?1:-1:0),rE(e,r,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}},cDe=class lDe extends r_{constructor(t){const e=t=t||{};e.stopDown||(e.stopDown=k0),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=void 0!==t.threshold?t.threshold:.3,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){let e=0;const r=this.targetPointers[0],n=this.targetPointers[1],i=Math.atan2(n.clientY-r.clientY,n.clientX-r.clientX);if(void 0!==this.lastAngle_){const l=i-this.lastAngle_;this.rotationDelta_+=l,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=l}this.lastAngle_=i;const a=t.map,s=a.getView();s.getConstraints().rotation!==Ik&&(this.anchor_=a.getCoordinateFromPixelInternal(a.getEventPixel(oE(this.targetPointers))),this.rotating_&&(a.render(),s.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){return!(this.targetPointers.length<2&&(t.map.getView().endInteraction(this.duration_),1))}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}},uDe=class dDe extends r_{constructor(t){const e=t=t||{};e.stopDown||(e.stopDown=k0),super(e),this.anchor_=null,this.duration_=void 0!==t.duration?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1;const r=this.targetPointers[0],n=this.targetPointers[1],i=r.clientX-n.clientX,a=r.clientY-n.clientY,s=Math.sqrt(i*i+a*a);void 0!==this.lastDistance_&&(e=this.lastDistance_/s),this.lastDistance_=s;const l=t.map,c=l.getView();1!=e&&(this.lastScaleDelta_=e),this.anchor_=l.getCoordinateFromPixelInternal(l.getEventPixel(oE(this.targetPointers))),l.render(),c.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){return!(this.targetPointers.length<2)||(t.map.getView().endInteraction(this.duration_,this.lastScaleDelta_>1?1:-1),!1)}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}};function t7(o){o=o||{};const t=new Ls,e=new class nDe{constructor(t,e,r){this.decay_=t,this.minVelocity_=e,this.delay_=r,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,e){this.points_.push(t,e,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]0&&this.points_[r+2]>t;)r-=3;const n=this.points_[e+2]-this.points_[r+2];if(n<1e3/60)return!1;const i=this.points_[e]-this.points_[r],a=this.points_[e+1]-this.points_[r+1];return this.angle_=Math.atan2(a,i),this.initialVelocity_=Math.sqrt(i*i+a*a)/n,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}(-.005,.05,100);return(void 0===o.altShiftDragRotate||o.altShiftDragRotate)&&t.push(new Gxe),(void 0===o.doubleClickZoom||o.doubleClickZoom)&&t.push(new Lxe({delta:o.zoomDelta,duration:o.zoomDuration})),(void 0===o.dragPan||o.dragPan)&&t.push(new Uxe({onFocusOnly:o.onFocusOnly,kinetic:e})),(void 0===o.pinchRotate||o.pinchRotate)&&t.push(new cDe),(void 0===o.pinchZoom||o.pinchZoom)&&t.push(new uDe({duration:o.zoomDuration})),(void 0===o.keyboard||o.keyboard)&&(t.push(new tDe),t.push(new oDe({delta:o.zoomDelta,duration:o.zoomDuration}))),(void 0===o.mouseWheelZoom||o.mouseWheelZoom)&&t.push(new sDe({onFocusOnly:o.onFocusOnly,duration:o.zoomDuration})),(void 0===o.shiftDragZoom||o.shiftDragZoom)&&t.push(new Qxe({duration:o.zoomDuration})),t}function r7(o){return o[0]>0&&o[1]>0}function ma(o,t){return Array.isArray(o)?o:(void 0===t?t=[o,o]:(t[0]=o,t[1]=o),t)}function o7(o){o instanceof B0?o.setMapInternal(null):o instanceof j0&&o.getLayers().forEach(o7)}function n7(o,t){if(o instanceof B0)o.setMapInternal(t);else if(o instanceof j0){const e=o.getLayers().getArray();for(let r=0,n=e.length;rthis.updateSize()),this.controls=e.controls||function Ixe(o){o=o||{};const t=new Ls;return(void 0===o.zoom||o.zoom)&&t.push(new Pxe(o.zoomOptions)),(void 0===o.rotate||o.rotate)&&t.push(new Fxe(o.rotateOptions)),(void 0===o.attribution||o.attribution)&&t.push(new Exe(o.attributionOptions)),t}(),this.interactions=e.interactions||t7({onFocusOnly:!0}),this.overlays_=e.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new class wxe extends class bxe{constructor(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,qf(this.queuedElements_)}dequeue(){const t=this.elements_,e=this.priorities_,r=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));const n=this.keyFunction_(r);return delete this.queuedElements_[n],r}enqueue(t){sr(!(this.keyFunction_(t)in this.queuedElements_),31);const e=this.priorityFunction_(t);return e!=U0&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)}getCount(){return this.elements_.length}getLeftChildIndex_(t){return 2*t+1}getRightChildIndex_(t){return 2*t+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return 0===this.elements_.length}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const e=this.elements_,r=this.priorities_,n=e.length,i=e[t],a=r[t],s=t;for(;t>1;){const l=this.getLeftChildIndex_(t),c=this.getRightChildIndex_(t),h=ct;){const s=this.getParentIndex_(e);if(!(n[s]>a))break;r[e]=r[s],n[e]=n[s],e=s}r[e]=i,n[e]=a}reprioritize(){const t=this.priorityFunction_,e=this.elements_,r=this.priorities_;let n=0;const i=e.length;let a,s,l;for(s=0;s0;)i=this.dequeue()[0],a=i.getKey(),n=i.getState(),0===n&&!(a in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[a]=!0,++this.tilesLoading_,++r,i.load())}}(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener("layergroup",this.handleLayerGroupChanged_),this.addChangeListener("view",this.handleViewChanged_),this.addChangeListener("size",this.handleSizeChanged_),this.addChangeListener("target",this.handleTargetChanged_),this.setProperties(e.values);const r=this;t.view&&!(t.view instanceof Rs)&&t.view.then(function(n){r.setView(new Rs(n))}),this.controls.addEventListener("add",n=>{n.element.setMap(this)}),this.controls.addEventListener("remove",n=>{n.element.setMap(null)}),this.interactions.addEventListener("add",n=>{n.element.setMap(this)}),this.interactions.addEventListener("remove",n=>{n.element.setMap(null)}),this.overlays_.addEventListener("add",n=>{this.addOverlayInternal_(n.element)}),this.overlays_.addEventListener("remove",n=>{const i=n.element.getId();void 0!==i&&delete this.overlayIdIndex_[i.toString()],n.element.setMap(null)}),this.controls.forEach(n=>{n.setMap(this)}),this.interactions.forEach(n=>{n.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){n7(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,e,r){if(!this.frameState_||!this.renderer_)return;const n=this.getCoordinateFromPixelInternal(t);return this.renderer_.forEachFeatureAtCoordinate(n,this.frameState_,void 0!==(r=void 0!==r?r:{}).hitTolerance?r.hitTolerance:0,!1!==r.checkWrapped,e,null,void 0!==r.layerFilter?r.layerFilter:Gf,null)}getFeaturesAtPixel(t,e){const r=[];return this.forEachFeatureAtPixel(t,function(n){r.push(n)},e),r}getAllLayers(){const t=[];return function e(r){r.forEach(function(n){n instanceof j0?e(n.getLayers()):t.push(n)})}(this.getLayers()),t}hasFeatureAtPixel(t,e){if(!this.frameState_||!this.renderer_)return!1;const r=this.getCoordinateFromPixelInternal(t);return this.renderer_.hasFeatureAtCoordinate(r,this.frameState_,void 0!==(e=void 0!==e?e:{}).hitTolerance?e.hitTolerance:0,!1!==e.checkWrapped,void 0!==e.layerFilter?e.layerFilter:Gf,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const r=this.viewport_.getBoundingClientRect(),n=this.getSize(),s="changedTouches"in t?t.changedTouches[0]:t;return[(s.clientX-r.left)/(r.width/n[0]),(s.clientY-r.top)/(r.height/n[1])]}getTarget(){return this.get("target")}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return Mk(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const e=this.frameState_;return e?un(e.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get("layergroup")}setLayers(t){const e=this.getLayerGroup();if(t instanceof Ls)return void e.setLayers(t);const r=e.getLayers();r.clear(),r.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,r=t.length;e=0;i--){const a=n[i];if(a.getMap()===this&&a.getActive()&&this.getTargetElement()&&(!a.handleEvent(t)||t.propagationStopped))break}}}handlePostRender(){const t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){let n=this.maxTilesLoading_,i=n;if(t){const a=t.viewHints;if(a[0]||a[1]){const s=Date.now()-t.time>8;n=s?0:8,i=s?0:2}}e.getTilesLoading(){this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(t){const e=this.getLayerGroup();e&&this.handleLayerRemove_(new $c("removelayer",e)),this.set("layergroup",t)}setSize(t){this.set("size",t)}setTarget(t){this.set("target",t)}setView(t){if(!t||t instanceof Rs)return void this.set("view",t);this.set("view",new Rs);const e=this;t.then(function(r){e.setView(new Rs(r))})}updateSize(){const t=this.getTargetElement();let e;if(t){const n=getComputedStyle(t),i=t.offsetWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight)-parseFloat(n.borderRightWidth),a=t.offsetHeight-parseFloat(n.borderTopWidth)-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom)-parseFloat(n.borderBottomWidth);!isNaN(i)&&!isNaN(a)&&(e=[i,a],!r7(e)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&q8("No map visible because the map container's width or height are 0."))}const r=this.getSize();e&&(!r||!Hc(e,r))&&(this.setSize(e),this.updateViewportSize_())}updateViewportSize_(){const t=this.getView();if(t){let e;const r=getComputedStyle(this.viewport_);r.width&&r.height&&(e=[parseInt(r.width,10),parseInt(r.height,10)]),t.setViewportSize(e)}}},_De=class fDe extends B0{constructor(t){t=t||{};const e=Object.assign({},t);delete e.preload,delete e.useInterimTilesOnError,super(e),this.setPreload(void 0!==t.preload?t.preload:0),this.setUseInterimTilesOnError(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}getPreload(){return this.get("preload")}setPreload(t){this.set("preload",t)}getUseInterimTilesOnError(){return this.get("useInterimTilesOnError")}setUseInterimTilesOnError(t){this.set("useInterimTilesOnError",t)}getData(t){return super.getData(t)}},yDe=class vDe extends oN{constructor(t){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=t,this.declutterExecutorGroup=null}getFeatures(t){return Mr()}getData(t){return null}prepareFrame(t){return Mr()}renderFrame(t,e){return Mr()}loadedTileCallback(t,e,r){t[e]||(t[e]={}),t[e][r.tileCoord.toString()]=r}createLoadedTileFinder(t,e,r){return(n,i)=>{const a=this.loadedTileCallback.bind(this,r,n);return t.forEachLoadedTile(e,n,i,a)}}forEachFeatureAtCoordinate(t,e,r,n,i){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){const e=t.target;(2===e.getState()||3===e.getState())&&this.renderIfReadyAndVisible()}loadImage(t){let e=t.getState();return 2!=e&&3!=e&&t.addEventListener("change",this.boundHandleImageChange_),0==e&&(t.load(),e=t.getState()),2==e}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&"ready"===t.getSourceState()&&t.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}},a7=[];let zh=null;const s7=class CDe extends yDe{constructor(t){super(t),this.container=null,this.tempTransform=[1,0,0,1,0,0],this.pixelTransform=[1,0,0,1,0,0],this.inversePixelTransform=[1,0,0,1,0,0],this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(t,e,r){let n;zh||function bDe(){zh=oi(1,1,void 0,{willReadFrequently:!0})}(),zh.clearRect(0,0,1,1);try{zh.drawImage(t,e,r,1,1,0,0,1,1),n=zh.getImageData(0,0,1,1).data}catch{return zh=null,null}return n}getBackground(t){let r=this.getLayer().getBackground();return"function"==typeof r&&(r=r(t.viewState.resolution)),r||void 0}useContainer(t,e,r){const n=this.getLayer().getClassName();let i,a;if(t&&t.className===n&&(!r||t&&t.style.backgroundColor&&Hc(R0(t.style.backgroundColor),R0(r)))){const s=t.firstElementChild;s instanceof HTMLCanvasElement&&(a=s.getContext("2d"))}if(a&&a.canvas.style.transform===e?(this.container=t,this.context=a,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){i=document.createElement("div"),i.className=n;let s=i.style;s.position="absolute",s.width="100%",s.height="100%",a=oi();const l=a.canvas;i.appendChild(l),s=l.style,s.position="absolute",s.left="0",s.transformOrigin="top left",this.container=i,this.context=a}!this.containerReused&&r&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=r)}clipUnrotated(t,e,r){const n=xu(r),i=_0(r),a=f0(r),s=m0(r);un(e.coordinateToPixelTransform,n),un(e.coordinateToPixelTransform,i),un(e.coordinateToPixelTransform,a),un(e.coordinateToPixelTransform,s);const l=this.inversePixelTransform;un(l,n),un(l,i),un(l,a),un(l,s),t.save(),t.beginPath(),t.moveTo(Math.round(n[0]),Math.round(n[1])),t.lineTo(Math.round(i[0]),Math.round(i[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.lineTo(Math.round(s[0]),Math.round(s[1])),t.clip()}dispatchRenderEvent_(t,e,r){const n=this.getLayer();if(n.hasListener(t)){const i=new zN(t,this.inversePixelTransform,r,e);n.dispatchEvent(i)}}preRender(t,e){this.frameState=e,this.dispatchRenderEvent_("prerender",t,e)}postRender(t,e){this.dispatchRenderEvent_("postrender",t,e)}getRenderTransform(t,e,r,n,i,a,s){const h=n/e;return Rl(this.tempTransform,i/2,a/2,h,-h,-r,-t[0]+s,-t[1])}disposeInternal(){delete this.frameState,super.disposeInternal()}},l7=class wDe extends E0{constructor(t,e,r){super(),r=r||{},this.tileCoord=t,this.state=e,this.interimTile=null,this.key="",this.transition_=void 0===r.transition?250:r.transition,this.transitionStarts_={},this.interpolate=!!r.interpolate}changed(){this.dispatchEvent("change")}release(){3===this.state&&this.setState(4)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){if(!this.interimTile)return this;let t=this.interimTile;do{if(2==t.getState())return this.transition_=0,t;t=t.interimTile}while(t);return this}refreshInterimChain(){if(!this.interimTile)return;let t=this.interimTile,e=this;do{if(2==t.getState()){t.interimTile=null;break}1==t.getState()?e=t:0==t.getState()?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(t){if(3!==this.state&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()}load(){Mr()}getAlpha(t,e){if(!this.transition_)return 1;let r=this.transitionStarts_[t];if(r){if(-1===r)return 1}else r=e,this.transitionStarts_[t]=r;const n=e-r+1e3/60;return n>=this.transition_?1:lN(n/this.transition_)}inTransition(t){return!!this.transition_&&-1!==this.transitionStarts_[t]}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}};function sE(o,t,e){const r=o;let n=!0,i=!1,a=!1;const s=[T0(r,"load",function(){a=!0,i||t()})];return r.src&&Dwe?(i=!0,r.decode().then(function(){n&&t()}).catch(function(l){n&&(a?t():e())})):s.push(T0(r,"error",e)),function(){n=!1,s.forEach(Mo)}}const c7=class xDe extends l7{constructor(t,e,r,n,i,a){super(t,e,a),this.crossOrigin_=n,this.src_=r,this.key=r,this.image_=new Image,null!==n&&(this.image_.crossOrigin=n),this.unlisten_=null,this.tileLoadFunction_=i}getImage(){return this.image_}setImage(t){this.image_=t,this.state=2,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=3,this.unlistenImage_(),this.image_=function DDe(){const o=oi(1,1);return o.fillStyle="rgba(0,0,0,0)",o.fillRect(0,0,1,1),o.canvas}(),this.changed()}handleImageLoad_(){const t=this.image_;this.state=t.naturalWidth&&t.naturalHeight?2:4,this.unlistenImage_(),this.changed()}load(){3==this.state&&(this.state=0,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),0==this.state&&(this.state=1,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=sE(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}};let lE;const Yh=[];function u7(o,t,e,r,n){o.beginPath(),o.moveTo(0,0),o.lineTo(t,e),o.lineTo(r,n),o.closePath(),o.save(),o.clip(),o.fillRect(0,0,Math.max(t,r)+1,Math.max(e,n)),o.restore()}function cE(o,t){return Math.abs(o[4*t]-210)>2||Math.abs(o[4*t+3]-191.25)>2}function p7(o,t,e,r){const n=Wf(e,t,o);let i=X8(t,r,e);const a=t.getMetersPerUnit();void 0!==a&&(i*=a);const s=o.getMetersPerUnit();void 0!==s&&(i/=s);const l=o.getExtent();if(!l||h0(l,n)){const c=X8(o,i,n)/i;isFinite(c)&&c>0&&(i/=c)}return i}const dE=class IDe extends l7{constructor(t,e,r,n,i,a,s,l,c,h,_,C){super(i,0,{interpolate:!!C}),this.renderEdges_=void 0!==_&&_,this.pixelRatio_=s,this.gutter_=l,this.canvas_=null,this.sourceTileGrid_=e,this.targetTileGrid_=n,this.wrappedTileCoord_=a||i,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;const k=n.getTileCoordExtent(this.wrappedTileCoord_),A=this.targetTileGrid_.getExtent();let B=this.sourceTileGrid_.getExtent();const z=A?Ih(k,A):k;if(0===g0(z))return void(this.state=4);const W=t.getExtent();W&&(B=B?Ih(B,W):W);const q=n.getResolution(this.wrappedTileCoord_[0]),G=function SDe(o,t,e,r){const n=Ph(e);let i=p7(o,t,n,r);return(!isFinite(i)||i<=0)&&Y8(e,function(a){return i=p7(o,t,a,r),isFinite(i)&&i>0}),i}(t,r,z,q);if(!isFinite(G)||G<=0)return void(this.state=4);if(this.triangulation_=new class EDe{constructor(t,e,r,n,i,a){this.sourceProj_=t,this.targetProj_=e;let s={};const l=Uf(this.targetProj_,this.sourceProj_);this.transformInv_=function(q){const G=q[0]+"/"+q[1];return s[G]||(s[G]=l(q)),s[G]},this.maxSourceExtent_=n,this.errorThresholdSquared_=i*i,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!n&&!!this.sourceProj_.getExtent()&&no(n)>=no(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?no(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?no(this.targetProj_.getExtent()):null;const c=xu(r),h=_0(r),_=f0(r),C=m0(r),k=this.transformInv_(c),A=this.transformInv_(h),B=this.transformInv_(_),z=this.transformInv_(C),W=10+(a?Math.max(0,Math.ceil(Math.log2(g0(r)/(a*a*256*256)))):0);if(this.addQuad_(c,h,_,C,k,A,B,z,W),this.wrapsXInSource_){let q=1/0;this.triangles_.forEach(function(G,X,oe){q=Math.min(q,G.source[0][0],G.source[1][0],G.source[2][0])}),this.triangles_.forEach(G=>{if(Math.max(G.source[0][0],G.source[1][0],G.source[2][0])-q>this.sourceWorldWidth_/2){const X=[[G.source[0][0],G.source[0][1]],[G.source[1][0],G.source[1][1]],[G.source[2][0],G.source[2][1]]];X[0][0]-q>this.sourceWorldWidth_/2&&(X[0][0]-=this.sourceWorldWidth_),X[1][0]-q>this.sourceWorldWidth_/2&&(X[1][0]-=this.sourceWorldWidth_),X[2][0]-q>this.sourceWorldWidth_/2&&(X[2][0]-=this.sourceWorldWidth_);const oe=Math.min(X[0][0],X[1][0],X[2][0]);Math.max(X[0][0],X[1][0],X[2][0])-oe.5&&_<1;let A=!1;if(c>0&&(this.targetProj_.isGlobal()&&this.targetWorldWidth_&&(A=no(B8([t,e,r,n]))/this.targetWorldWidth_>.25||A),!k&&this.sourceProj_.isGlobal()&&_&&(A=_>.25||A)),!A&&this.maxSourceExtent_&&isFinite(h[0])&&isFinite(h[1])&&isFinite(h[2])&&isFinite(h[3])&&!wi(h,this.maxSourceExtent_))return;let B=0;if(!(A||isFinite(i[0])&&isFinite(i[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(l[0])&&isFinite(l[1])))if(c>0)A=!0;else if(B=(isFinite(i[0])&&isFinite(i[1])?0:8)+(isFinite(a[0])&&isFinite(a[1])?0:4)+(isFinite(s[0])&&isFinite(s[1])?0:2)+(isFinite(l[0])&&isFinite(l[1])?0:1),1!=B&&2!=B&&4!=B&&8!=B)return;if(c>0){if(!A){const W=this.transformInv_([(t[0]+r[0])/2,(t[1]+r[1])/2]);let q;q=k?(Du(i[0],C)+Du(s[0],C))/2-Du(W[0],C):(i[0]+s[0])/2-W[0];const G=(i[1]+s[1])/2-W[1];A=q*q+G*G>this.errorThresholdSquared_}if(A){if(Math.abs(t[0]-r[0])<=Math.abs(t[1]-r[1])){const z=[(e[0]+r[0])/2,(e[1]+r[1])/2],W=this.transformInv_(z),q=[(n[0]+t[0])/2,(n[1]+t[1])/2],G=this.transformInv_(q);this.addQuad_(t,e,z,q,i,a,W,G,c-1),this.addQuad_(q,z,r,n,G,W,s,l,c-1)}else{const z=[(t[0]+e[0])/2,(t[1]+e[1])/2],W=this.transformInv_(z),q=[(r[0]+n[0])/2,(r[1]+n[1])/2],G=this.transformInv_(q);this.addQuad_(t,z,q,n,i,W,G,l,c-1),this.addQuad_(z,e,r,q,W,a,s,G,c-1)}return}}if(k){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}0==(11&B)&&this.addTriangle_(t,r,n,i,s,l),0==(14&B)&&this.addTriangle_(t,r,e,i,s,a),B&&(0==(13&B)&&this.addTriangle_(e,n,t,a,l,i),0==(7&B)&&this.addTriangle_(e,n,r,a,l,s))}calculateSourceExtent(){const t=[1/0,1/0,-1/0,-1/0];return this.triangles_.forEach(function(e,r,n){const i=e.source;Sh(t,i[0]),Sh(t,i[1]),Sh(t,i[2])}),t}getTriangles(){return this.triangles_}}(t,r,z,B,G*(void 0!==h?h:.5),q),0===this.triangulation_.getTriangles().length)return void(this.state=4);this.sourceZ_=e.getZForResolution(G);let oe=this.triangulation_.calculateSourceExtent();if(B&&(t.canWrapX()?(oe[1]=Wo(oe[1],B[1],B[3]),oe[3]=Wo(oe[3],B[1],B[3])):oe=Ih(oe,B)),g0(oe)){const de=e.getTileRangeForExtentAndZ(oe,this.sourceZ_);for(let fe=de.minX;fe<=de.maxX;fe++)for(let ye=de.minY;ye<=de.maxY;ye++){const Be=c(this.sourceZ_,fe,ye,s);Be&&this.sourceTiles_.push(Be)}0===this.sourceTiles_.length&&(this.state=4)}else this.state=4}getImage(){return this.canvas_}reproject_(){const t=[];if(this.sourceTiles_.forEach(e=>{e&&2==e.getState()&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}),this.sourceTiles_.length=0,0===t.length)this.state=3;else{const e=this.wrappedTileCoord_[0],r=this.targetTileGrid_.getTileSize(e),n="number"==typeof r?r:r[0],i="number"==typeof r?r:r[1],a=this.targetTileGrid_.getResolution(e),s=this.sourceTileGrid_.getResolution(this.sourceZ_),l=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=function PDe(o,t,e,r,n,i,a,s,l,c,h,_){const C=oi(Math.round(e*o),Math.round(e*t),Yh);if(_||(C.imageSmoothingEnabled=!1),0===l.length)return C.canvas;function k(X){return Math.round(X*e)/e}C.scale(e,e),C.globalCompositeOperation="lighter";const A=[1/0,1/0,-1/0,-1/0];l.forEach(function(X,oe,de){!function OCe(o,t){t[0]o[2]&&(o[2]=t[2]),t[1]o[3]&&(o[3]=t[3])}(A,X.extent)});const B=no(A),z=rs(A),W=oi(Math.round(e*B/r),Math.round(e*z/r),Yh);_||(W.imageSmoothingEnabled=!1);const q=e/r;l.forEach(function(X,oe,de){const fe=X.extent[0]-A[0],ye=-(X.extent[3]-A[3]),Be=no(X.extent),$e=rs(X.extent);X.image.width>0&&X.image.height>0&&W.drawImage(X.image,c,c,X.image.width-2*c,X.image.height-2*c,fe*q,ye*q,Be*q,$e*q)});const G=xu(a);return s.getTriangles().forEach(function(X,oe,de){const fe=X.source,ye=X.target;let Be=fe[0][0],$e=fe[0][1],nt=fe[1][0],ft=fe[1][1],Qe=fe[2][0],lr=fe[2][1];const _t=k((ye[0][0]-G[0])/i),ue=k(-(ye[0][1]-G[1])/i),ge=k((ye[1][0]-G[0])/i),Ce=k(-(ye[1][1]-G[1])/i),Ge=k((ye[2][0]-G[0])/i),yt=k(-(ye[2][1]-G[1])/i),hr=Be,xe=$e;Be=0,$e=0,nt-=hr,ft-=xe,Qe-=hr,lr-=xe;const st=function YCe(o){const t=o.length;for(let r=0;ri&&(i=l,n=s)}if(0===i)return null;const a=o[n];o[n]=o[r],o[r]=a;for(let s=r+1;s=0;r--){e[r]=o[r][t]/o[r][r];for(let n=r-1;n>=0;n--)o[n][t]-=o[n][r]*e[r]}return e}([[nt,ft,0,0,ge-_t],[Qe,lr,0,0,Ge-_t],[0,0,nt,ft,Ce-ue],[0,0,Qe,lr,yt-ue]]);if(st){if(C.save(),C.beginPath(),function FDe(){if(void 0===lE){const o=oi(6,6,Yh);o.globalCompositeOperation="lighter",o.fillStyle="rgba(210, 0, 0, 0.75)",u7(o,4,5,4,0),u7(o,4,5,0,5);const t=o.getImageData(0,0,3,3).data;lE=cE(t,0)||cE(t,4)||cE(t,8),V0(o),Yh.push(o.canvas)}return lE}()||!_){C.moveTo(ge,Ce);const Jt=4,Rn=_t-ge,kr=ue-Ce;for(let Cr=0;Cr{const r=e.getState();if(0==r||1==r){t++;const n=Ar(e,"change",function(i){const a=e.getState();(2==a||3==a||4==a)&&(Mo(n),t--,0===t&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(n)}}),0===t?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function(e,r,n){0==e.getState()&&e.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(Mo),this.sourcesListenerKeys_=null}release(){this.canvas_&&(V0(this.canvas_.getContext("2d")),Yh.push(this.canvas_),this.canvas_=null),super.release()}};class h7{constructor(t,e,r,n){this.minX=t,this.maxX=e,this.minY=r,this.maxY=n}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minXthis.maxX&&(this.maxX=t.maxX),t.minYthis.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function jh(o,t,e,r,n){return void 0!==n?(n.minX=o,n.maxX=t,n.minY=e,n.maxY=r,n):new h7(o,t,e,r)}const g7=h7,ODe=class ADe extends s7{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedProjection=null,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=[1/0,1/0,-1/0,-1/0],this.tmpTileRange_=new g7(0,0,0,0)}isDrawableTile(t){const e=this.getLayer(),r=t.getState(),n=e.getUseInterimTilesOnError();return 2==r||4==r||3==r&&!n}getTile(t,e,r,n){const i=n.pixelRatio,a=n.viewState.projection,s=this.getLayer();let c=s.getSource().getTile(t,e,r,i,a);return 3==c.getState()&&s.getUseInterimTilesOnError()&&s.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(c)||(c=c.getInterimTile()),c}getData(t){const e=this.frameState;if(!e)return null;const r=this.getLayer(),n=un(e.pixelToCoordinateTransform,t.slice()),i=r.getExtent();if(i&&!h0(i,n))return null;const a=e.pixelRatio,s=e.viewState.projection,l=e.viewState,c=r.getRenderSource(),h=c.getTileGridForProjection(l.projection),_=c.getTilePixelRatio(e.pixelRatio);for(let C=h.getZForResolution(l.resolution);C>=h.getMinZoom();--C){const k=h.getTileCoordForCoordAndZ(n,C),A=c.getTile(C,k[1],k[2],a,s);if(!(A instanceof c7||A instanceof dE)||A instanceof dE&&4===A.getState())return null;if(2!==A.getState())continue;const B=h.getOrigin(C),z=ma(h.getTileSize(C)),W=h.getResolution(C),q=Math.floor(_*((n[0]-B[0])/W-k[1]*z[0])),G=Math.floor(_*((B[1]-n[1])/W-k[2]*z[1])),X=Math.round(_*c.getGutterForProjection(l.projection));return this.getImageData(A.getImage(),q+X,G+X)}return null}loadedTileCallback(t,e,r){return!!this.isDrawableTile(r)&&super.loadedTileCallback(t,e,r)}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,e){const r=t.layerStatesArray[t.layerIndex],n=t.viewState,i=n.projection,a=n.resolution,s=n.center,l=n.rotation,c=t.pixelRatio,h=this.getLayer(),_=h.getSource(),C=_.getRevision(),k=_.getTileGridForProjection(i),A=k.getZForResolution(a,_.zDirection),B=k.getResolution(A);let z=t.extent;const W=t.viewState.resolution,q=_.getTilePixelRatio(c),G=Math.round(no(z)/W*c),X=Math.round(rs(z)/W*c),oe=r.extent&&Mu(r.extent);oe&&(z=Ih(z,Mu(r.extent)));const de=B*G/2/q,fe=B*X/2/q,ye=[s[0]-de,s[1]-fe,s[0]+de,s[1]+fe],Be=k.getTileRangeForExtentAndZ(z,A),$e={};$e[A]={};const nt=this.createLoadedTileFinder(_,i,$e),ft=this.tmpExtent,Qe=this.tmpTileRange_;this.newTiles_=!1;const lr=l?vk(n.center,W,l,t.size):void 0;for(let $r=Be.minX;$r<=Be.maxX;++$r)for(let st=Be.minY;st<=Be.maxY;++st){if(l&&!k.tileCoordIntersectsViewport([A,$r,st],lr))continue;const Jt=this.getTile(A,$r,st,t);if(this.isDrawableTile(Jt)){const Cr=Or(this);if(2==Jt.getState()){$e[A][Jt.tileCoord.toString()]=Jt;let io=Jt.inTransition(Cr);io&&1!==r.opacity&&(Jt.endTransition(Cr),io=!1),!this.newTiles_&&(io||!this.renderedTiles.includes(Jt))&&(this.newTiles_=!0)}if(1===Jt.getAlpha(Cr,t.time))continue}const Rn=k.getTileCoordChildTileRange(Jt.tileCoord,Qe,ft);let kr=!1;Rn&&(kr=nt(A+1,Rn)),kr||k.forEachTileCoordParentTileRange(Jt.tileCoord,nt,Qe,ft)}const _t=B/a*c/q;Rl(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/c,1/c,l,-G/2,-X/2);const ue=Bk(this.pixelTransform);this.useContainer(e,ue,this.getBackground(t));const ge=this.context,Ce=ge.canvas;S0(this.inversePixelTransform,this.pixelTransform),Rl(this.tempTransform,G/2,X/2,_t,_t,0,-G/2,-X/2),Ce.width!=G||Ce.height!=X?(Ce.width=G,Ce.height=X):this.containerReused||ge.clearRect(0,0,G,X),oe&&this.clipUnrotated(ge,t,oe),_.getInterpolate()||(ge.imageSmoothingEnabled=!1),this.preRender(ge,t),this.renderedTiles.length=0;let yt,hr,xe,Ge=Object.keys($e).map(Number);Ge.sort(ku),1!==r.opacity||this.containerReused&&!_.getOpaque(t.viewState.projection)?(yt=[],hr=[]):Ge=Ge.reverse();for(let $r=Ge.length-1;$r>=0;--$r){const st=Ge[$r],Jt=_.getTilePixelSize(st,c,i),kr=k.getResolution(st)/B,Cr=Jt[0]*kr*_t,io=Jt[1]*kr*_t,Wi=k.getTileCoordForCoordAndZ(xu(ye),st),va=k.getTileCoordExtent(Wi),Qc=un(this.tempTransform,[q*(va[0]-ye[0])/B,q*(ye[3]-va[3])/B]),Hu=q*_.getGutterForProjection(i),$s=$e[st];for(const Vu in $s){const ls=$s[Vu],$u=ls.tileCoord,Zh=Wi[1]-$u[1],Xh=Math.round(Qc[0]-(Zh-1)*Cr),Mi=Wi[2]-$u[2],ed=Math.round(Qc[1]-(Mi-1)*io),Dn=Math.round(Qc[0]-Zh*Cr),ni=Math.round(Qc[1]-Mi*io),ii=Xh-Dn,ya=ed-ni,zl=A===st,zs=zl&&1!==ls.getAlpha(Or(this),t.time);let cs=!1;if(!zs)if(yt){xe=[Dn,ni,Dn+ii,ni,Dn+ii,ni+ya,Dn,ni+ya];for(let Jh=0,gb=yt.length;Jh0,6),sr(!((void 0!==t.width||void 0!==t.height)&&void 0!==t.scale),69);const l=void 0!==t.src?0:2;if(this.color_=void 0!==t.color?R0(t.color):null,this.iconImage_=function VDe(o,t,e,r,n,i){let a=L0.get(t,r,i);return a||(a=new HDe(o,t,e,r,n,i),L0.set(t,r,i,a)),a}(a,s,void 0!==this.imgSize_?this.imgSize_:null,this.crossOrigin_,l,this.color_),this.offset_=void 0!==t.offset?t.offset:[0,0],this.offsetOrigin_=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.origin_=null,this.size_=void 0!==t.size?t.size:null,void 0!==t.width||void 0!==t.height){let c,h;if(t.size)[c,h]=t.size;else{const _=this.getImage(1);if(!(_ instanceof HTMLCanvasElement||_.src&&_.complete)){this.initialOptions_=t;const C=()=>{if(this.unlistenImageChange(C),!this.initialOptions_)return;const k=this.iconImage_.getSize();this.setScale(C7(k[0],k[1],t.width,t.height))};return void this.listenImageChange(C)}c=_.width,h=_.height}void 0!==c&&this.setScale(C7(c,h,t.width,t.height))}}clone(){let t,e,r;return this.initialOptions_?(e=this.initialOptions_.width,r=this.initialOptions_.height):(t=this.getScale(),t=Array.isArray(t)?t.slice():t),new yE({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,imgSize:this.imgSize_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:t,width:e,height:r,size:null!==this.size_?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let t=this.normalizedAnchor_;if(!t){t=this.anchor_;const n=this.getSize();if("fraction"==this.anchorXUnits_||"fraction"==this.anchorYUnits_){if(!n)return null;t=this.anchor_.slice(),"fraction"==this.anchorXUnits_&&(t[0]*=n[0]),"fraction"==this.anchorYUnits_&&(t[1]*=n[1])}if("top-left"!=this.anchorOrigin_){if(!n)return null;t===this.anchor_&&(t=this.anchor_.slice()),("top-right"==this.anchorOrigin_||"bottom-right"==this.anchorOrigin_)&&(t[0]=-t[0]+n[0]),("bottom-left"==this.anchorOrigin_||"bottom-right"==this.anchorOrigin_)&&(t[1]=-t[1]+n[1])}this.normalizedAnchor_=t}const e=this.getDisplacement(),r=this.getScaleArray();return[t[0]-e[0]/r[0],t[1]+e[1]/r[1]]}setAnchor(t){this.anchor_=t,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(t){return this.iconImage_.getImage(t)}getPixelRatio(t){return this.iconImage_.getPixelRatio(t)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let t=this.offset_;if("top-left"!=this.offsetOrigin_){const e=this.getSize(),r=this.iconImage_.getSize();if(!e||!r)return null;t=t.slice(),("top-right"==this.offsetOrigin_||"bottom-right"==this.offsetOrigin_)&&(t[0]=r[0]-e[0]-t[0]),("bottom-left"==this.offsetOrigin_||"bottom-right"==this.offsetOrigin_)&&(t[1]=r[1]-e[1]-t[1])}return this.origin_=t,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const t=this.getScaleArray();return this.size_?this.size_[0]*t[0]:2==this.iconImage_.getImageState()?this.iconImage_.getSize()[0]*t[0]:void 0}getHeight(){const t=this.getScaleArray();return this.size_?this.size_[1]*t[1]:2==this.iconImage_.getImageState()?this.iconImage_.getSize()[1]*t[1]:void 0}setScale(t){delete this.initialOptions_,super.setScale(t)}listenImageChange(t){this.iconImage_.addEventListener("change",t)}load(){this.iconImage_.load()}unlistenImageChange(t){this.iconImage_.removeEventListener("change",t)}}const w7=yE;class bE{constructor(t){this.font_=(t=t||{}).font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.scale_=t.scale,this.scaleArray_=ma(void 0!==t.scale?t.scale:1),this.text_=t.text,this.textAlign_=t.textAlign,this.justify_=t.justify,this.repeat_=t.repeat,this.textBaseline_=t.textBaseline,this.fill_=void 0!==t.fill?t.fill:new mE({color:"#333"}),this.maxAngle_=void 0!==t.maxAngle?t.maxAngle:Math.PI/4,this.placement_=void 0!==t.placement?t.placement:"point",this.overflow_=!!t.overflow,this.stroke_=void 0!==t.stroke?t.stroke:null,this.offsetX_=void 0!==t.offsetX?t.offsetX:0,this.offsetY_=void 0!==t.offsetY?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=void 0===t.padding?null:t.padding}clone(){const t=this.getScale();return new bE({font:this.getFont(),placement:this.getPlacement(),repeat:this.getRepeat(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getRepeat(){return this.repeat_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}setOverflow(t){this.overflow_=t}setFont(t){this.font_=t}setMaxAngle(t){this.maxAngle_=t}setOffsetX(t){this.offsetX_=t}setOffsetY(t){this.offsetY_=t}setPlacement(t){this.placement_=t}setRepeat(t){this.repeat_=t}setRotateWithView(t){this.rotateWithView_=t}setFill(t){this.fill_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=ma(void 0!==t?t:1)}setStroke(t){this.stroke_=t}setText(t){this.text_=t}setTextAlign(t){this.textAlign_=t}setJustify(t){this.justify_=t}setTextBaseline(t){this.textBaseline_=t}setBackgroundFill(t){this.backgroundFill_=t}setBackgroundStroke(t){this.backgroundStroke_=t}setPadding(t){this.padding_=t}}const zDe=bE;function x7(o){return new vE({fill:n_(o,""),stroke:i_(o,""),text:YDe(o),image:jDe(o)})}function n_(o,t){const e=o[t+"fill-color"];if(e)return"none"===e?null:new mE({color:e})}function i_(o,t){const e=o[t+"stroke-width"],r=o[t+"stroke-color"];if(e||r)return new y7({width:e,color:r,lineCap:o[t+"stroke-line-cap"],lineJoin:o[t+"stroke-line-join"],lineDash:o[t+"stroke-line-dash"],lineDashOffset:o[t+"stroke-line-dash-offset"],miterLimit:o[t+"stroke-miter-limit"]})}function YDe(o){const t=o["text-value"];return t?new zDe({text:t,font:o["text-font"],maxAngle:o["text-max-angle"],offsetX:o["text-offset-x"],offsetY:o["text-offset-y"],overflow:o["text-overflow"],placement:o["text-placement"],repeat:o["text-repeat"],scale:o["text-scale"],rotateWithView:o["text-rotate-with-view"],rotation:o["text-rotation"],textAlign:o["text-align"],justify:o["text-justify"],textBaseline:o["text-baseline"],padding:o["text-padding"],fill:n_(o,"text-"),backgroundFill:n_(o,"text-background-"),stroke:i_(o,"text-"),backgroundStroke:i_(o,"text-background-")}):void 0}function jDe(o){const t=o["icon-src"],e=o["icon-img"];if(t||e)return new w7({src:t,img:e,imgSize:o["icon-img-size"],anchor:o["icon-anchor"],anchorOrigin:o["icon-anchor-origin"],anchorXUnits:o["icon-anchor-x-units"],anchorYUnits:o["icon-anchor-y-units"],color:o["icon-color"],crossOrigin:o["icon-cross-origin"],offset:o["icon-offset"],displacement:o["icon-displacement"],opacity:o["icon-opacity"],scale:o["icon-scale"],width:o["icon-width"],height:o["icon-height"],rotation:o["icon-rotation"],rotateWithView:o["icon-rotate-with-view"],size:o["icon-size"],declutterMode:o["icon-declutter-mode"]});const r=o["shape-points"];if(r){const i="shape-";return new _7({points:r,fill:n_(o,i),stroke:i_(o,i),radius:o["shape-radius"],radius1:o["shape-radius1"],radius2:o["shape-radius2"],angle:o["shape-angle"],displacement:o["shape-displacement"],rotation:o["shape-rotation"],rotateWithView:o["shape-rotate-with-view"],scale:o["shape-scale"],declutterMode:o["shape-declutter-mode"]})}const n=o["circle-radius"];if(n){const i="circle-";return new v7({radius:n,fill:n_(o,i),stroke:i_(o,i),displacement:o["circle-displacement"],scale:o["circle-scale"],rotation:o["circle-rotation"],rotateWithView:o["circle-rotate-with-view"],declutterMode:o["circle-declutter-mode"]})}}const WDe=class UDe extends B0{constructor(t){t=t||{};const e=Object.assign({},t);delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,super(e),this.declutter_=void 0!==t.declutter&&t.declutter,this.renderBuffer_=void 0!==t.renderBuffer?t.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(t.style),this.updateWhileAnimating_=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.updateWhileInteracting_=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}getDeclutter(){return this.declutter_}getFeatures(t){return super.getFeatures(t)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get("renderOrder")}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(t){t.declutterTree||(t.declutterTree=new m7(9)),this.getRenderer().renderDeclutter(t)}setRenderOrder(t){this.set("renderOrder",t)}setStyle(t){let e;if(void 0===t)e=NDe;else if(null===t)e=null;else if("function"==typeof t)e=t;else if(t instanceof vE)e=t;else if(Array.isArray(t)){const r=t.length,n=new Array(r);for(let i=0;is&&(this.instructions.push([Ot.CUSTOM,s,c,t,r,Nh]),this.hitDetectionInstructions.push([Ot.CUSTOM,s,c,t,n||r,Nh]));break;case"Point":l=t.getFlatCoordinates(),this.coordinates.push(l[0],l[1]),c=this.coordinates.length,this.instructions.push([Ot.CUSTOM,s,c,t,r]),this.hitDetectionInstructions.push([Ot.CUSTOM,s,c,t,n||r])}this.endGeometry(e)}beginGeometry(t,e){this.beginGeometryInstruction1_=[Ot.BEGIN_GEOMETRY,e,0,t],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[Ot.BEGIN_GEOMETRY,e,0,t],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const t=this.hitDetectionInstructions;let e;t.reverse();const r=t.length;let n,i,a=-1;for(e=0;ethis.maxLineWidth&&(this.maxLineWidth=r.lineWidth,this.bufferedMaxExtent_=null)}else r.strokeStyle=void 0,r.lineCap=void 0,r.lineDash=null,r.lineDashOffset=void 0,r.lineJoin=void 0,r.lineWidth=void 0,r.miterLimit=void 0}createFill(t){const e=t.fillStyle,r=[Ot.SET_FILL_STYLE,e];return"string"!=typeof e&&r.push(!0),r}applyStroke(t){this.instructions.push(this.createStroke(t))}createStroke(t){return[Ot.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]}updateFillStyle(t,e){const r=t.fillStyle;("string"!=typeof r||t.currentFillStyle!=r)&&(void 0!==r&&this.instructions.push(e.call(this,t)),t.currentFillStyle=r)}updateStrokeStyle(t,e){const r=t.strokeStyle,n=t.lineCap,i=t.lineDash,a=t.lineDashOffset,s=t.lineJoin,l=t.lineWidth,c=t.miterLimit;(t.currentStrokeStyle!=r||t.currentLineCap!=n||i!=t.currentLineDash&&!Hc(t.currentLineDash,i)||t.currentLineDashOffset!=a||t.currentLineJoin!=s||t.currentLineWidth!=l||t.currentMiterLimit!=c)&&(void 0!==r&&e.call(this,t),t.currentStrokeStyle=r,t.currentLineCap=n,t.currentLineDash=i,t.currentLineDashOffset=a,t.currentLineJoin=s,t.currentLineWidth=l,t.currentMiterLimit=c)}endGeometry(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const e=[Ot.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)}getBufferedMaxExtent(){return!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=N8(this.maxExtent),this.maxLineWidth>0)&&mk(this.bufferedMaxExtent_,this.resolution*(this.maxLineWidth+1)/2,this.bufferedMaxExtent_),this.bufferedMaxExtent_}},E7=class QDe extends s_{constructor(t,e,r,n){super(t,e,r,n)}drawFlatCoordinatess_(t,e,r,n){const i=this.state,a=void 0!==i.fillStyle,s=void 0!==i.strokeStyle,l=r.length;this.instructions.push(Au),this.hitDetectionInstructions.push(Au);for(let c=0;c=o){const A=(o-s+k)/k,B=os(c,_,A),z=os(h,C,A);l.push(B,z),i.push(l),l=[B,z],s==o&&(a+=n),s=0}else if(s0&&i.push(l),i}function tMe(o,t,e,r,n){let h,_,C,k,A,B,z,W,q,G,i=e,a=e,s=0,l=0,c=e;for(_=e;_o&&(l>s&&(s=l,i=c,a=_),l=0,c=_-n)),C=k,z=q,W=G),A=X,B=oe}return l+=k,l>s?[c,_]:[i,a]}const K0={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},oMe={Circle:E7,Default:s_,Image:class KDe extends s_{constructor(t,e,r,n){super(t,e,r,n),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const r=t.getFlatCoordinates(),n=t.getStride(),i=this.coordinates.length,a=this.appendFlatPointCoordinates(r,n);this.instructions.push([Ot.DRAW_IMAGE,i,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([Ot.DRAW_IMAGE,i,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}drawMultiPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const r=t.getFlatCoordinates(),n=t.getStride(),i=this.coordinates.length,a=this.appendFlatPointCoordinates(r,n);this.instructions.push([Ot.DRAW_IMAGE,i,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([Ot.DRAW_IMAGE,i,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}finish(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,super.finish()}setImageStyle(t,e){const r=t.getAnchor(),n=t.getSize(),i=t.getOrigin();this.imagePixelRatio_=t.getPixelRatio(this.pixelRatio),this.anchorX_=r[0],this.anchorY_=r[1],this.hitDetectionImage_=t.getHitDetectionImage(),this.image_=t.getImage(this.pixelRatio),this.height_=n[1],this.opacity_=t.getOpacity(),this.originX_=i[0],this.originY_=i[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScaleArray(),this.width_=n[0],this.declutterMode_=t.getDeclutterMode(),this.declutterImageWithText_=e}},LineString:class XDe extends s_{constructor(t,e,r,n){super(t,e,r,n)}drawFlatCoordinates_(t,e,r,n){const i=this.coordinates.length,a=this.appendFlatLineCoordinates(t,e,r,n,!1,!1),s=[Ot.MOVE_TO_LINE_TO,i,a];return this.instructions.push(s),this.hitDetectionInstructions.push(s),r}drawLineString(t,e){const r=this.state;if(void 0===r.strokeStyle||void 0===r.lineWidth)return;this.updateStrokeStyle(r,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([Ot.SET_STROKE_STYLE,r.strokeStyle,r.lineWidth,r.lineCap,r.lineJoin,r.miterLimit,Ll,0],Au);const a=t.getFlatCoordinates(),s=t.getStride();this.drawFlatCoordinates_(a,0,a.length,s),this.hitDetectionInstructions.push(Uc),this.endGeometry(e)}drawMultiLineString(t,e){const r=this.state;if(void 0===r.strokeStyle||void 0===r.lineWidth)return;this.updateStrokeStyle(r,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([Ot.SET_STROKE_STYLE,r.strokeStyle,r.lineWidth,r.lineCap,r.lineJoin,r.miterLimit,Ll,0],Au);const a=t.getEnds(),s=t.getFlatCoordinates(),l=t.getStride();let c=0;for(let h=0,_=a.length;h<_;++h)c=this.drawFlatCoordinates_(s,c,a[h],l);this.hitDetectionInstructions.push(Uc),this.endGeometry(e)}finish(){const t=this.state;return null!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&this.instructions.push(Uc),this.reverseHitDetectionInstructions(),this.state=null,super.finish()}applyStroke(t){null!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&(this.instructions.push(Uc),t.lastStroke=this.coordinates.length),t.lastStroke=0,super.applyStroke(t),this.instructions.push(Au)}},Polygon:E7,Text:class rMe extends s_{constructor(t,e,r,n){super(t,e,r,n),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates[Di]={fillStyle:Di},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterImageWithText_=void 0}finish(){const t=super.finish();return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t}drawText(t,e){const i=this.textState_;if(""===this.text_||!i||!this.textFillState_&&!this.textStrokeState_)return;const a=this.coordinates;let s=a.length;const l=t.getType();let c=null,h=t.getStride();if("line"!==i.placement||"LineString"!=l&&"MultiLineString"!=l&&"Polygon"!=l&&"MultiPolygon"!=l){let _=i.overflow?null:[];switch(l){case"Point":case"MultiPoint":c=t.getFlatCoordinates();break;case"LineString":c=t.getFlatMidpoint();break;case"Circle":c=t.getCenter();break;case"MultiLineString":c=t.getFlatMidpoints(),h=2;break;case"Polygon":c=t.getFlatInteriorPoint(),i.overflow||_.push(c[2]/this.resolution),h=3;break;case"MultiPolygon":const W=t.getFlatInteriorPoints();c=[];for(let q=0,G=W.length;q{const X=a[2*(W+G)]===c[G*h]&&a[2*(W+G)+1]===c[G*h+1];return X||--W,X})}this.saveTextStates_(),(i.backgroundFill||i.backgroundStroke)&&(this.setFillStrokeStyle(i.backgroundFill,i.backgroundStroke),i.backgroundFill&&this.updateFillStyle(this.state,this.createFill),i.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);let k=i.padding;if(k!=Pu&&(i.scale[0]<0||i.scale[1]<0)){let W=i.padding[0],q=i.padding[1],G=i.padding[2],X=i.padding[3];i.scale[0]<0&&(q=-q,X=-X),i.scale[1]<0&&(W=-W,G=-G),k=[W,q,G,X]}const A=this.pixelRatio;this.instructions.push([Ot.DRAW_IMAGE,s,C,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,void 0,this.declutterImageWithText_,k==Pu?Pu:k.map(function(W){return W*A}),!!i.backgroundFill,!!i.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,_]);const B=1/A,z=this.state.fillStyle;i.backgroundFill&&(this.state.fillStyle=Di,this.hitDetectionInstructions.push(this.createFill(this.state))),this.hitDetectionInstructions.push([Ot.DRAW_IMAGE,s,C,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[B,B],NaN,void 0,this.declutterImageWithText_,k,!!i.backgroundFill,!!i.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?Di:this.fillKey_,this.textOffsetX_,this.textOffsetY_,_]),i.backgroundFill&&(this.state.fillStyle=z,this.hitDetectionInstructions.push(this.createFill(this.state))),this.endGeometry(e)}else{if(!wi(this.getBufferedMaxExtent(),t.getExtent()))return;let _;if(c=t.getFlatCoordinates(),"LineString"==l)_=[c.length];else if("MultiLineString"==l)_=t.getEnds();else if("Polygon"==l)_=t.getEnds().slice(0,1);else if("MultiPolygon"==l){const B=t.getEndss();_=[];for(let z=0,W=B.length;zue[2]}else nt=X>Be;const ft=Math.PI,Qe=[],lr=de+r===t;let _t;if(z=0,W=fe,C=o[t=de],k=o[t+1],lr)return q(),_t=Math.atan2(k-B,C-A),nt&&(_t+=_t>0?-ft:ft),Qe[0]=[(Be+X)/2,($e+oe)/2,(ye-i)/2,_t,n],Qe;for(let ue=0,ge=(n=n.replace(/\n/g," ")).length;ue0?-ft:ft),void 0!==_t){let st=Ce-_t;if(st+=st>ft?-2*ft:st<-ft?2*ft:0,Math.abs(st)>a)return null}_t=Ce;const Ge=ue;let yt=0;for(;ue0&&o.push("\n",""),o.push(t,""),o}const lMe=class sMe{constructor(t,e,r,n){this.overlaps=r,this.pixelRatio=e,this.resolution=t,this.instructions=n.instructions,this.coordinates=n.coordinates,this.coordinateCache_={},this.renderedTransform_=[1,0,0,1,0,0],this.hitDetectionInstructions=n.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=n.fillStates||{},this.strokeStates=n.strokeStates||{},this.textStates=n.textStates||{},this.widths_={},this.labels_={}}createLabel(t,e,r,n){const i=t+e+r+n;if(this.labels_[i])return this.labels_[i];const a=n?this.strokeStates[n]:null,s=r?this.fillStates[r]:null,l=this.textStates[e],c=this.pixelRatio,h=[l.scale[0]*c,l.scale[1]*c],_=Array.isArray(t),C=l.justify?K0[l.justify]:CE(Array.isArray(t)?t[0]:t,l.textAlign||Qf),k=n&&a.lineWidth?a.lineWidth:0,A=_?t:t.split("\n").reduce(aMe,[]),{width:B,height:z,widths:W,heights:q,lineWidths:G}=function uxe(o,t){const e=[],r=[],n=[];let i=0,a=0,s=0,l=0;for(let c=0,h=t.length;c<=h;c+=2){const _=t[c];if("\n"===_||c===h){i=Math.max(i,a),n.push(a),a=0,s+=l;continue}const C=t[c+1]||o.font,k=Y0(C,_);e.push(k),a+=k;const A=dxe(C);r.push(A),l=Math.max(l,A)}return{width:i,height:s,widths:e,heights:r,lineWidths:n}}(l,A),X=B+k,oe=[],de=(X+2)*h[0],fe=(z+k)*h[1],ye={width:de<0?Math.floor(de):Math.ceil(de),height:fe<0?Math.floor(fe):Math.ceil(fe),contextInstructions:oe};(1!=h[0]||1!=h[1])&&oe.push("scale",h),n&&(oe.push("strokeStyle",a.strokeStyle),oe.push("lineWidth",k),oe.push("lineCap",a.lineCap),oe.push("lineJoin",a.lineJoin),oe.push("miterLimit",a.miterLimit),oe.push("setLineDash",[a.lineDash]),oe.push("lineDashOffset",a.lineDashOffset)),r&&oe.push("fillStyle",s.fillStyle),oe.push("textBaseline","middle"),oe.push("textAlign","center");const Be=.5-C;let $e=C*X+Be*k;const nt=[],ft=[];let ge,Qe=0,lr=0,_t=0,ue=0;for(let Ce=0,Ge=A.length;Cet?t-c:i,X=a+h>e?e-h:a,oe=A[3]+G*C[0]+A[1],de=A[0]+X*C[1]+A[2],fe=W-A[3],ye=q-A[0];let Be;return(B||0!==_)&&(Wc[0]=fe,Gc[0]=fe,Wc[1]=ye,Hl[1]=ye,Hl[0]=fe+oe,Vl[0]=Hl[0],Vl[1]=ye+de,Gc[1]=Vl[1]),0!==_?(Be=Rl([1,0,0,1,0,0],r,n,1,1,_,-r,-n),un(Be,Wc),un(Be,Hl),un(Be,Vl),un(Be,Gc),Pl(Math.min(Wc[0],Hl[0],Vl[0],Gc[0]),Math.min(Wc[1],Hl[1],Vl[1],Gc[1]),Math.max(Wc[0],Hl[0],Vl[0],Gc[0]),Math.max(Wc[1],Hl[1],Vl[1],Gc[1]),Uh)):Pl(Math.min(fe,fe+oe),Math.min(ye,ye+de),Math.max(fe,fe+oe),Math.max(ye,ye+de),Uh),k&&(W=Math.round(W),q=Math.round(q)),{drawImageX:W,drawImageY:q,drawImageW:G,drawImageH:X,originX:c,originY:h,declutterBox:{minX:Uh[0],minY:Uh[1],maxX:Uh[2],maxY:Uh[3],value:z},canvasTransform:Be,scale:C}}replayImageOrLabel_(t,e,r,n,i,a,s){const c=n.declutterBox,h=t.canvas,_=s?s[2]*n.scale[0]/2:0;return c.minX-_<=h.width/e&&c.maxX+_>=0&&c.minY-_<=h.height/e&&c.maxY+_>=0&&(!(!a&&!s)&&this.replayTextBackground_(t,Wc,Hl,Vl,Gc,a,s),function pxe(o,t,e,r,n,i,a,s,l,c,h){o.save(),1!==e&&(o.globalAlpha*=e),t&&o.setTransform.apply(o,t),r.contextInstructions?(o.translate(l,c),o.scale(h[0],h[1]),function hxe(o,t){const e=o.contextInstructions;for(let r=0,n=e.length;rge&&(this.fill_(t),Be=0),$e>ge&&(t.stroke(),$e=0),!Be&&!$e&&(t.beginPath(),z=NaN,W=NaN),++h;break;case Ot.CIRCLE:C=xe[1];const st=c[C],Jt=c[C+1],Cr=c[C+2]-st,io=c[C+3]-Jt,Wi=Math.sqrt(Cr*Cr+io*io);t.moveTo(st+Wi,Jt),t.arc(st,Jt,Wi,0,2*Math.PI,!0),++h;break;case Ot.CLOSE_PATH:t.closePath(),++h;break;case Ot.CUSTOM:C=xe[1],k=xe[2];const Qc=xe[4],Hu=6==xe.length?xe[5]:void 0;ue.geometry=xe[3],ue.feature=Ce,h in Qe||(Qe[h]=[]);const $s=Qe[h];Hu?Hu(c,C,k,2,$s):($s[0]=c[C],$s[1]=c[C+1],$s.length=2),Qc($s,ue),++h;break;case Ot.DRAW_IMAGE:C=xe[1],k=xe[2],X=xe[3],A=xe[4],B=xe[5];let Vu=xe[6];const ls=xe[7],$u=xe[8],Zh=xe[9],Xh=xe[10];let Mi=xe[11];const ed=xe[12];let Dn=xe[13];const ni=xe[14],ii=xe[15];if(!X&&xe.length>=20){oe=xe[19],de=xe[20],fe=xe[21],ye=xe[22];const Gi=this.drawLabelWithPointPlacement_(oe,de,fe,ye);X=Gi.label,xe[3]=X,A=(Gi.anchorX-xe[23])*this.pixelRatio,xe[4]=A,B=(Gi.anchorY-xe[24])*this.pixelRatio,xe[5]=B,Vu=X.height,xe[6]=Vu,Dn=X.width,xe[13]=Dn}let ya,zl,zs,cs;xe.length>25&&(ya=xe[25]),xe.length>17?(zl=xe[16],zs=xe[17],cs=xe[18]):(zl=Pu,zs=!1,cs=!1),Xh&&_t?Mi+=lr:!Xh&&!_t&&(Mi-=lr);let Jh=0;for(;Ce)break;let l=r[s];l||(l=[],r[s]=l),l.push(4*((o+i)*t+(o+a))+3),i>0&&l.push(4*((o-i)*t+(o+a))+3),a>0&&(l.push(4*((o+i)*t+(o-a))+3),i>0&&l.push(4*((o-i)*t+(o-a))+3))}const n=[];for(let i=0,a=r.length;i0){if(!a||"Image"!==k&&"Text"!==k||a.includes(oe)){const $e=(C[ye]-3)/4,nt=n-$e%s,ft=n-($e/s|0),Qe=i(oe,de,nt*nt+ft*ft);if(Qe)return Qe}h.clearRect(0,0,s,s);break}}const B=Object.keys(this.executorsByZIndex_).map(Number);let z,W,q,G,X;for(B.sort(ku),z=B.length-1;z>=0;--z){const oe=B[z].toString();for(q=this.executorsByZIndex_[oe],W=wE.length-1;W>=0;--W)if(k=wE[W],G=q[k],void 0!==G&&(X=G.executeHitDetection(h,l,r,A,_),X))return X}}getClipCoords(t){const e=this.maxExtent_;if(!e)return null;const r=e[0],n=e[1],i=e[2],a=e[3],s=[r,n,r,a,i,a,i,n];return Eu(s,0,8,2,t,s),s}isEmpty(){return Kf(this.executorsByZIndex_)}execute(t,e,r,n,i,a,s){const l=Object.keys(this.executorsByZIndex_).map(Number);let c,h,_,C,k,A;for(l.sort(ku),this.maxExtent_&&(t.save(),this.clip(t,r)),a=a||wE,s&&l.reverse(),c=0,h=l.length;c_*this.pixelRatio_),lineDashOffset:(a||0)*this.pixelRatio_,lineJoin:void 0!==s?s:Hh,lineWidth:(void 0!==l?l:1)*this.pixelRatio_,miterLimit:void 0!==c?c:10,strokeStyle:Ns(r||Jf)}}else this.strokeState_=null}setImageStyle(t){let e;if(!t||!(e=t.getSize()))return void(this.image_=null);const r=t.getPixelRatio(this.pixelRatio_),n=t.getAnchor(),i=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=n[0]*r,this.imageAnchorY_=n[1]*r,this.imageHeight_=e[1]*r,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=i[0],this.imageOriginY_=i[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const a=t.getScaleArray();this.imageScale_=[a[0]*this.pixelRatio_/r,a[1]*this.pixelRatio_/r],this.imageWidth_=e[0]*r}setTextStyle(t){if(t){const e=t.getFill();if(e){const k=e.getColor();this.textFillState_={fillStyle:Ns(k||Di)}}else this.textFillState_=null;const r=t.getStroke();if(r){const k=r.getColor(),A=r.getLineCap(),B=r.getLineDash(),z=r.getLineDashOffset(),W=r.getLineJoin(),q=r.getWidth(),G=r.getMiterLimit();this.textStrokeState_={lineCap:void 0!==A?A:$0,lineDash:B||Ll,lineDashOffset:z||0,lineJoin:void 0!==W?W:Hh,lineWidth:void 0!==q?q:1,miterLimit:void 0!==G?G:10,strokeStyle:Ns(k||Jf)}}else this.textStrokeState_=null;const n=t.getFont(),i=t.getOffsetX(),a=t.getOffsetY(),s=t.getRotateWithView(),l=t.getRotation(),c=t.getScaleArray(),h=t.getText(),_=t.getTextAlign(),C=t.getTextBaseline();this.textState_={font:void 0!==n?n:GN,textAlign:void 0!==_?_:Qf,textBaseline:void 0!==C?C:z0},this.text_=void 0!==h?Array.isArray(h)?h.reduce((k,A,B)=>k+(B%2?" ":A),""):h:"",this.textOffsetX_=void 0!==i?this.pixelRatio_*i:0,this.textOffsetY_=void 0!==a?this.pixelRatio_*a:0,this.textRotateWithView_=void 0!==s&&s,this.textRotation_=void 0!==l?l:0,this.textScale_=[this.pixelRatio_*c[0],this.pixelRatio_*c[1]]}else this.text_=""}},Hs=.5,A7={Point:function DMe(o,t,e,r,n){const i=e.getImage(),a=e.getText();let s;if(i){if(2!=i.getImageState())return;let l=o;if(n){const h=i.getDeclutterMode();if("none"!==h)if(l=n,"obstacle"===h){const _=o.getBuilder(e.getZIndex(),"Image");_.setImageStyle(i,s),_.drawPoint(t,r)}else a&&a.getText()&&(s={})}const c=l.getBuilder(e.getZIndex(),"Image");c.setImageStyle(i,s),c.drawPoint(t,r)}if(a&&a.getText()){let l=o;n&&(l=n);const c=l.getBuilder(e.getZIndex(),"Text");c.setTextStyle(a,s),c.drawText(t,r)}},LineString:function CMe(o,t,e,r,n){const i=e.getStroke();if(i){const s=o.getBuilder(e.getZIndex(),"LineString");s.setFillStrokeStyle(null,i),s.drawLineString(t,r)}const a=e.getText();if(a&&a.getText()){const s=(n||o).getBuilder(e.getZIndex(),"Text");s.setTextStyle(a),s.drawText(t,r)}},Polygon:function kMe(o,t,e,r,n){const i=e.getFill(),a=e.getStroke();if(i||a){const l=o.getBuilder(e.getZIndex(),"Polygon");l.setFillStrokeStyle(i,a),l.drawPolygon(t,r)}const s=e.getText();if(s&&s.getText()){const l=(n||o).getBuilder(e.getZIndex(),"Text");l.setTextStyle(s),l.drawText(t,r)}},MultiPoint:function MMe(o,t,e,r,n){const i=e.getImage(),a=e.getText();let s;if(i){if(2!=i.getImageState())return;let l=o;if(n){const h=i.getDeclutterMode();if("none"!==h)if(l=n,"obstacle"===h){const _=o.getBuilder(e.getZIndex(),"Image");_.setImageStyle(i,s),_.drawMultiPoint(t,r)}else a&&a.getText()&&(s={})}const c=l.getBuilder(e.getZIndex(),"Image");c.setImageStyle(i,s),c.drawMultiPoint(t,r)}if(a&&a.getText()){let l=o;n&&(l=n);const c=l.getBuilder(e.getZIndex(),"Text");c.setTextStyle(a,s),c.drawText(t,r)}},MultiLineString:function wMe(o,t,e,r,n){const i=e.getStroke();if(i){const s=o.getBuilder(e.getZIndex(),"LineString");s.setFillStrokeStyle(null,i),s.drawMultiLineString(t,r)}const a=e.getText();if(a&&a.getText()){const s=(n||o).getBuilder(e.getZIndex(),"Text");s.setTextStyle(a),s.drawText(t,r)}},MultiPolygon:function xMe(o,t,e,r,n){const i=e.getFill(),a=e.getStroke();if(a||i){const l=o.getBuilder(e.getZIndex(),"Polygon");l.setFillStrokeStyle(i,a),l.drawMultiPolygon(t,r)}const s=e.getText();if(s&&s.getText()){const l=(n||o).getBuilder(e.getZIndex(),"Text");l.setTextStyle(s),l.drawText(t,r)}},GeometryCollection:function bMe(o,t,e,r,n){const i=t.getGeometriesArray();let a,s;for(a=0,s=i.length;a{if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const r=[this.context.canvas.width,this.context.canvas.height];un(this.pixelTransform,r);const n=this.renderedCenter_,i=this.renderedResolution_,a=this.renderedRotation_,s=this.renderedProjection_,l=this.wrappedRenderedExtent_,c=this.getLayer(),h=[],_=r[0]*Hs,C=r[1]*Hs;h.push(this.getRenderTransform(n,i,a,Hs,_,C,0).slice());const k=c.getSource(),A=s.getExtent();if(k.getWrapX()&&s.canWrapX()&&!Fh(A,l)){let B=l[0];const z=no(A);let q,W=0;for(;BA[2];)++W,q=z*W,h.push(this.getRenderTransform(n,i,a,Hs,_,C,q).slice()),B-=z}this.hitDetectionImageData_=function hMe(o,t,e,r,n,i,a){const c=oi(o[0]*Hs,o[1]*Hs);c.imageSmoothingEnabled=!1;const h=c.canvas,_=new pMe(c,Hs,n,null,a),C=e.length,k=Math.floor(16777215/C),A={};for(let z=1;z<=C;++z){const W=e[z-1],q=W.getStyleFunction()||r;if(!q)continue;let G=q(W,i);if(!G)continue;Array.isArray(G)||(G=[G]);const oe=(z*k).toString(16).padStart(7,"#00000");for(let de=0,fe=G.length;de_=k.forEachFeatureAtCoordinate(t,a,s,r,h,k===this.declutterExecutorGroup&&e.declutterTree?e.declutterTree.all().map(A=>A.value):null)),_}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}prepareFrame(t){const e=this.getLayer(),r=e.getSource();if(!r)return!1;const n=t.viewHints[0],i=t.viewHints[1],a=e.getUpdateWhileAnimating(),s=e.getUpdateWhileInteracting();if(this.ready&&!a&&n||!s&&i)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const l=t.extent,c=t.viewState,h=c.projection,_=c.resolution,C=t.pixelRatio,k=e.getRevision(),A=e.getRenderBuffer();let B=e.getRenderOrder();void 0===B&&(B=fMe);const z=c.center.slice(),W=mk(l,A*_),q=W.slice(),G=[W.slice()],X=h.getExtent();if(r.getWrapX()&&h.canWrapX()&&!Fh(X,t.extent)){const ue=no(X),ge=Math.max(no(W)/2,ue);W[0]=X[0]-ge,W[2]=X[2]+ge,G8(z,h);const Ce=j8(G[0],h);Ce[0]X[0]&&Ce[2]>X[2]&&G.push([Ce[0]-ue,Ce[1],Ce[2]-ue,Ce[3]])}if(this.ready&&this.renderedResolution_==_&&this.renderedRevision_==k&&this.renderedRenderOrder_==B&&Fh(this.wrappedRenderedExtent_,W))return Hc(this.renderedExtent_,q)||(this.hitDetectionImageData_=null,this.renderedExtent_=q),this.renderedCenter_=z,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const oe=new T7(DE(_,C),W,_,C);let de;this.getLayer().getDeclutter()&&(de=new T7(DE(_,C),W,_,C));const fe=tN();let ye;if(fe){for(let ue=0,ge=G.length;ue{let ge;const Ce=ue.getStyleFunction()||e.getStyleFunction();if(Ce&&(ge=Ce(ue,_)),ge){const Ge=this.renderFeature(ue,Be,ge,oe,ye,de);$e=$e&&!Ge}},ft=kk(W),Qe=r.getFeaturesInExtent(ft);B&&Qe.sort(B);for(let ue=0,ge=Qe.length;ue0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let e=this.oldest_;for(;e;)t(e.value_,e.key_,this),e=e.newer}get(t,e){const r=this.entries_[t];return sr(void 0!==r,15),r===this.newest_||(r===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(r.newer.older=r.older,r.older.newer=r.newer),r.newer=null,r.older=this.newest_,this.newest_.newer=r,this.newest_=r),r.value_}remove(t){const e=this.entries_[t];return sr(void 0!==e,15),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let r,e=0;for(r=this.newest_;r;r=r.older)t[e++]=r.key_;return t}getValues(){const t=new Array(this.count_);let r,e=0;for(r=this.newest_;r;r=r.older)t[e++]=r.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){if(this.containsKey(t))return this.entries_[t].value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,e){this.get(t),this.entries_[t].value_=e}set(t,e){sr(!(t in this.entries_),16);const r={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=r:this.oldest_=r,this.newest_=r,this.entries_[t]=r,++this.count_}setSize(t){this.highWaterMark=t}}{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(t){for(;this.canExpireCache()&&!(this.peekLast().getKey()in t);)this.pop().release()}pruneExceptNewestZ(){if(0===this.getCount())return;const r=function AMe(o){return o.split("/").map(Number)}(this.peekFirstKey())[0];this.forEach(n=>{n.tileCoord[0]!==r&&(this.remove(B7(n.tileCoord)),n.release())})}};function H7(o){return o?Array.isArray(o)?function(t){return o}:"function"==typeof o?o:function(t){return[o]}:null}const V7=class BMe extends Ol{constructor(t){super(),this.projection=In(t.projection),this.attributions_=H7(t.attributions),this.attributionsCollapsible_=void 0===t.attributionsCollapsible||t.attributionsCollapsible,this.loading=!1,this.state_=void 0!==t.state?t.state:"ready",this.wrapX_=void 0!==t.wrapX&&t.wrapX,this.interpolate_=!!t.interpolate,this.viewResolver=null,this.viewRejector=null;const e=this;this.viewPromise_=new Promise(function(r,n){e.viewResolver=r,e.viewRejector=n})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(t){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(t){this.attributions_=H7(t),this.changed()}setState(t){this.state_=t,this.changed()}},Wh=[0,0,0],$7=class NMe{constructor(t){let e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,sr(function cwe(o,t,e){const r=t||ku;return o.every(function(n,i){if(0===i)return!0;const a=r(o[i-1],n);return!(a>0||e&&0===a)})}(this.resolutions_,function(n,i){return i-n},!0),17),!t.origins)for(let n=0,i=this.resolutions_.length-1;n=this.minZoom;){if(2===this.zoomFactor_?(a=Math.floor(a/2),s=Math.floor(s/2),i=jh(a,a,s,s,r)):i=this.getTileRangeForExtentAndZ(l,c,r),e(c,i))return!0;--c}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,e,r){if(t[0]this.maxZoom||e0?r:Math.max(i/e[0],n/e[1]);const a=t+1,s=new Array(a);for(let l=0;le||e>t.getMaxZoom())return!1;const i=t.getFullTileRange(e);return!i||i.containsXY(r,n)}(t,r)?t:null}clear(){this.tileCache.clear()}refresh(){this.clear(),super.refresh()}updateCacheSize(t,e){const r=this.getTileCacheForProjection(e);t>r.highWaterMark&&(r.highWaterMark=t)}useTile(t,e,r,n){}};function WMe(o,t){const e=/\{z\}/g,r=/\{x\}/g,n=/\{y\}/g,i=/\{-y\}/g;return function(a,s,l){if(a)return o.replace(e,a[0].toString()).replace(r,a[1].toString()).replace(n,a[2].toString()).replace(i,function(){const h=t.getFullTileRange(a[0]);return sr(h,55),(h.getHeight()-a[2]-1).toString()})}}class EE extends UMe{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.generateTileUrlFunction_=this.tileUrlFunction===EE.prototype.tileUrlFunction,this.tileLoadFunction=t.tileLoadFunction,t.tileUrlFunction&&(this.tileUrlFunction=t.tileUrlFunction),this.urls=null,t.urls?this.setUrls(t.urls):t.url&&this.setUrl(t.url),this.tileLoadingKeys_={}}getTileLoadFunction(){return this.tileLoadFunction}getTileUrlFunction(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction}getUrls(){return this.urls}handleTileChange(t){const e=t.target,r=Or(e),n=e.getState();let i;1==n?(this.tileLoadingKeys_[r]=!0,i="tileloadstart"):r in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[r],i=3==n?"tileloaderror":2==n?"tileloadend":void 0),null!=i&&this.dispatchEvent(new jMe(i,e))}setTileLoadFunction(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()}setTileUrlFunction(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),typeof e<"u"?this.setKey(e):this.changed()}setUrl(t){const e=function KMe(o){const t=[];let e=/\{([a-z])-([a-z])\}/.exec(o);if(e){const r=e[1].charCodeAt(0),n=e[2].charCodeAt(0);let i;for(i=r;i<=n;++i)t.push(o.replace(e[0],String.fromCharCode(i)));return t}if(e=/\{(\d+)-(\d+)\}/.exec(o),e){const r=parseInt(e[2],10);for(let n=parseInt(e[1],10);n<=r;n++)t.push(o.replace(e[0],n.toString()));return t}return t.push(o),t}(t);this.urls=e,this.setUrls(e)}setUrls(t){this.urls=t;const e=t.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(function GMe(o,t){const e=o.length,r=new Array(e);for(let n=0;nthis.getTileInternal(z,W,q,G,a),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return B.key=_,c?(B.interimTile=c,B.refreshInterimChain(),s.replace(h,B)):s.set(h,B),B}getTileInternal(t,e,r,n,i){let a=null;const s=l_(t,e,r),l=this.getKey();if(this.tileCache.containsKey(s)){if(a=this.tileCache.get(s),a.key!=l){const c=a;a=this.createTile_(t,e,r,n,i,l),a.interimTile=0==c.getState()?c.interimTile:c,a.refreshInterimChain(),this.tileCache.replace(s,a)}}else a=this.createTile_(t,e,r,n,i,l),this.tileCache.set(s,a);return a}setRenderReprojectionEdges(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(const e in this.tileCacheForProjection)this.tileCacheForProjection[e].clear();this.changed()}}setTileGridForProjection(t,e){const r=In(t);if(r){const n=Or(r);n in this.tileGridForProjection||(this.tileGridForProjection[n]=e)}}clear(){super.clear();for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear()}},tke=class eke extends QMe{constructor(t){const e=void 0!==(t=t||{}).projection?t.projection:"EPSG:3857",r=void 0!==t.tileGrid?t.tileGrid:function $Me(o){const t=o||{},e=t.extent||In("EPSG:3857").getExtent(),r={extent:e,minZoom:t.minZoom,tileSize:t.tileSize,resolutions:Y7(e,t.maxZoom,t.tileSize,t.maxResolution)};return new $7(r)}({extent:kE(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:r,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=void 0!==t.gutter?t.gutter:0}getGutter(){return this.gutter_}},nke=class oke extends tke{constructor(t){let e;e=void 0!==(t=t||{}).attributions?t.attributions:['© OpenStreetMap contributors.'],super({attributions:e,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:void 0!==t.crossOrigin?t.crossOrigin:"anonymous",interpolate:t.interpolate,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,opaque:void 0===t.opaque||t.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:void 0!==t.url?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:t.wrapX,zDirection:t.zDirection})}},j7=class ike{constructor(t){this.rbush_=new m7(t),this.items_={}}insert(t,e){const r={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(r),this.items_[Or(e)]=r}load(t,e){const r=new Array(e.length);for(let n=0,i=e.length;n=200&&s.status<300){const c=t.getType();let h;"json"==c||"text"==c?h=s.responseText:"xml"==c?(h=s.responseXML,h||(h=(new DOMParser).parseFromString(s.responseText,"application/xml"))):"arraybuffer"==c&&(h=s.response),h?i(t.readFeatures(h,{extent:e,featureProjection:n}),t.readProjection(h)):a()}else a()},s.onerror=a,s.send()}(o,t,e,r,n,function(l,c){s.addFeatures(l),void 0!==i&&i(l)},a||Lh)}}class Kc extends Al{constructor(t,e,r){super(t),this.feature=e,this.features=r}}const cke=class lke extends V7{constructor(t){super({attributions:(t=t||{}).attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.loader_=Lh,this.format_=t.format,this.overlaps_=void 0===t.overlaps||t.overlaps,this.url_=t.url,void 0!==t.loader?this.loader_=t.loader:void 0!==this.url_&&(sr(this.format_,7),this.loader_=W7(this.url_,this.format_)),this.strategy_=void 0!==t.strategy?t.strategy:ake;const e=void 0===t.useSpatialIndex||t.useSpatialIndex;let r,n;this.featuresRtree_=e?new j7:null,this.loadedExtentsRtree_=new j7,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null,Array.isArray(t.features)?n=t.features:t.features&&(r=t.features,n=r.getArray()),!e&&void 0===r&&(r=new Ls(n)),void 0!==n&&this.addFeaturesInternal(n),void 0!==r&&this.bindFeaturesCollection_(r)}addFeature(t){this.addFeatureInternal(t),this.changed()}addFeatureInternal(t){const e=Or(t);if(!this.addToIndex_(e,t))return void(this.featuresCollection_&&this.featuresCollection_.remove(t));this.setupChangeEvents_(e,t);const r=t.getGeometry();if(r){const n=r.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(n,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new Kc("addfeature",t))}setupChangeEvents_(t,e){this.featureChangeKeys_[t]=[Ar(e,"change",this.handleFeatureChange_,this),Ar(e,"propertychange",this.handleFeatureChange_,this)]}addToIndex_(t,e){let r=!0;const n=e.getId();return void 0!==n&&(n.toString()in this.idIndex_?r=!1:this.idIndex_[n.toString()]=e),r&&(sr(!(t in this.uidIndex_),30),this.uidIndex_[t]=e),r}addFeatures(t){this.addFeaturesInternal(t),this.changed()}addFeaturesInternal(t){const e=[],r=[],n=[];for(let i=0,a=t.length;i{e||(e=!0,this.addFeature(r.element),e=!1)}),t.addEventListener("remove",r=>{e||(e=!0,this.removeFeature(r.element),e=!1)}),this.featuresCollection_=t}clear(t){if(t){for(const r in this.featureChangeKeys_)this.featureChangeKeys_[r].forEach(Mo);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){this.featuresRtree_.forEach(n=>{this.removeFeatureInternal(n)});for(const n in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[n])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const e=new Kc("clear");this.dispatchEvent(e),this.changed()}forEachFeature(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureAtCoordinateDirect(t,e){return this.forEachFeatureInExtent([t[0],t[1],t[0],t[1]],function(n){if(n.getGeometry().intersectsCoordinate(t))return e(n)})}forEachFeatureInExtent(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureIntersectingExtent(t,e){return this.forEachFeatureInExtent(t,function(r){if(r.getGeometry().intersectsExtent(t)){const i=e(r);if(i)return i}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let t;return this.featuresCollection_?t=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(t=this.featuresRtree_.getAll(),Kf(this.nullGeometryFeatures_)||rN(t,Object.values(this.nullGeometryFeatures_))),t}getFeaturesAtCoordinate(t){const e=[];return this.forEachFeatureAtCoordinateDirect(t,function(r){e.push(r)}),e}getFeaturesInExtent(t,e){if(this.featuresRtree_){if(!(e&&e.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(t);const n=function $Ce(o,t){if(t.canWrapX()){const e=t.getExtent();if(!isFinite(o[0])||!isFinite(o[2]))return[[e[0],o[1],e[2],o[3]]];j8(o,t);const r=no(e);if(no(o)>r)return[[e[0],o[1],e[2],o[3]]];if(o[0]e[2])return[[o[0],o[1],e[2],o[3]],[e[0],o[1],o[2]-r,o[3]]]}return[o]}(t,e);return[].concat(...n.map(i=>this.featuresRtree_.getInExtent(i)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(t,e){const r=t[0],n=t[1];let i=null;const a=[NaN,NaN];let s=1/0;const l=[-1/0,-1/0,1/0,1/0];return e=e||Gf,this.featuresRtree_.forEachInExtent(l,function(c){if(e(c)){const h=c.getGeometry(),_=s;if(s=h.closestPointXY(r,n,a,s),s<_){i=c;const C=Math.sqrt(s);l[0]=r-C,l[1]=n-C,l[2]=r+C,l[3]=n+C}}}),i}getExtent(t){return this.featuresRtree_.getExtent(t)}getFeatureById(t){const e=this.idIndex_[t.toString()];return void 0!==e?e:null}getFeatureByUid(t){const e=this.uidIndex_[t];return void 0!==e?e:null}getFormat(){return this.format_}getOverlaps(){return this.overlaps_}getUrl(){return this.url_}handleFeatureChange_(t){const e=t.target,r=Or(e),n=e.getGeometry();if(n){const a=n.getExtent();r in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[r],this.featuresRtree_&&this.featuresRtree_.insert(a,e)):this.featuresRtree_&&this.featuresRtree_.update(a,e)}else r in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[r]=e);const i=e.getId();if(void 0!==i){const a=i.toString();this.idIndex_[a]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[a]=e)}else this.removeFromIdIndex_(e),this.uidIndex_[r]=e;this.changed(),this.dispatchEvent(new Kc("changefeature",e))}hasFeature(t){const e=t.getId();return void 0!==e?e in this.idIndex_:Or(t)in this.uidIndex_}isEmpty(){return this.featuresRtree_?this.featuresRtree_.isEmpty()&&Kf(this.nullGeometryFeatures_):!this.featuresCollection_||0===this.featuresCollection_.getLength()}loadFeatures(t,e,r){const n=this.loadedExtentsRtree_,i=this.strategy_(t,e,r);for(let a=0,s=i.length;a{--this.loadingExtentsCount_,this.dispatchEvent(new Kc("featuresloadend",void 0,h))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new Kc("featuresloaderror"))}),n.insert(l,{extent:l.slice()}))}this.loading=!(this.loader_.length<4)&&this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(t){const e=this.loadedExtentsRtree_;let r;e.forEachInExtent(t,function(n){if($f(n.extent,t))return r=n,!0}),r&&e.remove(r)}removeFeature(t){if(!t)return;const e=Or(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t)&&this.changed()}removeFeatureInternal(t){const e=Or(t),r=this.featureChangeKeys_[e];if(!r)return;r.forEach(Mo),delete this.featureChangeKeys_[e];const n=t.getId();return void 0!==n&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.dispatchEvent(new Kc("removefeature",t)),t}removeFromIdIndex_(t){let e=!1;for(const r in this.idIndex_)if(this.idIndex_[r]===t){delete this.idIndex_[r],e=!0;break}return e}setLoader(t){this.loader_=t}setUrl(t){sr(this.format_,7),this.url_=t,this.setLoader(W7(t,this.format_))}};function dke(o,t){if(1&o&&(d(0,"span",11)(1,"span",12),v(2,"Center"),u(),v(3),u()),2&o){const e=m(2);p(3),ce("Lat: ",e.getCoordinateDisplay(e.latitude),"")}}function uke(o,t){if(1&o&&(d(0,"span",13),v(1),u()),2&o){const e=m(2);p(1),ce("Lon: ",e.getCoordinateDisplay(e.longitude),"")}}function pke(o,t){if(1&o&&(d(0,"div",8),b(1,dke,4,1,"span",9),b(2,uke,2,1,"span",10),u()),2&o){const e=m();p(1),g("ngIf",!e.isSettingLocation),p(1),g("ngIf",!e.isSettingLocation)}}function hke(o,t){1&o&&(d(0,"div",8),v(1," Tap map to set location. "),u())}function gke(o,t){1&o&&(d(0,"span",14),P(1,"i",15),v(2,"Clear"),u())}function mke(o,t){if(1&o){const e=j();d(0,"span",5),T("click",function(){return F(e),S(m().toggleLocationMode())}),P(1,"i",16),v(2,"Edit"),u()}}let fke=(()=>{class o{constructor(e){this.activeModal=e,this.hasPosition=!1,this.isSettingLocation=!0,this.latitude=void 0,this.longitude=void 0,this.zoom=16,this.map=void 0,this.geoLocationSelected=new ee,this.geoLocationCleared=new ee}set location(e){this.latitude=e.latitude,this.longitude=e.longitude,this.zoom=16}get location(){return{latitude:this.latitude,longitude:this.longitude}}ngOnInit(){this.latitude&&this.longitude?(this.configureMap(),this.hasPosition=!0,this.isSettingLocation=!1):"geolocation"in navigator?navigator.geolocation.getCurrentPosition(e=>{this.latitude=e.coords.latitude,this.longitude=e.coords.longitude,this.configureMap(),this.hasPosition=!0}):alert("Geolocation is not available on this device")}configureMap(){const r=t7({mouseWheelZoom:!1}),n=new LDe({source:new nke}),i=new SMe({source:new cke({features:[]}),style:{"circle-radius":9,"circle-fill-color":"lime","circle-stroke-color":"black","circle-stroke-width":1}});let a=function twe(o,t){return K8(),Wf(o,"EPSG:4326",void 0!==t?t:"EPSG:3857")}([this.longitude,this.latitude]);console.log(a);const s=[n,i];let l=new Rs({center:a,zoom:this.zoom});console.log(l),this.map=new mDe({interactions:r,layers:s,view:l,target:"map"})}mapClick(e){if(this.isSettingLocation&&e){this.isSettingLocation=!1;let r=this.map.getCoordinateFromPixel([e.clientX,e.clientY]);const n=function rwe(o,t){const e=Wf(o,void 0!==t?t:"EPSG:3857","EPSG:4326"),r=e[0];return(r<-180||r>180)&&(e[0]=Du(r+180,360)-180),e}(this.map.getEventCoordinate(e));this.location={latitude:parseFloat(n[1].toFixed(7)),longitude:parseFloat(n[0].toFixed(7)),altitude:0},console.log(this.location,r)}}toggleLocationMode(){this.isSettingLocation=!this.isSettingLocation}getCoordinateDisplay(e){return e?e.toFixed(6):"N/A"}clearLocation(){"geolocation"in navigator?navigator.geolocation.getCurrentPosition(e=>{this.latitude=e.coords.latitude,this.longitude=e.coords.longitude,this.configureMap(),this.hasPosition=!0}):alert("Geolocation is not available on this device")}save(){this.geoLocationSelected.emit(this.location),this.activeModal.close(),console.log("save me!")}cancel(){this.activeModal.close()}}return o.\u0275fac=function(e){return new(e||o)(O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-geo-location-editor"]],inputs:{location:"location"},outputs:{geoLocationSelected:"geoLocationSelected",geoLocationCleared:"geoLocationCleared"},decls:11,vars:4,consts:[[2,"margin","10px","display","flex"],[1,"fa","fas","fa-arrow-left","action",3,"click"],["style","flex-grow: 1;",4,"ngIf"],["class","action-danger",4,"ngIf"],["class","action",3,"click",4,"ngIf"],[1,"action",3,"click"],[1,"fa-solid","fa-save"],["id","map",2,"margin-left","60px","width","600px","height","600px",3,"click"],[2,"flex-grow","1"],["style","float: left;",4,"ngIf"],["style","float: left; margin-left: 1em;",4,"ngIf"],[2,"float","left"],[2,"margin-right","1em"],[2,"float","left","margin-left","1em"],[1,"action-danger"],[1,"fa","fa-trash"],[1,"fa","fa-pencil"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"i",1),T("click",function(){return r.cancel()}),u(),b(2,pke,3,2,"div",2),b(3,hke,2,0,"div",2),d(4,"div"),b(5,gke,3,0,"span",3),b(6,mke,3,0,"span",4),d(7,"span",5),T("click",function(){return r.save()}),P(8,"i",6),v(9,"Save"),u()()(),d(10,"div",7),T("click",function(i){return r.mapClick(i)}),u()),2&e&&(p(2),g("ngIf",r.hasPosition&&!r.isSettingLocation),p(1),g("ngIf",r.isSettingLocation),p(2),g("ngIf",r.hasPosition),p(1),g("ngIf",!r.isSettingLocation))},dependencies:[ve]}),o})();function _ke(o,t){if(1&o){const e=j();d(0,"span",15),T("click",function(n){return F(e),m(3).clearGeoLocation(),S(n.stopPropagation())}),P(1,"i",16),u()}}function vke(o,t){if(1&o){const e=j();d(0,"i",17),T("click",function(){return F(e),S(m(3).showMap())}),u()}}const yke=function(o){return{"picker-link":o}};function bke(o,t){if(1&o){const e=j();d(0,"span",11),T("click",function(){return F(e),S(m(2).setGeoLocation())}),d(1,"span",12),v(2),u(),b(3,_ke,2,0,"span",13),b(4,vke,1,0,"i",14),u()}if(2&o){const e=m(2);p(1),g("ngClass",St(4,yke,e.field.isUserEditable)),p(1),ae(e.getDisplay()),p(1),g("ngIf",e.field.value&&!e.field.isRequired&&e.field.isUserEditable),p(1),g("ngIf",e.field.value)}}function Cke(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function wke(o,t){1&o&&(d(0,"span",18),P(1,"span",19),u()),2&o&&Re("data-target",m(2).popupId)}function xke(o,t){if(1&o&&(d(0,"div",3)(1,"div",4)(2,"div",5),P(3,"app-form-field-label",6),d(4,"div",7),b(5,bke,5,6,"span",8),b(6,Cke,2,1,"div",9),u()(),d(7,"div"),b(8,wke,2,1,"span",10),u()()()),2&o){const e=m();p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled),p(2),g("ngIf",e.field.help)}}let Dke=(()=>{class o extends Ct{constructor(e){super(),this.modalService=e}ngOnInit(){super.ngOnInit()}setGeoLocation(){const e=this.modalService.open(fke,{size:"lg"}).componentInstance;this.field.value&&(e.latitude=this.field.value?.latitude,e.longitude=this.field.value?.longitude),e.geoLocationSelected.subscribe(r=>{this.field.value=r}),e.geoLocationCleared.subscribe(r=>{this.field.value=void 0})}clearGeoLocation(){}getDisplay(){return this.field.value?`${this.field.value.latitude}, ${this.field.value.longitude}`:this.field.watermark??"-set geolocation-"}showMap(){window.open(`https://www.google.com/maps/search/?api=1&query=${this.field.value.latitude},${this.field.value.longitude}`)}}return o.\u0275fac=function(e){return new(e||o)(O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-geo-location-field"]],features:[Te],decls:3,vars:8,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[3,"click"],[3,"ngClass"],["class","picker-link-remove","style","margin-left:20px",3,"click",4,"ngIf"],["class","fa fa-globe action",3,"click",4,"ngIf"],[1,"picker-link-remove",2,"margin-left","20px",3,"click"],[1,"fa","fa-trash","action-danger"],[1,"fa","fa-globe","action",3,"click"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&(b(0,xke,9,6,"div",0),P(1,"app-form-field-validation-section",1)(2,"app-form-field-help",2)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Fo,ve,rr,or,ar],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})();function Mke(o,t){if(1&o){const e=j();d(0,"div",1)(1,"h3",2),v(2),u(),P(3,"app-form",3),d(4,"table",4)(5,"thead")(6,"tr")(7,"th"),v(8,"Sunday"),u(),d(9,"th"),v(10,"Monday"),u(),d(11,"th"),v(12,"Tuesday"),u(),d(13,"th"),v(14,"Wednesday"),u(),d(15,"th"),v(16,"Thursday"),u(),d(17,"th"),v(18,"Friday"),u(),d(19,"th"),v(20,"Saturday"),u()()(),d(21,"tbody")(22,"td")(23,"input",5),T("ngModelChange",function(n){return F(e),S(m().form.model.sunday=n)}),u()(),d(24,"td")(25,"input",5),T("ngModelChange",function(n){return F(e),S(m().form.model.monday=n)}),u()(),d(26,"td")(27,"input",5),T("ngModelChange",function(n){return F(e),S(m().form.model.tuesday=n)}),u()(),d(28,"td")(29,"input",5),T("ngModelChange",function(n){return F(e),S(m().form.model.wednesday=n)}),u()(),d(30,"td")(31,"input",5),T("ngModelChange",function(n){return F(e),S(m().form.model.thursday=n)}),u()(),d(32,"td")(33,"input",5),T("ngModelChange",function(n){return F(e),S(m().form.model.friday=n)}),u()(),d(34,"td")(35,"input",5),T("ngModelChange",function(n){return F(e),S(m().form.model.saturday=n)}),u()()()(),d(36,"div",6)(37,"button",7),T("click",function(){return F(e),S(m().done())}),v(38,"Done"),u(),d(39,"button",8),T("click",function(){return F(e),S(m().cancel())}),v(40,"Cancel"),u()()()}if(2&o){const e=m();p(2),ae(e.title),p(1),g("form",e.form),p(20),g("ngModel",e.form.model.sunday),p(2),g("ngModel",e.form.model.monday),p(2),g("ngModel",e.form.model.tuesday),p(2),g("ngModel",e.form.model.wednesday),p(2),g("ngModel",e.form.model.thursday),p(2),g("ngModel",e.form.model.friday),p(2),g("ngModel",e.form.model.saturday)}}let kke=(()=>{class o{constructor(e,r){this.activeModal=e,this.coreService=r,this.title="Schedule Editor",this.itemSelected=new ee}ngOnInit(){var e=this;return E(function*(){e.form=yield e.coreService.createSchedule()})()}done(){this.activeModal.close()}cancel(){this.activeModal.close()}}return o.\u0275fac=function(e){return new(e||o)(O(xo),O(RB))},o.\u0275cmp=ne({type:o,selectors:[["app-schedule-editor"]],outputs:{itemSelected:"itemSelected"},decls:1,vars:1,consts:[["style","margin:30px",4,"ngIf"],[2,"margin","30px"],[2,"color","var(--color-primary-80)"],[3,"form"],[2,"width","100%"],["type","checkbox",3,"ngModel","ngModelChange"],[2,"text-align","right"],[1,"btn","btn-primary",3,"click"],[1,"btn","btn-danger",3,"click"]],template:function(e,r){1&e&&b(0,Mke,41,9,"div",0),2&e&&g("ngIf",r.form)},dependencies:[_u,ve,fl,mt,It]}),o})();function Eke(o,t){if(1&o){const e=j();d(0,"span")(1,"i",13),T("click",function(){return F(e),S(m(3).editSchedule())}),u()()}}const Tke=function(o){return{"picker-link":o}};function Fke(o,t){if(1&o){const e=j();d(0,"span",11),T("click",function(){return F(e),S(m(2).editSchedule())}),d(1,"span",12),v(2,"Edit Schedule"),u(),b(3,Eke,2,0,"span",9),u()}if(2&o){const e=m(2);p(1),g("ngClass",St(2,Tke,e.field.isUserEditable)),p(2),g("ngIf",e.field.editorPath&&e.field.value)}}function Ske(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function Pke(o,t){1&o&&(d(0,"span",14),P(1,"span",15),u()),2&o&&Re("data-target",m(2).popupId)}function Ike(o,t){if(1&o&&(d(0,"div",3)(1,"div",4)(2,"div",5),P(3,"app-form-field-label",6),d(4,"div",7),b(5,Fke,4,4,"span",8),b(6,Ske,2,1,"div",9),u()(),d(7,"div"),b(8,Pke,2,1,"span",10),u()()()),2&o){const e=m();p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",!e.isEnabled),p(2),g("ngIf",e.field.help)}}let Ake=(()=>{class o extends Ct{constructor(e){super(),this.modalService=e}editSchedule(){this.modalService.open(kke,{size:"lg"}).componentInstance.scheduleModel=this.field.value}}return o.\u0275fac=function(e){return new(e||o)(O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-schedule"]],features:[Te],decls:3,vars:8,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[3,"click"],[3,"ngClass"],[1,"fa-solid","fa-arrow-up-right-from-square","action",3,"click"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&(b(0,Ike,9,6,"div",0),P(1,"app-form-field-validation-section",1)(2,"app-form-field-help",2)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Fo,ve,rr,or,ar],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})();const Oke=["canvasElement"],Rke=["videoElement"],Lke=["photoElement"],Bke=["formElement"];function Nke(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m(3).add())}),P(1,"i",11),v(2,"Add"),u()}}function Hke(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m(3).takePhoto())}),P(1,"i",11),v(2,"Take Photo"),u()}}function Vke(o,t){1&o&&P(0,"i",12),2&o&&Re("data-target",m(3).popupId)}function $ke(o,t){if(1&o){const e=j();d(0,"i",13),T("click",function(){return F(e),S(m(3).expanded=!0)}),u()}}function zke(o,t){if(1&o){const e=j();d(0,"i",14),T("click",function(){return F(e),S(m(3).expanded=!1)}),u()}}function Yke(o,t){if(1&o&&(d(0,"div"),b(1,Nke,3,0,"span",6),b(2,Hke,3,0,"span",6),b(3,Vke,1,1,"i",7),b(4,$ke,1,0,"i",8),b(5,zke,1,0,"i",9),u()),2&o){const e=m(2);p(1),g("ngIf",e.field),p(1),g("ngIf",e.field),p(1),g("ngIf",e.field.help),p(1),g("ngIf",!e.expanded),p(1),g("ngIf",e.expanded)}}function jke(o,t){1&o&&(d(0,"i",21),v(1,"\xa0\xa0\xa0\xa0"),u())}function Uke(o,t){if(1&o){const e=j();d(0,"li",16),T("click",function(){const i=F(e).$implicit;return S(m(3).itemSelected(i))}),d(1,"span"),v(2),d(3,"a",17),P(4,"i",18),u()(),d(5,"i",19),T("click",function(n){const a=F(e).$implicit;return m(3).removeClick(a),S(n.stopPropagation())}),u(),b(6,jke,2,0,"i",20),u()}if(2&o){const e=t.$implicit,r=t.index,n=m(3);g("title",n.getItemKey(e,"key: ")),p(2),ce(" ",e.name," "),p(1),$C("href","",n.baseUri,"/api/media/resource/",n.orgId,"/",e.id,"/download",Zo),p(3),g("ngIf",n.field.value.length==r+1)}}function Wke(o,t){if(1&o&&(d(0,"div")(1,"ol"),b(2,Uke,7,6,"li",15),u()()),2&o){const e=m(2);p(2),g("ngForOf",e.field.value)}}function Gke(o,t){if(1&o){const e=j();d(0,"app-form",22,23),T("saved",function(n){return F(e),S(m(2).saved(n))})("cancel",function(){return F(e),S(m(2).mediaForm=void 0)}),u()}if(2&o){const e=m(2);g("inPlaceEditing",!0)("form",e.mediaForm)("autoSave",!0)}}function qke(o,t){if(1&o){const e=j();d(0,"button",29),T("click",function(){return F(e),S(m(3).capturePhoto())}),v(1,"Capture"),u()}}function Kke(o,t){if(1&o){const e=j();d(0,"button",29),T("click",function(){return F(e),S(m(3).uploadPhoto())}),v(1,"Accept"),u()}}function Zke(o,t){1&o&&(d(0,"div")(1,"h4"),v(2,"Capture"),u(),P(3,"video",30,31),u())}function Xke(o,t){1&o&&(d(0,"div"),P(1,"canvas",null,32),u())}function Jke(o,t){1&o&&(d(0,"h4"),v(1,"Output"),u())}function Qke(o,t){if(1&o){const e=j();d(0,"div")(1,"div",24),b(2,qke,2,0,"button",25),b(3,Kke,2,0,"button",25),d(4,"button",26),T("click",function(){return F(e),S(m(2).takingPhoto=!1)}),v(5,"Cancel"),u()(),d(6,"div",27),b(7,Zke,5,0,"div",4),b(8,Xke,3,0,"div",4),d(9,"div"),b(10,Jke,2,0,"h4",4),P(11,"img",null,28),u()()()}if(2&o){const e=m(2);p(2),g("ngIf",!e.captured),p(1),g("ngIf",e.captured),p(4),g("ngIf",e.previewingPhoto),p(1),g("ngIf",!e.captured),p(2),g("ngIf",e.captured)}}function eEe(o,t){if(1&o&&(d(0,"div",1)(1,"div",2)(2,"div",3)(3,"label"),v(4),u()(),b(5,Yke,6,5,"div",4),u(),b(6,Wke,3,1,"div",4),b(7,Gke,2,3,"app-form",5),b(8,Qke,13,5,"div",4),u()),2&o){const e=m();p(4),Eo(" ",e.field.label," (",null==e.field.value?null:e.field.value.length,")"),p(1),g("ngIf",!e.mediaForm),p(1),g("ngIf",(null==e.field?null:e.field.value)&&!e.mediaForm&&!e.takingPhoto&&e.expanded),p(1),g("ngIf",e.mediaForm),p(1),g("ngIf",e.takingPhoto)}}let tEe=(()=>{class o extends Ct{constructor(e,r,n,i,a){super(),this.mediaService=e,this.http=r,this.networkCallService=n,this.userService=i,this.modalComponent=a,this.takingPhoto=!1,this.isEditing=!1,this.captured=!1,this.expanded=!1,this.previewingPhoto=!1,this.baseUri=He.siteUri}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){e().call(r),r.orgId=(yield r.userService.getCurrentOrg()).id,console.log(r.field),r.field.value||(r.field.value=[])})()}add(){var e=this;return E(function*(){e.isEditing=!1;let r=yield e.mediaService.newMediaResource();e.mediaForm=r,e.mediaForm.view.fileName.isVisible=!0,e.mediaForm.view.contentSize.isVisible=!0,e.mediaForm.view.mimeType.isVisible=!0,e.mediaForm.view.link.isVisible=!1,r.view.isFileUpload.propertyChanged=n=>{e.mediaForm.view.fileName.isVisible=n.value,e.mediaForm.view.contentSize.isVisible=n.value,e.mediaForm.view.mimeType.isVisible=n.value,e.mediaForm.view.link.isVisible=!n.value},r.view.fileName.uploadUrl=`${He.siteUri}/api/media/resources/${r.model.id}`,r.view.fileName.fileUploaded=(n,i)=>{e.isEditing=!0,e.mediaForm.view.contentSize.value=n.contentSize.toString(),e.mediaForm.view.mimeType.value=n.mimeType,e.mediaForm.view.fileName.value=n.fileName,e.mediaForm.model.mimeType=n.mimeType,e.mediaForm.model.fileName=n.fileName,e.mediaForm.model.contentSize=n.contentSize,e.mediaForm.model.resourceType=n.resourceType,e.mediaForm.model.storageReferenceName=n.storageReferenceName}})()}getItemKey(e,r){return r?`${r}${e.key}`:e.key}itemSelected(e){var r=this;return E(function*(){r.isEditing=!0,r.mediaForm=yield r.mediaService.loadMediaResource(e.id)})()}saved(e){var r=this;return E(function*(){r.field.value.push(e.result),r.field.isDirty=!0,r.field.propertyChanged?.(r.field),r.mediaForm=void 0})()}takePhoto(){this.captured=!1,this.takingPhoto=!0,this.previewingPhoto=!0,this.startWebCam()}convertDataURIToBinary(e){var r=e.indexOf(";base64,")+8,n=e.substring(r),i=window.atob(n),a=i.length,s=new Uint8Array(new ArrayBuffer(a));for(let l=0;l{e.networkCallService.endCall();let s=a;s.successful&&(console.log(s),e.field.value.push({id:s.result.id,key:s.result.key,name:n,text:n}),e.field.isDirty=!0,e.field.propertyChanged?.(e.field),e.takingPhoto=!1,e.expanded=!0)})})()}removeClick(e){var r=this;const n=this.modalComponent.open(kc,{size:"lg"}).componentInstance;n.title=`Remove item from ${this.field.label}`,n.content=`${e.name??e.text} will be PERMANENTLY removed.`,n.contentIsHtml=!0,n.confirmationResult.subscribe(function(){var i=E(function*(a){if(a){let s=r.field.value.indexOf(e);s>=0&&(r.field.value.splice(s,1),r.field.isDirty=!0,r.field.propertyChanged?.(r.field))}});return function(a){return i.apply(this,arguments)}}())}}return o.\u0275fac=function(e){return new(e||o)(O(Pf),O(Es),O(Lm),O(uo),O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-media-resources-field"]],viewQuery:function(e,r){if(1&e&&(Yt(Oke,5),Yt(Rke,5),Yt(Lke,5),Yt(Bke,5)),2&e){let n;ze(n=Ye())&&(r.canvasElement=n.first),ze(n=Ye())&&(r.videoElement=n.first),ze(n=Ye())&&(r.photoElement=n.first),ze(n=Ye())&&(r.formElement=n.first)}},features:[Te],decls:1,vars:1,consts:[["class","panel",4,"ngIf"],[1,"panel"],[2,"display","flex","padding","10px"],[2,"flex-grow","1"],[4,"ngIf"],[3,"inPlaceEditing","form","autoSave","saved","cancel",4,"ngIf"],["class","action",3,"click",4,"ngIf"],["data-toggle","modal","class","fas fa-question action",4,"ngIf"],["class","fa-regular fa-square-chevron-down action",3,"click",4,"ngIf"],["class","fa-regular fa-square-chevron-up action",3,"click",4,"ngIf"],[1,"action",3,"click"],[1,"fas","fa-plus"],["data-toggle","modal",1,"fas","fa-question","action"],[1,"fa-regular","fa-square-chevron-down","action",3,"click"],[1,"fa-regular","fa-square-chevron-up","action",3,"click"],[3,"title","click",4,"ngFor","ngForOf"],[3,"title","click"],["target","_blank",3,"href"],[1,"fa","fa-link","action"],[1,"fa","fa-trash","action-danger",3,"click"],["class","action",4,"ngIf"],[1,"action"],[3,"inPlaceEditing","form","autoSave","saved","cancel"],["formElement",""],[2,"text-align","right"],["class","btn btn-primary",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"],[2,"display","flex"],["photoElement",""],[1,"btn","btn-primary",3,"click"],["autoplay",""],["videoElement",""],["canvasElement",""]],template:function(e,r){1&e&&b(0,eEe,9,6,"div",0),2&e&&g("ngIf",r.field)},dependencies:[gt,ve,_u],styles:[".section-header[_ngcontent-%COMP%]{font-size:20pt;margin:14pt}.section-header[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{float:right}ol[_ngcontent-%COMP%]{list-style:none;color:var(--color-fg);padding:0;margin:0}li[_ngcontent-%COMP%]{padding-top:14px;padding-bottom:14px;padding-left:10px;border-bottom:1px solid var(--color-gray-80);font-size:12pt}li[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{float:right;margin-right:14px;vertical-align:middle}li[_ngcontent-%COMP%]:hover{background-color:var(--color-bg-menu-active);color:var(--color-fg-panel-header-active);cursor:pointer}.sub-form[_ngcontent-%COMP%], .panel[_ngcontent-%COMP%]{background-color:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:8px;-webkit-box-shadow:0 4px 8px 0 rgba(128,128,128,.2),0 6px 20px 0 rgba(128,128,128,.19);-webkit-box-shadow-box-shadow:0 4px 8px 0 rgba(128,128,128,.2),0 6px 20px 0 rgba(128,128,128,.19)}"]}),o})();function rEe(o,t){if(1&o&&(d(0,"span"),v(1),u()),2&o){const e=m();p(1),ce(" for ",e.parentCompany.name,"")}}function oEe(o,t){if(1&o&&(d(0,"option",14),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.key),p(1),ae(e.name)}}function nEe(o,t){if(1&o&&(d(0,"option",14),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.key),p(1),ae(e.text)}}function iEe(o,t){if(1&o){const e=j();d(0,"div",9)(1,"label",10),v(2,"Niche:"),u(),d(3,"select",11),T("ngModelChange",function(n){return F(e),S(m(2).selectedNiche=n)})("change",function(n){return F(e),S(m(2).filterChanged(n))}),b(4,nEe,2,2,"option",12),u()()}if(2&o){const e=m(2);p(3),g("ngModel",e.selectedNiche),p(1),g("ngForOf",e.niches)}}function aEe(o,t){if(1&o&&(d(0,"option",14),v(1),u()),2&o){const e=t.$implicit;g("ngValue",e.key),p(1),ae(e.label)}}function sEe(o,t){if(1&o){const e=j();d(0,"div",8)(1,"div",9)(2,"label",10),v(3,"Industry:"),u(),d(4,"select",11),T("ngModelChange",function(n){return F(e),S(m().selectedIndustry=n)})("change",function(n){return F(e),S(m().filterChanged(n))}),b(5,oEe,2,2,"option",12),u()(),b(6,iEe,5,2,"div",13),d(7,"div",9)(8,"label",10),v(9,"Customer Status:"),u(),d(10,"select",11),T("ngModelChange",function(n){return F(e),S(m().selectedStage=n)})("change",function(n){return F(e),S(m().filterChanged(n))}),b(11,aEe,2,2,"option",12),u()()()}if(2&o){const e=m();p(4),g("ngModel",e.selectedIndustry),p(1),g("ngForOf",e.industries),p(1),g("ngIf",null!=e.selectedStage),p(4),g("ngModel",e.selectedStage),p(1),g("ngForOf",e.stageOptions)}}function lEe(o,t){if(1&o){const e=j();d(0,"app-simple-list",18),T("selected",function(n){return F(e),S(m(2).customerSelectedEvent(n))}),u()}if(2&o){const e=m(2);g("fixedHeight",500)("items",e.customers.model)("showReorder",!1)("showAdd",!1)}}function cEe(o,t){if(1&o){const e=j();d(0,"app-simple-list",19),T("selected",function(n){return F(e),S(m(2).contactSelectedEvent(n))}),u()}if(2&o){const e=m(2);g("fixedHeight",500)("items",e.contacts)("displayMemberName","firstName,lastName")("showReorder",!1)("showAdd",!1)}}function dEe(o,t){if(1&o&&(d(0,"div",15),b(1,lEe,1,4,"app-simple-list",16),b(2,cEe,1,5,"app-simple-list",17),u()),2&o){const e=m();p(1),g("ngIf",e.customers&&!e.contacts),p(1),g("ngIf",e.contacts)}}function uEe(o,t){1&o&&(d(0,"div",20)(1,"h4"),v(2,"Please Wait"),u(),P(3,"i",21),u())}let pEe=(()=>{class o{constructor(e,r,n){this.businessService=e,this.storage=r,this.activeModal=n,this.contactPicker=!1,this.niches=[],this.selectedIndustry="-1",this.selectedNiche="-1",this.selectedStage="-1",this.customerSelected=new ee,this.contactSelected=new ee}ngOnInit(){var e=this;return E(function*(){if(e.busy=!0,e.parentCompany)e.contacts=e.parentCompany.contacts;else{if(e.industries=(yield e.businessService.getIndustries()).model,e.stageOptions=yield e.businessService.getCustomerStageOptions(),e.selectedStage=yield e.storage.getItemAsync("customer-filter-status","-1"),e.selectedIndustry=yield e.storage.getItemAsync("customer-filter-industry","-1"),e.setIndustry(e.selectedIndustry),e.stageOptions.unshift(Dt.getAllOption()),e.industries.unshift(Dt.getAllOption()),e.customers=yield e.businessService.getCustomers(e.selectedStage,e.selectedIndustry),console.log(e.customers,e.selectedCompany),e.selectedCompany){let r=yield e.businessService.getCustomer(e.selectedCompany.id);e.contacts=r.model.contacts}if(e.selectedCompanyEntityHeader){let r=yield e.businessService.getCustomer(e.selectedCompanyEntityHeader.id);e.contacts=r.model.contacts}}e.busy=!1})()}filterChanged(e){var r=this;return E(function*(){r.storage.setItemAsync("customer-filter-status",r.selectedStage),r.storage.setItemAsync("customer-filter-industry",r.selectedIndustry),r.customers=yield r.businessService.getCustomers(r.selectedStage,r.selectedIndustry),r.setIndustry(r.selectedIndustry)})()}setIndustry(e){var r=this;return E(function*(){if(e&&"-1"!=e){let n=r.industries.find(a=>a.key===e).id,i=yield r.businessService.getIndustry(n);r.niches=i.model.niches.map(a=>({id:a.id,key:a.key,text:a.name})),r.niches.unshift(Dt.getSelectOption())}})()}contactSelectedEvent(e){var r=this;return E(function*(){r.contactSelected.emit({contact:e,company:r.selectedCompany,companyEntityHeader:r.selectedCompanyEntityHeader}),r.activeModal.close()})()}customerSelectedEvent(e){var r=this;return E(function*(){if(r.selectedCompany=e,r.selectedCompanyEntityHeader={id:e.id,key:e.key,text:e.name},console.log("customer selected",e),r.contactPicker){let n=yield r.businessService.getCustomer(e.id);r.contacts=n.model.contacts}else r.customerSelected.emit(r.selectedCompany),r.activeModal.close()})()}closeModal(){this.activeModal.close()}}return o.\u0275fac=function(e){return new(e||o)(O(wh),O(Hi),O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-customer-picker"]],outputs:{customerSelected:"customerSelected",contactSelected:"contactSelected"},decls:12,vars:4,consts:[[2,"border-bottom","1px solid silver","padding-top","10px","padding-right","10px","padding-left","10px"],[4,"ngIf"],["style","display:flex;padding:20px",4,"ngIf"],[2,"height","600px"],["style","padding:20px;background-color: white;",4,"ngIf"],["style","text-align:center;height: 550px; padding-top:50px;",4,"ngIf"],[2,"text-align","right","padding","10px","border-top","1pt solid silver"],[1,"btn","btn-secondary",3,"click"],[2,"display","flex","padding","20px"],[2,"flex-grow","1"],[2,"display","inline","margin-right","5px"],[1,"form-control","form-select",2,"width","240px","display","inline",3,"ngModel","ngModelChange","change"],[3,"ngValue",4,"ngFor","ngForOf"],["style","flex-grow:1",4,"ngIf"],[3,"ngValue"],[2,"padding","20px","background-color","white"],["title","Select Customer",3,"fixedHeight","items","showReorder","showAdd","selected",4,"ngIf"],["title","Select Contact",3,"fixedHeight","items","displayMemberName","showReorder","showAdd","selected",4,"ngIf"],["title","Select Customer",3,"fixedHeight","items","showReorder","showAdd","selected"],["title","Select Contact",3,"fixedHeight","items","displayMemberName","showReorder","showAdd","selected"],[2,"text-align","center","height","550px","padding-top","50px"],[1,"fa","fa-spinner","fa-spin","fa-3x"]],template:function(e,r){1&e&&(d(0,"div")(1,"div",0)(2,"h3"),v(3,"Customer Picker "),b(4,rEe,2,1,"span",1),u()(),b(5,sEe,12,5,"div",2),d(6,"div",3),b(7,dEe,3,2,"div",4),b(8,uEe,4,0,"div",5),u(),d(9,"div",6)(10,"button",7),T("click",function(){return r.closeModal()}),v(11,"Close"),u()()()),2&e&&(p(4),g("ngIf",r.parentCompany),p(1),g("ngIf",!r.parentCompany),p(2),g("ngIf",!r.busy),p(1),g("ngIf",r.busy))},dependencies:[gt,ve,Qo,en,No,mt,It,_8]}),o})(),hEe=(()=>{class o{constructor(e,r){this.nuviotClient=e,this.storage=r}getCurrentCustomer(){return this.nuviotClient.request("/api/customer/current")}getCurrentCustomerForEditing(){return this.nuviotClient.getFormResponse("/api/customer/current/form")}getDistributionLists(){var e=this;return E(function*(){return yield e.nuviotClient.getListResponse("/api/customer/distros")})()}createDistributionList(){var e=this;return E(function*(){return yield e.nuviotClient.getFormResponse("/api/customer/distro/factory")})()}updateDistributionList(e){var r=this;return E(function*(){return yield r.nuviotClient.update("/api/customer/distro",e)})()}addDistributionList(e){var r=this;return E(function*(){return yield r.nuviotClient.post("/api/customer/distro",e)})()}deleteDistributionList(e){var r=this;return E(function*(){return yield r.nuviotClient.delete(`/api/customer/distro/${e}`)})()}getDistributionList(e){var r=this;return E(function*(){return yield r.nuviotClient.getFormResponse(`/api/customer/distro/${e}`)})()}getDevicesForCustomer(){return this.nuviotClient.getListResponse("/api/customer/devices")}getDeviceDetail(e){return this.nuviotClient.request(`/api/customer/device/${e}`)}getOrgLocation(){return this.nuviotClient.request("/api/customer/orglocation")}getLocations(){return this.nuviotClient.getListResponse("/api/customer/locations")}getCustomerLocation(e){return this.nuviotClient.getFormResponse(`/api/customer/location/${e}`)}getDeviceTypes(){return this.nuviotClient.getListResponse("/api/customer/devicemodels")}getDefaultListenerConfiguration(){return this.nuviotClient.request("/api/customer/devicemodels")}getMediaLibraries(){return this.nuviotClient.getListResponse("/api/customer/media/libraries")}getNotifications(){return this.nuviotClient.getListResponse("/api/customer/notifications")}createNotification(){return this.nuviotClient.getFormResponse("/api/customer/notification/factory")}getNotification(e){return this.nuviotClient.getFormResponse(`/api/customer/notification/${e}`)}addNotification(e){return this.nuviotClient.post("/api/customer/notification",e)}updateNotification(e){return this.nuviotClient.update("/api/customer/notification",e)}addDevice(e){return this.nuviotClient.request(`/api/customer/device/${e}/add`)}getDevicesForLocation(e){var r=this;return E(function*(){return r.nuviotClient.getListResponse(`/api/customer/location/${e}/devices`)})()}createDevice(){var e=this;return E(function*(){return e.nuviotClient.getFormResponse("/api/customer/device/factory")})()}createExternalContact(){return this.nuviotClient.getFormResponse("/api/distro/externalcontact/factory")}getWiFiConnectionProfiles(){return this.nuviotClient.getListResponse("/api/customer/wifiprofiles")}createWiFiConnectionProfile(){return this.nuviotClient.getFormResponse("/api/customer/wifiprofile/factory")}editWiFiConnectionProfile(e){var r=this;return E(function*(){let n=yield r.nuviotClient.getFormResponse("/api/customer/wifiprofile/factory");return n.model=e,n.isEditing=!0,n})()}saveWiFiConnectionProfile(e){return console.log("calling save profile"),e.isEditing?this.nuviotClient.updateWithResponse("/api/customer/wifiprofile",e.model):this.nuviotClient.postWithResponse("/api/customer/wifiprofile",e.model)}}return o.\u0275fac=function(e){return new(e||o)(Z(Ft),Z(Hi))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const gEe=function(o){return{"picker-link":o}};function mEe(o,t){if(1&o){const e=j();d(0,"span",12),T("click",function(){return F(e),S(m(2).selectCustomer())}),d(1,"span",13),v(2),u()()}if(2&o){const e=m(2);let r;p(1),g("ngClass",St(2,gEe,e.field.isUserEditable)),p(1),ae(e.field.value?e.field.value.text:null!==(r=e.field.watermark)&&void 0!==r?r:"-select-")}}function fEe(o,t){if(1&o){const e=j();d(0,"span",14),T("click",function(n){return F(e),m(2).clearEntityHeaderValue(),S(n.stopPropagation())}),P(1,"i",15),u()}}function _Ee(o,t){if(1&o&&(d(0,"div"),v(1),u()),2&o){const e=m(2);p(1),ae(e.field.value.text)}}function vEe(o,t){1&o&&(d(0,"span",16),P(1,"span",17),u()),2&o&&Re("data-target",m(2).popupId)}function yEe(o,t){if(1&o&&(d(0,"div",3)(1,"div",4)(2,"div",5),P(3,"app-form-field-label",6),d(4,"div",7),b(5,mEe,3,4,"span",8),b(6,fEe,2,0,"span",9),b(7,_Ee,2,1,"div",10),u()(),d(8,"div"),b(9,vEe,2,1,"span",11),u()()()),2&o){const e=m();p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngIf",e.isEnabled),p(1),g("ngIf",e.field.value&&!e.field.isRequired&&e.field.isUserEditable),p(1),g("ngIf",!e.isEnabled),p(2),g("ngIf",e.field.help)}}let bEe=(()=>{class o extends Ct{constructor(e,r,n){super(),this.modalService=e,this.customerService=r,this.modalComponent=n}ngOnInit(){super.ngOnInit(),console.log(this.field)}selected(){}selectCustomer(){var e=this;return E(function*(){let r;if("CustomerLocation"===e.form.modelName){let i=yield e.customerService.getCurrentCustomer();i.successful&&(r=i.result)}const n=e.modalService.open(pEe,{size:"lg"}).componentInstance;n.parentCompany="CustomerEntity"===e.form.modelName?e.model:r,n.contactPicker="ContactPicker"==e.field.fieldType,e.view.company?.value&&(n.selectedCompanyEntityHeader=e.view.company.value),n.customerSelected.subscribe(i=>{e.field.value={id:i.id,text:i.name},e.view.industry&&i.industryTypeId&&(e.view.industry.value={id:i.industryTypeId,key:i.industryTypeKey,text:i.industryType}),e.view.industryNiche&&i.industryNicheId&&(e.view.industryNiche.value={id:i.industryNicheId,key:i.industryNicheKey,text:i.industryNiche}),e.field.propertyChanged&&e.field.propertyChanged(e.field)}),n.contactSelected.subscribe(i=>{console.log(i),e.view.company&&i.companyEntityHeader&&(e.view.company.value=i.companyEntityHeader),e.field.value={id:i.contact.id,text:`${i.contact.firstName} ${i.contact.lastName}`},e.view.firstName&&(e.view.firstName.value=i.contact.firstName),e.view.lastName&&(e.view.lastName.value=i.contact.lastName),e.view.email&&(e.view.email.value=i.contact.email),e.view.emailAddress&&(e.view.emailAddress.value=i.contact.email),e.view.industry&&i.company?.industryTypeId&&(e.view.industry.value={id:i.company.industryTypeId,key:i.company.industryTypeKey,text:i.company.industryType}),e.view.industryNiche&&i.company?.industryNicheId&&(e.view.industryNiche.value={id:i.company.industryNicheId,key:i.company.industryNicheKey,text:i.company.industryNiche}),e.view.persona&&(e.view.persona.value=i.contact.persona),e.field.propertyChanged&&e.field.propertyChanged(e.field)})})()}clearEntityHeaderValue(){this.field.clearEntityHeader&&this.field.isUserEditable?this.field.clearEntityHeader(this.field):(this.field.value=void 0,this.field.display=void 0),this.changed(this.field)}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(hEe),O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-customer-picker-field"]],features:[Te],decls:3,vars:8,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"click",4,"ngIf"],["class","picker-link-remove","style","margin-left:20px",3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[3,"click"],[3,"ngClass"],[1,"picker-link-remove",2,"margin-left","20px",3,"click"],[1,"fa","fa-trash","action-danger"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&(b(0,yEe,10,7,"div",0),P(1,"app-form-field-validation-section",1)(2,"app-form-field-help",2)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Fo,ve,rr,or,ar],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})();const CEe=["nameField"];function wEe(o,t){1&o&&(d(0,"span",10),v(1,"X ="),u())}function xEe(o,t){1&o&&(d(0,"span",10),v(1,"Width ="),u())}function DEe(o,t){1&o&&(d(0,"span",10),v(1,"Y ="),u())}function MEe(o,t){1&o&&(d(0,"span",10),v(1,"Length ="),u())}function kEe(o,t){1&o&&(d(0,"span",11),P(1,"i",12),u()),2&o&&Re("data-target",m(2).popupId)}function EEe(o,t){if(1&o){const e=j();d(0,"div",6),b(1,wEe,2,0,"span",7),b(2,xEe,2,0,"span",7),d(3,"input",8),T("ngModelChange",function(n){return F(e),S(m().value1=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u(),b(4,DEe,2,0,"span",7),b(5,MEe,2,0,"span",7),d(6,"input",8),T("ngModelChange",function(n){return F(e),S(m().value2=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u(),b(7,kEe,2,1,"span",9),u()}if(2&o){const e=m();p(1),g("ngIf","Point2D"==e.field.fieldType),p(1),g("ngIf","Point2DSize"==e.field.fieldType),p(1),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.value1)("disabled",!e.field.isUserEditable),p(1),g("ngIf","Point2D"==e.field.fieldType),p(1),g("ngIf","Point2DSize"==e.field.fieldType),p(1),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.value2)("disabled",!e.field.isUserEditable),p(1),g("ngIf",e.field.help)}}let TEe=(()=>{class o extends Ct{constructor(){super(),this.isEditing=!1}get value1(){return this.field.value?.x}set value1(e){this.field.value||(this.field.value={x:0,y:0}),this.field.value.x=e}get value2(){return this.field.value?.y}set value2(e){this.field.value||(this.field.value={x:0,y:0}),this.field.value.y=e}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-point2d"]],viewQuery:function(e,r){if(1&e&&Yt(CEe,5),2&e){let n;ze(n=Ye())&&(r.nameInput=n.first)}},features:[Te],decls:6,vars:11,consts:[[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],["class","input-group",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[1,"input-group"],["class","input-group-text",4,"ngIf"],["type","number",1,"form-control",2,"text-align","right",3,"name","id","ngModel","disabled","placeholder","ngModelChange","change","input","focus","blur"],["data-toggle","modal","class","input-group-text","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],[1,"input-group-text"],["data-toggle","modal",1,"input-group-text",2,"cursor","pointer","color","#A0A0A0"],["aria-hidden","true",1,"fa","fa-question"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1),P(2,"app-form-field-label",2),u()(),b(3,EEe,8,19,"div",3),P(4,"app-form-field-validation-section",4)(5,"app-form-field-help",5)),2&e&&(p(2),g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(1),g("ngIf",!0),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,vl,mt,It,ve,rr,or,ar]}),o})();function FEe(o,t){1&o&&(d(0,"span",10),v(1,"X ="),u())}function SEe(o,t){1&o&&(d(0,"span",10),v(1,"Width ="),u())}function PEe(o,t){1&o&&(d(0,"span",10),v(1,"Y ="),u())}function IEe(o,t){1&o&&(d(0,"span",10),v(1,"Length ="),u())}function AEe(o,t){1&o&&(d(0,"span",10),v(1,"Z ="),u())}function OEe(o,t){1&o&&(d(0,"span",10),v(1,"Height ="),u())}function REe(o,t){1&o&&(d(0,"span",11),P(1,"i",12),u()),2&o&&Re("data-target",m(2).popupId)}function LEe(o,t){if(1&o){const e=j();d(0,"div",6),b(1,FEe,2,0,"span",7),b(2,SEe,2,0,"span",7),d(3,"input",8),T("ngModelChange",function(n){return F(e),S(m().value1=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u(),b(4,PEe,2,0,"span",7),b(5,IEe,2,0,"span",7),d(6,"input",8),T("ngModelChange",function(n){return F(e),S(m().value2=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u(),b(7,AEe,2,0,"span",7),b(8,OEe,2,0,"span",7),d(9,"input",8),T("ngModelChange",function(n){return F(e),S(m().value3=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u(),b(10,REe,2,1,"span",9),u()}if(2&o){const e=m();p(1),g("ngIf","Point3D"==e.field.fieldType),p(1),g("ngIf","Point3DSize"==e.field.fieldType),p(1),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.value1)("disabled",!e.field.isUserEditable),p(1),g("ngIf","Point3D"==e.field.fieldType),p(1),g("ngIf","Point3DSize"==e.field.fieldType),p(1),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.value2)("disabled",!e.field.isUserEditable),p(1),g("ngIf","Point3D"==e.field.fieldType),p(1),g("ngIf","Point3DSize"==e.field.fieldType),p(1),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.value3)("disabled",!e.field.isUserEditable),p(1),g("ngIf",e.field.help)}}let BEe=(()=>{class o extends Ct{constructor(){super(),this.isEditing=!1}get value1(){return this.field.value?.x}set value1(e){this.field.value||(this.field.value={x:0,y:0,z:0}),this.field.value.x=e}get value2(){return this.field.value?.y}set value2(e){this.field.value||(this.field.value={x:0,y:0,z:0}),this.field.value.y=e}get value3(){return this.field.value?.z}set value3(e){this.field.value||(this.field.value={x:0,y:0,z:0}),this.field.value.z=e}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-point3d"]],features:[Te],decls:6,vars:11,consts:[[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],["class","input-group",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[1,"input-group"],["class","input-group-text",4,"ngIf"],["type","number",1,"form-control",2,"text-align","right",3,"name","id","ngModel","disabled","placeholder","ngModelChange","change","input","focus","blur"],["data-toggle","modal","class","input-group-text","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],[1,"input-group-text"],["data-toggle","modal",1,"input-group-text",2,"cursor","pointer","color","#A0A0A0"],["aria-hidden","true",1,"fa","fa-question"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1),P(2,"app-form-field-label",2),u()(),b(3,LEe,11,28,"div",3),P(4,"app-form-field-validation-section",4)(5,"app-form-field-help",5)),2&e&&(p(2),g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(1),g("ngIf",!0),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,vl,mt,It,ve,rr,or,ar]}),o})();function NEe(o,t){1&o&&(d(0,"span",10),v(1,"X ="),u())}function HEe(o,t){1&o&&(d(0,"span",10),v(1,"Width ="),u())}function VEe(o,t){1&o&&(d(0,"span",10),v(1,"Y ="),u())}function $Ee(o,t){1&o&&(d(0,"span",10),v(1,"Height ="),u())}function zEe(o,t){1&o&&(d(0,"span",10),v(1,"Z ="),u())}function YEe(o,t){1&o&&(d(0,"span",10),v(1,"Depth ="),u())}function jEe(o,t){1&o&&(d(0,"span",11),P(1,"i",12),u()),2&o&&Re("data-target",m(2).popupId)}function UEe(o,t){if(1&o){const e=j();d(0,"div",6),b(1,NEe,2,0,"span",7),b(2,HEe,2,0,"span",7),d(3,"input",8),T("ngModelChange",function(n){return F(e),S(m().value1=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u(),b(4,VEe,2,0,"span",7),b(5,$Ee,2,0,"span",7),d(6,"input",8),T("ngModelChange",function(n){return F(e),S(m().value2=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u(),b(7,zEe,2,0,"span",7),b(8,YEe,2,0,"span",7),d(9,"input",8),T("ngModelChange",function(n){return F(e),S(m().value3=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u(),b(10,jEe,2,1,"span",9),u()}if(2&o){const e=m();p(1),g("ngIf","Point3D"==e.field.fieldType),p(1),g("ngIf","Point3DSize"==e.field.fieldType),p(1),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.value1)("disabled",!e.field.isUserEditable),p(1),g("ngIf","Point3D"==e.field.fieldType),p(1),g("ngIf","Point3DSize"==e.field.fieldType),p(1),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.value2)("disabled",!e.field.isUserEditable),p(1),g("ngIf","Point3D"==e.field.fieldType),p(1),g("ngIf","Point3DSize"==e.field.fieldType),p(1),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.value3)("disabled",!e.field.isUserEditable),p(1),g("ngIf",e.field.help)}}let WEe=(()=>{class o extends Ct{constructor(){super(),this.isEditing=!1}get value1(){return this.field.value?.width}set value1(e){this.field.value||(this.field.value={width:0,height:0,depth:0}),this.field.value.width=e}get value2(){return this.field.value?.height}set value2(e){this.field.value||(this.field.value={width:0,height:0,depth:0}),this.field.value.height=e}get value3(){return this.field.value?.depth}set value3(e){this.field.value||(this.field.value={width:0,height:0,depth:0}),this.field.value.depth=e}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-size3d"]],features:[Te],decls:6,vars:11,consts:[[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],["class","input-group",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[1,"input-group"],["class","input-group-text",4,"ngIf"],["type","number",1,"form-control",2,"text-align","right",3,"name","id","ngModel","disabled","placeholder","ngModelChange","change","input","focus","blur"],["data-toggle","modal","class","input-group-text","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],[1,"input-group-text"],["data-toggle","modal",1,"input-group-text",2,"cursor","pointer","color","#A0A0A0"],["aria-hidden","true",1,"fa","fa-question"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1),P(2,"app-form-field-label",2),u()(),b(3,UEe,11,28,"div",3),P(4,"app-form-field-validation-section",4)(5,"app-form-field-help",5)),2&e&&(p(2),g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(1),g("ngIf",!0),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,vl,mt,It,ve,rr,or,ar]}),o})();const GEe=["nameField"];function qEe(o,t){1&o&&(d(0,"span",10),P(1,"i",11),u()),2&o&&Re("data-target",m(2).popupId)}function KEe(o,t){if(1&o){const e=j();d(0,"div",6)(1,"span",7),v(2,"Width ="),u(),d(3,"input",8),T("ngModelChange",function(n){return F(e),S(m().value1=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u(),d(4,"span",7),v(5,"Length ="),u(),d(6,"input",8),T("ngModelChange",function(n){return F(e),S(m().value2=n)})("change",function(n){return F(e),S(m().changed(n))})("input",function(n){return F(e),S(m().textChanged(n))})("focus",function(n){return F(e),S(m().onFocus(n))})("blur",function(n){return F(e),S(m().onBlur(n))}),u(),b(7,qEe,2,1,"span",9),u()}if(2&o){const e=m();p(3),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.value1)("disabled",!e.field.isUserEditable),p(3),Tt("background-color",e.field.isUserEditable?"white":"#EEEEEE"),Ne("name",e.field.name),Ne("id",e.field.name),Ne("placeholder",e.field.watermark),g("ngModel",e.value2)("disabled",!e.field.isUserEditable),p(1),g("ngIf",e.field.help)}}let ZEe=(()=>{class o extends Ct{constructor(){super(),this.isEditing=!1}get value1(){return this.field.value?.x}set value1(e){this.field.value||(this.field.value={x:0,y:0}),this.field.value.x=e}get value2(){return this.field.value?.y}set value2(e){this.field.value||(this.field.value={x:0,y:0}),this.field.value.y=e}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-size2d"]],viewQuery:function(e,r){if(1&e&&Yt(GEe,5),2&e){let n;ze(n=Ye())&&(r.nameInput=n.first)}},features:[Te],decls:6,vars:11,consts:[[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],["class","input-group",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[1,"input-group"],[1,"input-group-text"],["type","number",1,"form-control",2,"text-align","right",3,"name","id","ngModel","disabled","placeholder","ngModelChange","change","input","focus","blur"],["data-toggle","modal","class","input-group-text","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],["data-toggle","modal",1,"input-group-text",2,"cursor","pointer","color","#A0A0A0"],["aria-hidden","true",1,"fa","fa-question"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1),P(2,"app-form-field-label",2),u()(),b(3,KEe,8,15,"div",3),P(4,"app-form-field-validation-section",4)(5,"app-form-field-help",5)),2&e&&(p(2),g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(1),g("ngIf",!0),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,vl,mt,It,ve,rr,or,ar]}),o})();const XEe=["pickerTemplate"];function JEe(o,t){if(1&o){const e=j();d(0,"i",8),T("click",function(){return F(e),S(m().pickIcon())}),u()}}function QEe(o,t){if(1&o){const e=j();d(0,"i",9),T("click",function(){return F(e),S(m().pickIcon())}),u()}2&o&&xs("",m().field.value," action")}function eTe(o,t){if(1&o){const e=j();d(0,"i",10),T("click",function(){return F(e),S(m().clearIcon())}),u()}}function tTe(o,t){1&o&&P(0,"i",22)}function rTe(o,t){if(1&o){const e=j();d(0,"div",19),T("click",function(){const i=F(e).$implicit;return S(m(4).visibleSection=i)}),b(1,tTe,1,0,"i",20),d(2,"span",21),v(3),u()()}if(2&o){const e=t.$implicit,r=m(4);p(1),g("ngIf",r.visibleSection!=e),p(2),ae(r.camelCase(e))}}function oTe(o,t){if(1&o){const e=j();d(0,"div",15)(1,"h4")(2,"i",16),T("click",function(){return F(e),S(m(3).visibleSection=void 0)}),u(),v(3,"Icon Categories"),u(),P(4,"hr"),d(5,"div",17),b(6,rTe,4,2,"div",18),u()()}if(2&o){const e=m(3);p(6),g("ngForOf",e.categories)}}function nTe(o,t){if(1&o){const e=j();d(0,"div",25),T("click",function(){const i=F(e).$implicit;return S(m(5).selectIcon(i))}),d(1,"div",26),P(2,"i",27),u(),d(3,"div",28),v(4),u()()}if(2&o){const e=t.$implicit;p(2),xs("fa fa-",e,""),p(2),ce("fa fa-",e,"")}}function iTe(o,t){if(1&o){const e=j();d(0,"div")(1,"h4")(2,"i",16),T("click",function(){return F(e),S(m(4).visibleSection=void 0)}),u(),v(3),u(),P(4,"hr"),d(5,"div",15),b(6,nTe,5,4,"div",24),u()()}if(2&o){const e=m().$implicit,r=m(3);p(3),ae(r.camelCase(e)),p(3),g("ngForOf",r.icons[e].icons)}}function aTe(o,t){if(1&o&&(d(0,"div"),b(1,iTe,7,2,"div",23),u()),2&o){const e=t.$implicit,r=m(3);p(1),g("ngIf",r.visibleSection==e)}}function sTe(o,t){if(1&o&&(d(0,"div",12),b(1,oTe,7,1,"div",13),b(2,aTe,2,1,"div",14),u()),2&o){const e=m(2);p(1),g("ngIf",!e.visibleSection),p(1),g("ngForOf",e.categories)}}function lTe(o,t){1&o&&b(0,sTe,3,2,"div",11),2&o&&g("ngIf",m().icons)}let cTe=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.uiService=r}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){yield e().call(r),$.getJSON("https://nuviot.blob.core.windows.net/cdn/faicons.json",n=>{r.icons=n,r.categories=[];for(let i in r.icons)r.categories.push(i)})})()}camelCase(e){return e.substring(0,1).toUpperCase()+e.substring(1)}pickIcon(){this.currentModal=this.modalService.open(this.pickerModal,{size:"lg"})}selectIcon(e){this.field.value=`fa fa-${e}`,this.currentModal.close()}clearIcon(){this.field.value=void 0}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(J1))},o.\u0275cmp=ne({type:o,selectors:[["app-font-awesome-icon-picker"]],viewQuery:function(e,r){if(1&e&&Yt(XEe,5),2&e){let n;ze(n=Ye())&&(r.pickerModal=n.first)}},features:[Te],decls:8,vars:13,consts:[[3,"name","label","isRequired"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],["class","fa fa-pencil action",3,"click",4,"ngIf"],["style","font-size:24px",3,"class","click",4,"ngIf"],["class","fa fa-trash action-danger",3,"click",4,"ngIf"],[3,"field"],["class","modal","id","pickerTemplate"],["pickerTemplate",""],[1,"fa","fa-pencil","action",3,"click"],[2,"font-size","24px",3,"click"],[1,"fa","fa-trash","action-danger",3,"click"],["style","margin:20px",4,"ngIf"],[2,"margin","20px"],["style","display:flex;flex-flow:row wrap;gap:10px;",4,"ngIf"],[4,"ngFor","ngForOf"],[2,"display","flex","flex-flow","row wrap","gap","10px"],[1,"fa","fa-chevron-left","action",3,"click"],[2,"display","flex","flex-flow","row wrap","gap","10px","margin","20px"],["class","icon-category action",3,"click",4,"ngFor","ngForOf"],[1,"icon-category","action",3,"click"],["class","fa fa-chevron-down",4,"ngIf"],[2,"margin-left","10px"],[1,"fa","fa-chevron-down"],[4,"ngIf"],["class","icon-block",3,"click",4,"ngFor","ngForOf"],[1,"icon-block",3,"click"],[1,"icon-preview"],[2,"display","block"],[1,"icon-label"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0)(1,"app-form-field-validation-section",1),b(2,JEe,1,0,"i",2),b(3,QEe,1,3,"i",3),b(4,eTe,1,0,"i",4),P(5,"app-form-field-help",5),b(6,lTe,1,1,"ng-template",6,7,Sn)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("ngIf",!r.field.value),p(1),g("ngIf",r.field.value),p(1),g("ngIf",r.field.value&&!r.field.isRequired),p(1),g("field",r.field))},dependencies:[gt,ve,rr,or,ar],styles:[".icon-block[_ngcontent-%COMP%]{border:1px solid silver;border-radius:4px;padding:3px;background-color:#f0f0f0;color:#666}.icon-block[_ngcontent-%COMP%]:hover{background-color:#fff;color:#000;cursor:pointer}.icon-label[_ngcontent-%COMP%]{text-wrap:nowrap}.icon-preview[_ngcontent-%COMP%]{text-align:center}.icon-preview[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:24px}.icon-category[_ngcontent-%COMP%]{border:1px solid silver;border-radius:4px;padding:5px;background-color:#f0f0f0}.icon-category[_ngcontent-%COMP%]:hover{background-color:#d3d3de;cursor:pointer}"]}),o})();function dTe(o,t){if(1&o&&(d(0,"div",2),P(1,"app-form-field",3),u()),2&o){const e=t.$implicit,r=m();p(1),g("host",r.host)("form",r.form)("field",e)("model",r.model)("view",r.view)}}let G7=(()=>{class o extends Ct{constructor(e){super(),this.modalService=e}ngOnInit(){super.ngOnInit()}}return o.\u0275fac=function(e){return new(e||o)(O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-component-row-field"]],inputs:{fields:"fields"},features:[Te],decls:2,vars:1,consts:[[2,"display","flex"],["style","flex-grow:1; padding-right:10px",4,"ngFor","ngForOf"],[2,"flex-grow","1","padding-right","10px"],[3,"host","form","field","model","view"]],template:function(e,r){1&e&&(d(0,"div",0),b(1,dTe,2,5,"div",1),u()),2&e&&(p(1),g("ngForOf",r.fields))}}),o})();function uTe(o,t){if(1&o){const e=j();d(0,"div",0)(1,"label",6),v(2),u(),d(3,"input",10),T("ngModelChange",function(n){return S(F(e).$implicit.x=n)}),u(),d(4,"input",11),T("ngModelChange",function(n){return S(F(e).$implicit.y=n)}),u(),d(5,"i",12),T("click",function(){const i=F(e).$implicit;return S(m().insertAfter(i))}),u(),d(6,"i",13),T("click",function(){const i=F(e).$implicit;return S(m().insertBefore(i))}),u(),d(7,"i",14),T("click",function(){const i=F(e).$implicit;return S(m().moveUp(i))}),u(),d(8,"i",15),T("click",function(){const i=F(e).$implicit;return S(m().moveDown(i))}),u(),d(9,"i",16),T("click",function(){const i=F(e).$implicit;return S(m().remove(i))}),u()()}if(2&o){const e=t.$implicit,r=t.index;p(2),ce("",r+1,"."),p(1),g("ngModel",e.x),p(1),g("ngModel",e.y)}}let pTe=(()=>{class o extends Ct{constructor(){super(),this.isEditing=!1,this.points=[]}ngOnInit(){super.ngOnInit(),this.points=this.field.value}addPoint(){this.points.push({x:0,y:0})}insertBefore(e){}insertAfter(e){}moveUp(e){}moveDown(e){}remove(e){const r=this.points.indexOf(e);r>=0&&this.points.splice(r,1)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-point2d-array"]],features:[Te],decls:16,vars:4,consts:[[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[2,"text-align","right","width","350px"],[1,"action",3,"click"],[1,"fa","fa-plus"],[2,"display","inline-block","text-align","right","margin-right","15px","width","30px","margin-top","5px"],[2,"width","100px","display","block","text-align","center"],[2,"width","10px"],["style","display: flex",4,"ngFor","ngForOf"],[1,"form-control",2,"width","100px","display","block-inline","margin-right","10px",3,"ngModel","ngModelChange"],[1,"form-control",2,"width","100px","display","block-inline",3,"ngModel","ngModelChange"],["title","insert after",1,"action","fa","fa-down-to-line",2,"width","20px",3,"click"],["title","insert before",1,"action","fa","fa-up-to-line",2,"width","20px",3,"click"],["title","move up",1,"action","fa","fa-chevron-up",2,"width","20px",3,"click"],["title","move down",1,"action","fa","fa-chevron-down",2,"width","20px",3,"click"],["title","remove",1,"action-danger","fa","fa-trash",2,"width","20px",3,"click"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1),P(2,"app-form-field-label",2),u()(),d(3,"div")(4,"div",3)(5,"span",4),T("click",function(){return r.addPoint()}),P(6,"i",5),v(7,"Add"),u()(),d(8,"div",0),P(9,"label",6),d(10,"label",7),v(11,"X"),u(),P(12,"label",8),d(13,"label",7),v(14,"Y"),u()(),b(15,uTe,10,3,"div",9),u()),2&e&&(p(2),g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(13),g("ngForOf",r.points))},dependencies:[Ht,mt,It,gt,or]}),o})();function hTe(o,t){1&o&&(d(0,"span",7),P(1,"i",8),u()),2&o&&Re("data-target",m().popupId)}let gTe=(()=>{class o extends Ct{constructor(){super()}ngOnInit(){super.ngOnInit()}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-percent"]],features:[Te],decls:8,vars:18,consts:[[3,"name","label","isRequired"],[1,"input-group"],["type","number","inputmode","numeric",1,"form-control",2,"text-align","right",3,"name","id","ngModel","disabled","placeholder","ngModelChange","change","input","focus","blur"],[1,"input-group-text"],["data-toggle","modal","class","input-group-text","style","cursor:pointer;color:#A0A0A0",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["data-toggle","modal",1,"input-group-text",2,"cursor","pointer","color","#A0A0A0"],["aria-hidden","true",1,"fa","fa-question"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1)(2,"input",2),T("ngModelChange",function(i){return r.field.value=i})("change",function(i){return r.changed(i)})("input",function(i){return r.textChanged(i)})("focus",function(i){return r.onFocus(i)})("blur",function(i){return r.onBlur(i)}),u(),d(3,"span",3),v(4,"%"),u(),b(5,hTe,2,1,"span",4),u(),P(6,"app-form-field-validation-section",5)(7,"app-form-field-help",6)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),Tt("background-color",r.field.isUserEditable?"white":"#EEEEEE"),Ne("name",r.field.name),Ne("id",r.field.name),Ne("placeholder",r.field.watermark),g("ngModel",r.field.value)("disabled",!r.field.isUserEditable),p(3),g("ngIf",r.field.help),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Ht,vl,mt,It,ve,rr,or,ar]}),o})();function mTe(o,t){if(1&o){const e=j();d(0,"span",12),T("click",function(){return F(e),S(m().addChildItem())}),P(1,"i",13),v(2,"Add "),u()}}function fTe(o,t){1&o&&P(0,"i",14),2&o&&Re("data-target",m().popupId)}function _Te(o,t){if(1&o){const e=j();d(0,"i",15),T("click",function(){return F(e),S(m().expanded=!0)}),u()}}function vTe(o,t){if(1&o){const e=j();d(0,"i",16),T("click",function(){return F(e),S(m().expanded=!1)}),u()}}function yTe(o,t){if(1&o){const e=j();d(0,"div",24)(1,"div")(2,"h4"),v(3),u(),d(4,"div",25),v(5),u()(),d(6,"span",26),T("click",function(){return F(e),S(m(3).normalViewMode())}),P(7,"i",27),v(8,"Done "),u()()}if(2&o){const e=m().index,r=m(2);p(3),ae(r.field.label),p(2),Eo("Item ",e+1," of ",r.field.value.length,"")}}function bTe(o,t){1&o&&P(0,"button",37)}function CTe(o,t){if(1&o){const e=j();d(0,"button",38),T("click",function(n){F(e);const i=m(2).index;return m(2).moveDown(i),S(n.stopPropagation())}),P(1,"i",39),u()}}function wTe(o,t){if(1&o){const e=j();d(0,"button",40),T("click",function(n){F(e);const i=m(2).index;return m(2).moveUp(i),S(n.stopPropagation())}),P(1,"i",41),u()}}function xTe(o,t){if(1&o){const e=j();d(0,"div",28)(1,"span",29)(2,"button",30),T("click",function(){F(e);const n=m().index;return S(m(2).fullScreen(n))}),P(3,"i",31),u(),d(4,"button",32),T("click",function(n){F(e);const i=m().index;return m(2).removeClick(i),S(n.stopPropagation())}),P(5,"i",33),u(),b(6,bTe,1,0,"button",34),b(7,CTe,2,0,"button",35),b(8,wTe,2,0,"button",36),u()()}if(2&o){const e=m().index,r=m(2);p(6),g("ngIf",r.field.value.length==e+1),p(1),g("ngIf",e0)}}function DTe(o,t){if(1&o){const e=j();d(0,"div",19),b(1,yTe,9,3,"div",20),d(2,"div",21)(3,"textarea",22),T("ngModelChange",function(n){const a=F(e).index;return S(m(2).field.value[a]=n)}),u()(),b(4,xTe,9,3,"div",23),u()}if(2&o){const e=t.index,r=m(2);ut("fullScreen",r.isRowFullScreen(e)),p(1),g("ngIf",r.isRowFullScreen(e)),p(2),g("id",r.field.name+"-"+e)("name",r.field.name+"-"+e)("ngModel",r.field.value[e])("minRows",1)("maxRows",r.isRowFullScreen(e)?999:r.field.rows||8)("resizeTick",r.field.value+":"+r.fullScreenMode+":"+r.fullScreenIndex),p(1),g("ngIf",!r.isRowFullScreen(e))}}function MTe(o,t){if(1&o&&(d(0,"div",17),b(1,DTe,5,10,"div",18),u()),2&o){const e=m();p(1),g("ngForOf",e.field.value)("ngForTrackBy",e.trackByIndex)}}function kTe(o,t){if(1&o){const e=j();d(0,"div",42)(1,"span",43),T("click",function(){return F(e),S(m().addChildItem())}),P(2,"i",13),v(3,"Add "),u()()}}let ETe=(()=>{class o extends Ct{constructor(e){super(),this.modalComponent=e,this.fullScreenMode=!1,this.fullScreenIndex=null}fullScreen(e){this.fullScreenMode=!0,this.fullScreenIndex=e}normalViewMode(){this.fullScreenMode=!1,this.fullScreenIndex=null}isRowFullScreen(e){return this.fullScreenMode&&this.fullScreenIndex===e}ngOnInit(){super.ngOnInit(),null==!this.field.value&&(this.field.value=[])}moveUp(e){}moveDown(e){}removeClick(e){this.field.value.splice(e,1)}trackByIndex(e){return e}addChildItem(){this.expanded=!0,this.field.value.push("")}}return o.\u0275fac=function(e){return new(e||o)(O(Ut))},o.\u0275cmp=ne({type:o,selectors:[["app-string-list-field"]],features:[Te],decls:14,vars:9,consts:[[1,"asset-picker","multiline-list-picker","stack"],[1,"group","stack"],[1,"group-header","label-bar"],[1,"title"],[1,"header-actions"],["class","action header-action",3,"click",4,"ngIf"],["data-toggle","modal","class","fas fa-question action header-action",4,"ngIf"],["class","fa-regular fa-square-chevron-down action header-action",3,"click",4,"ngIf"],["class","fa-regular fa-square-chevron-up action header-action",3,"click",4,"ngIf"],["class","list stack",4,"ngIf"],["class","empty",4,"ngIf"],[3,"field"],[1,"action","header-action",3,"click"],[1,"fas","fa-plus"],["data-toggle","modal",1,"fas","fa-question","action","header-action"],[1,"fa-regular","fa-square-chevron-down","action","header-action",3,"click"],[1,"fa-regular","fa-square-chevron-up","action","header-action",3,"click"],[1,"list","stack"],["class","row multiline-row",3,"fullScreen",4,"ngFor","ngForOf","ngForTrackBy"],[1,"row","multiline-row"],["class","fullscreen-header",4,"ngIf"],[1,"textarea-shell"],["placeholder","-empty-","nuvosAutoResizeTextarea","",1,"form-control","multiline-textarea",3,"id","name","ngModel","minRows","maxRows","resizeTick","ngModelChange"],["class","row-actions",4,"ngIf"],[1,"fullscreen-header"],[1,"fullscreen-subtitle"],[1,"action","done-action",3,"click"],[1,"fa","fa-arrows-minimize"],[1,"row-actions"],[1,"row-action-icons"],["type","button","aria-label","Full screen",1,"icon-btn",3,"click"],[1,"fa","fa-expand-arrows","action"],["type","button","aria-label","Remove",1,"icon-btn","danger",3,"click"],[1,"fa","fa-trash","action-danger"],["type","button","class","icon-btn spacer","disabled","","aria-hidden","true",4,"ngIf"],["type","button","class","icon-btn","aria-label","Move down",3,"click",4,"ngIf"],["type","button","class","icon-btn","aria-label","Move up",3,"click",4,"ngIf"],["type","button","disabled","","aria-hidden","true",1,"icon-btn","spacer"],["type","button","aria-label","Move down",1,"icon-btn",3,"click"],[1,"far","fa-chevron-down","action"],["type","button","aria-label","Move up",1,"icon-btn",3,"click"],[1,"far","fa-chevron-up","action"],[1,"empty"],[1,"action",3,"click"]],template:function(e,r){1&e&&(d(0,"section",0)(1,"section",1)(2,"div",2)(3,"div",3)(4,"label"),v(5),u()(),d(6,"div",4),b(7,mTe,3,0,"span",5),b(8,fTe,1,1,"i",6),b(9,_Te,1,0,"i",7),b(10,vTe,1,0,"i",8),u()(),b(11,MTe,2,2,"div",9),b(12,kTe,4,0,"div",10),u()(),P(13,"app-form-field-help",11)),2&e&&(p(5),Eo("",r.field.label," (",r.field.value.length,")"),p(2),g("ngIf",!r.fullScreenMode),p(1),g("ngIf",r.field.help),p(1),g("ngIf",!r.expanded),p(1),g("ngIf",r.expanded),p(1),g("ngIf",(null==r.field?null:r.field.value)&&r.expanded),p(1),g("ngIf",0==r.field.value.length&&r.expanded),p(1),g("field",r.field))},dependencies:[Ht,mt,It,gt,ve,rr,UB],styles:["[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}.asset-picker[_ngcontent-%COMP%]{--ap-border: var(--color-border-panel);--ap-border-soft: color-mix(in srgb, var(--color-border-panel) 10%, transparent);--ap-surface: rgba(0, 0, 0, .18);--ap-input: white;--ap-text: var(--color-fg);--ap-muted: color-mix(in srgb, var(--color-fg) 70%, transparent);--ap-radius: 12px;--ap-row-radius: 10px;--ap-gap: 10px;--ap-list-gap: 8px;color:var(--ap-text)}.asset-picker[_ngcontent-%COMP%] .stack[_ngcontent-%COMP%]{display:flex;flex-direction:column}.asset-picker[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{border:1px solid var(--ap-border);border-radius:var(--ap-radius);padding:12px;gap:var(--ap-gap)}.asset-picker[_ngcontent-%COMP%] .group-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.asset-picker[_ngcontent-%COMP%] .group-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:600}.asset-picker[_ngcontent-%COMP%] .header-actions[_ngcontent-%COMP%]{display:flex;align-items:center}.asset-picker[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{gap:var(--ap-list-gap)}.asset-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;align-items:start;gap:10px;margin-left:0;margin-right:0;padding:8px 10px;border-radius:var(--ap-row-radius);border:1px solid var(--ap-border-soft)}.asset-picker[_ngcontent-%COMP%] .textarea-shell[_ngcontent-%COMP%]{min-width:0}.asset-picker[_ngcontent-%COMP%] .row-actions[_ngcontent-%COMP%]{width:150px;display:flex;justify-content:flex-end;align-items:flex-start}.asset-picker[_ngcontent-%COMP%] .row-action-icons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:4px}.asset-picker[_ngcontent-%COMP%] .icon-btn[_ngcontent-%COMP%]{width:28px;height:28px;border:0;background:transparent;cursor:pointer;font-size:14px;opacity:.75;color:inherit;display:grid;place-items:center;border-radius:999px;padding:0}.asset-picker[_ngcontent-%COMP%] .icon-btn[disabled][_ngcontent-%COMP%]{opacity:.2;cursor:default}.asset-picker[_ngcontent-%COMP%] .icon-btn[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(128,128,128,.2);opacity:.95}.asset-picker[_ngcontent-%COMP%] .icon-btn.danger[_ngcontent-%COMP%]{color:inherit}.asset-picker[_ngcontent-%COMP%] .icon-btn.danger[_ngcontent-%COMP%]:hover:not([disabled]){color:#b00020;background:rgba(176,0,32,.08)}.asset-picker[_ngcontent-%COMP%] .icon-btn.spacer[_ngcontent-%COMP%]{visibility:hidden}.asset-picker[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%]{opacity:.7;padding:8px 10px;color:var(--ap-muted)}.asset-picker[_ngcontent-%COMP%] .action[_ngcontent-%COMP%]{cursor:pointer;color:inherit;opacity:.8}.asset-picker[_ngcontent-%COMP%] .action[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:4px}.asset-picker[_ngcontent-%COMP%] .action[_ngcontent-%COMP%]:hover{opacity:1}.asset-picker[_ngcontent-%COMP%] .multiline-textarea[_ngcontent-%COMP%]{width:100%;min-height:2.25rem;line-height:1.35;overflow-y:hidden;resize:none;transition:height 80ms ease,box-shadow .12s ease,background-color .12s ease;background:var(--ap-input);border:1px solid rgba(255,255,255,.18);border-radius:10px;color:inherit;padding:8px 10px}.asset-picker[_ngcontent-%COMP%] .multiline-textarea.compact-empty[_ngcontent-%COMP%]{height:2.25rem;overflow:hidden;resize:none}.asset-picker.variant-pill[_ngcontent-%COMP%]{--ap-border: rgba(0, 0, 0, .08);--ap-border-soft: rgba(0, 0, 0, .08);--ap-surface: rgba(0, 0, 0, .1);--ap-input: rgba(0, 0, 0, .1);--ap-text: rgba(0, 0, 0, .78);--ap-muted: rgba(0, 0, 0, .5);--ap-radius: 12px;--ap-row-radius: 14px}.asset-picker.variant-pill[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{border:1px solid var(--ap-border);padding:12px;border-radius:var(--ap-radius)}.asset-picker.variant-pill[_ngcontent-%COMP%] .group-header[_ngcontent-%COMP%]{padding:0 2px 6px}.asset-picker.variant-pill[_ngcontent-%COMP%] .group-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:18px}.asset-picker.variant-pill[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{padding:10px 14px;background:var(--ap-surface);border-color:var(--ap-border-soft)}.asset-picker.variant-pill[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.14)}.asset-picker.variant-pill[_ngcontent-%COMP%] .multiline-textarea[_ngcontent-%COMP%]{border-radius:14px;padding:10px 14px;font-size:17px;background:var(--ap-input);border-color:#00000014}.asset-picker.variant-pill[_ngcontent-%COMP%] .icon-btn[_ngcontent-%COMP%]{width:30px;height:30px;font-size:15px;opacity:.65}.asset-picker.variant-pill[_ngcontent-%COMP%] .icon-btn[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(0,0,0,.06);opacity:.85}.asset-picker.variant-pill[_ngcontent-%COMP%] .action.header-action[_ngcontent-%COMP%], .asset-picker.variant-pill[_ngcontent-%COMP%] .done-action[_ngcontent-%COMP%]{border:0;padding:6px 8px;border-radius:10px;color:#00000073}.asset-picker.variant-pill[_ngcontent-%COMP%] .action.header-action[_ngcontent-%COMP%]:hover, .asset-picker.variant-pill[_ngcontent-%COMP%] .done-action[_ngcontent-%COMP%]:hover{color:#000000b3;background:rgba(0,0,0,.04)}.asset-picker[_ngcontent-%COMP%] .row.fullScreen[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:1000;background-color:#fff;display:flex;flex-direction:column;gap:12px;padding:20px 20px 40px;border-radius:0;border:0}.asset-picker[_ngcontent-%COMP%] .row.fullScreen[_ngcontent-%COMP%] .fullscreen-header[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(0,0,0,.12);padding-bottom:12px}.asset-picker[_ngcontent-%COMP%] .row.fullScreen[_ngcontent-%COMP%] .fullscreen-header[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:600;color:#000000c7}.asset-picker[_ngcontent-%COMP%] .row.fullScreen[_ngcontent-%COMP%] .fullscreen-header[_ngcontent-%COMP%] .fullscreen-subtitle[_ngcontent-%COMP%]{margin-top:4px;font-size:13px;color:#00000080}.asset-picker[_ngcontent-%COMP%] .row.fullScreen[_ngcontent-%COMP%] .fullscreen-header[_ngcontent-%COMP%] .done-action[_ngcontent-%COMP%]{flex:0 0 auto;border:0;padding:6px 10px;border-radius:10px;color:#0000008c}.asset-picker[_ngcontent-%COMP%] .row.fullScreen[_ngcontent-%COMP%] .fullscreen-header[_ngcontent-%COMP%] .done-action[_ngcontent-%COMP%]:hover{color:#000c;background:rgba(0,0,0,.05)}.asset-picker[_ngcontent-%COMP%] .row.fullScreen[_ngcontent-%COMP%] .textarea-shell[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;min-height:0}.asset-picker[_ngcontent-%COMP%] .row.fullScreen[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{flex:1 1 auto;height:auto!important;min-height:0!important;max-height:none!important;background-color:#fff;border:1px solid #ccc;font-size:16px;resize:none;overflow-y:auto!important}"]}),o})();const TTe=["addInput"],FTe=["matchItem"];function STe(o,t){if(1&o){const e=j();d(0,"span",9),T("click",function(){return F(e),S(m().openAdd())}),P(1,"i",10),v(2,"Add"),u()}}function PTe(o,t){1&o&&P(0,"i",11),2&o&&Re("data-target",m().popupId)}function ITe(o,t){if(1&o){const e=j();d(0,"i",12),T("click",function(){return F(e),S(m().expanded=!0)}),u()}}function ATe(o,t){if(1&o){const e=j();d(0,"i",13),T("click",function(){return F(e),S(m().expanded=!1)}),u()}}function OTe(o,t){if(1&o){const e=j();d(0,"div",18)(1,"span",19),v(2,"\u22ee\u22ee"),u(),d(3,"span",20),v(4),u(),d(5,"button",21),T("click",function(){const i=F(e).$implicit;return S(m(2).remove(i.id))}),v(6," \u2715 "),u()()}if(2&o){const e=t.$implicit,r=m(2);p(1),ut("disabled",r.disabled),p(2),g("title",e.id),p(1),ce("",e.text," "),p(1),g("disabled",r.disabled)}}function RTe(o,t){if(1&o&&(d(0,"div",22),v(1),u()),2&o){const e=m(2);p(1),ae(e.emptyText)}}function LTe(o,t){if(1&o){const e=j();d(0,"input",31,32),T("ngModelChange",function(n){return F(e),S(m(3).query=n)})("ngModelChange",function(){return F(e),S(m(3).onQueryChange())})("keydown",function(n){return F(e),S(m(3).onQueryKeyDown(n))}),u()}if(2&o){const e=m(3);g("ngModel",e.query)("placeholder",e.placeholder)("disabled",e.disabled)}}function BTe(o,t){1&o&&(d(0,"div",22),v(1," All available items have been selected. "),u())}function NTe(o,t){if(1&o&&(d(0,"div",33)(1,"div",34),v(2),u(),d(3,"div",35)(4,"div",36),v(5),u()()()),2&o){const e=t.ngIf,r=m(3);p(2),ae(r.previewTitle),p(3),ae(e.text)}}function HTe(o,t){if(1&o){const e=j();d(0,"button",37,38),T("mouseenter",function(){const i=F(e).index;return S(m(3).highlightedIndex=i)})("click",function(){const i=F(e).$implicit;return S(m(3).clickOption(i))}),d(2,"span",39),v(3),u(),d(4,"span",40),v(5),u()()}if(2&o){const e=t.$implicit,r=t.index,n=m(3);ut("highlight",n.highlightedIndex===r),g("disabled",n.disabled),p(3),ae(e.text),p(2),ae(e.id)}}function VTe(o,t){1&o&&(d(0,"div",41),v(1,"No matches."),u())}function $Te(o,t){if(1&o){const e=j();d(0,"div",23),b(1,LTe,2,3,"input",24),b(2,BTe,2,0,"div",16),b(3,NTe,6,2,"div",25),d(4,"div",26),b(5,HTe,6,5,"button",27),b(6,VTe,2,0,"div",28),u(),d(7,"div",29)(8,"button",30),T("click",function(){return F(e),S(m(2).closeAdd())}),v(9,"Done"),u()()()}if(2&o){const e=m(2);p(1),g("ngIf",e.hasAdditionalOptions),p(1),g("ngIf",!e.hasAdditionalOptions),p(1),g("ngIf",e.showPreview&&e.getPreview()),p(2),g("ngForOf",e.filteredOptions())("ngForTrackBy",e.trackById),p(1),g("ngIf",e.query.trim()&&0===e.filteredOptions().length),p(2),g("disabled",e.disabled)}}function zTe(o,t){if(1&o){const e=j();d(0,"div")(1,"div",14),T("cdkDropListDropped",function(n){return F(e),S(m().drop(n))}),b(2,OTe,7,5,"div",15),b(3,RTe,2,1,"div",16),u(),b(4,$Te,10,7,"div",17),u()}if(2&o){const e=m();p(2),g("ngForOf",e.selectedList)("ngForTrackBy",e.trackById),p(1),g("ngIf",!e.addOpen&&0===e.selectedList.length),p(1),g("ngIf",e.addOpen)}}let YTe=(()=>{class o extends Ct{constructor(e){super(),this.nuviotClient=e,this.expanded=!1,this.title="Assets",this.emptyText="No items.",this.placeholder="Type to search, press Enter to add\u2026",this.previewTitle="Selected",this.showPreview=!1,this.disabled=!1,this.variant="toolbox",this.options=[],this.selected=[],this.selectedChange=new ee,this.hasAdditionalOptions=!1,this.addOpen=!1,this.query="",this.highlightedIndex=0,this.pendingFocus=!1}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){let i=(yield r.nuviotClient.getListResponse(r.field.entityHeaderPickerUrl,{pageSize:1e3})).model.map(a=>({id:a.id,text:a.name||a.summary||a.title||a.id}));r.options=i,r.selected=r.field.value,r.title=r.field.label||"Items",e().call(r)})()}get selectedList(){return this.selected||(this.selected=[])}openAdd(){if(this.disabled)return;this.expanded=!0,this.addOpen=!0,this.query="",this.highlightedIndex=0;const e=new Set(this.selectedList.map(n=>n.id)),r=(this.options||[]).filter(n=>!e.has(n.id));this.hasAdditionalOptions=r.length>0,setTimeout(()=>this.addInput?.nativeElement.focus()),this.pendingFocus=!0}closeAdd(){this.addOpen=!1,this.query="",this.highlightedIndex=0}ngAfterViewChecked(){if(!this.pendingFocus)return;const e=this.addInput?.nativeElement;!e||(this.pendingFocus=!1,e.focus(),e.select())}drop(e){this.disabled||(sk(this.selectedList,e.previousIndex,e.currentIndex),this.emit())}remove(e){if(this.disabled)return;const r=this.selectedList.findIndex(n=>n.id===e);r>=0&&(this.selectedList.splice(r,1),this.emit())}onQueryChange(){this.highlightedIndex=0}onQueryKeyDown(e){if(this.disabled)return;const r=this.filteredOptions();if("Escape"===e.key)return e.preventDefault(),void this.closeAdd();if("ArrowDown"===e.key){if(0===r.length)return;return e.preventDefault(),this.highlightedIndex=(this.highlightedIndex+1)%r.length,void this.scrollHighlightedIntoView()}if("ArrowUp"===e.key){if(0===r.length)return;return e.preventDefault(),this.highlightedIndex=(this.highlightedIndex-1+r.length)%r.length,void this.scrollHighlightedIntoView()}if("Enter"===e.key){e.preventDefault();const i=r[Math.min(Math.max(this.highlightedIndex,0),r.length-1)];if(!i)return;return this.addOption(i),void this.resetAdd()}}clickOption(e){this.disabled||(this.addOption(e),this.resetAdd())}filteredOptions(){const e=(this.query||"").trim().toLowerCase();if(!e)return[];const r=new Set(this.selectedList.map(i=>i.id));return(this.options||[]).filter(i=>!r.has(i.id)).filter(i=>(i.text||"").toLowerCase().includes(e)).slice(0,25)}getPreview(){const e=this.filteredOptions();return 0===e.length?null:e[Math.min(Math.max(this.highlightedIndex,0),e.length-1)]}trackById(e,r){return r.id}addOption(e){if(this.selectedList.some(i=>i.id===e.id))return;this.selectedList.push({id:e.id,text:e.text}),this.emit();const r=new Set(this.selectedList.map(i=>i.id)),n=(this.options||[]).filter(i=>!r.has(i.id));this.hasAdditionalOptions=n.length>0,console.log("hasAdditionalOptions",this.hasAdditionalOptions,n)}resetAdd(){this.query="",this.highlightedIndex=0,this.pendingFocus=!0}emit(){this.selectedChange.emit(this.selectedList)}scrollHighlightedIntoView(){if(!this.matchItems||0===this.matchItems.length)return;const e=this.matchItems.get(this.highlightedIndex)?.nativeElement;!e||e.scrollIntoView({block:"nearest",inline:"nearest",behavior:"auto"})}}return o.\u0275fac=function(e){return new(e||o)(O(Ft))},o.\u0275cmp=ne({type:o,selectors:[["app-child-list-inline-picker"]],viewQuery:function(e,r){if(1&e&&(Yt(TTe,5),Yt(FTe,5)),2&e){let n;ze(n=Ye())&&(r.addInput=n.first),ze(n=Ye())&&(r.matchItems=n)}},inputs:{title:"title",emptyText:"emptyText",placeholder:"placeholder",previewTitle:"previewTitle",showPreview:"showPreview",disabled:"disabled",variant:"variant",options:"options",selected:"selected"},outputs:{selectedChange:"selectedChange"},features:[Te],decls:12,vars:9,consts:[[1,"asset-picker","stack"],[1,"group","stack"],[2,"display","flex"],[2,"flex-grow","1"],["class","action",3,"click",4,"ngIf"],["data-toggle","modal","class","fas fa-question action",4,"ngIf"],["class","fa-regular fa-square-chevron-down action",3,"click",4,"ngIf"],["class","fa-regular fa-square-chevron-up action",3,"click",4,"ngIf"],[4,"ngIf"],[1,"action",3,"click"],[1,"fas","fa-plus"],["data-toggle","modal",1,"fas","fa-question","action"],[1,"fa-regular","fa-square-chevron-down","action",3,"click"],[1,"fa-regular","fa-square-chevron-up","action",3,"click"],["cdkDropList","",1,"list","stack",3,"cdkDropListDropped"],["class","row","cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],["class","empty",4,"ngIf"],["class","add stack",4,"ngIf"],["cdkDrag","",1,"row"],["title","Drag to reorder",1,"handle"],[1,"text",3,"title"],["type","button","aria-label","Remove",1,"icon-btn",3,"disabled","click"],[1,"empty"],[1,"add","stack"],["class","form-control","type","text","autofocus","",3,"ngModel","placeholder","disabled","ngModelChange","keydown",4,"ngIf"],["class","preview",4,"ngIf"],[1,"matches"],["type","button","class","match",3,"highlight","disabled","mouseenter","click",4,"ngFor","ngForOf","ngForTrackBy"],["class","no-matches",4,"ngIf"],[1,"add-actions"],["type","button",1,"btn","subtle","footer-action",3,"disabled","click"],["type","text","autofocus","",1,"form-control",3,"ngModel","placeholder","disabled","ngModelChange","keydown"],["addInput",""],[1,"preview"],[1,"preview-title"],[1,"preview-body"],[1,"preview-text"],["type","button",1,"match",3,"disabled","mouseenter","click"],["matchItem",""],[1,"match-text"],[1,"match-id"],[1,"no-matches"]],template:function(e,r){1&e&&(d(0,"section",0)(1,"section",1)(2,"div",2)(3,"div",3)(4,"label"),v(5),u()(),d(6,"div"),b(7,STe,3,0,"span",4),b(8,PTe,1,1,"i",5),b(9,ITe,1,0,"i",6),b(10,ATe,1,0,"i",7),u()(),b(11,zTe,5,4,"div",8),u()()),2&e&&(ut("variant-pill","pill"===r.variant),p(5),Eo(" ",r.field.label," (",r.field.value.length,")"),p(2),g("ngIf",r.field.allowAddChild&&r.field.canAddRows),p(1),g("ngIf",r.field.help),p(1),g("ngIf",!r.expanded),p(1),g("ngIf",r.expanded),p(1),g("ngIf",r.expanded))},dependencies:[Ht,mt,It,gt,ve,m8,uk],styles:["[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}.asset-picker[_ngcontent-%COMP%]{--ap-border: var(--color-border-panel);--ap-border-soft: color-mix( in srgb, var(--color-border-panel) 10%, transparent );--ap-surface: rgba(0, 0, 0, .18);--ap-input: rgba(0, 0, 0, .14);--ap-text: var(--color-fg);--ap-muted: color-mix(in srgb, var(--color-fg) 70%, transparent);--ap-radius: 12px;--ap-row-radius: 10px;--ap-gap: 10px;--ap-list-gap: 8px;color:var(--ap-text)}.asset-picker[_ngcontent-%COMP%] .stack[_ngcontent-%COMP%]{display:flex;flex-direction:column}.asset-picker[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{border:1px solid var(--ap-border);border-radius:var(--ap-radius);padding:12px;gap:var(--ap-gap)}.asset-picker[_ngcontent-%COMP%] .group-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.asset-picker[_ngcontent-%COMP%] .group-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:600}.asset-picker[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{gap:var(--ap-list-gap)}.asset-picker[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:grid;grid-template-columns:24px 1fr 28px;align-items:center;gap:10px;margin-left:0;margin-right:0;padding:8px 10px;border-radius:var(--ap-row-radius);border:1px solid var(--ap-border-soft);background:var(--ap-surface)}.asset-picker[_ngcontent-%COMP%] .handle[_ngcontent-%COMP%]{cursor:grab;-webkit-user-select:none;user-select:none;opacity:.7}.asset-picker[_ngcontent-%COMP%] .handle.disabled[_ngcontent-%COMP%]{cursor:default;opacity:.4}.asset-picker[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:0}.asset-picker[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%]{opacity:.7;padding:8px 10px;color:var(--ap-muted)}.asset-picker[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{border:1px solid rgba(255,255,255,.18);background:transparent;border-radius:10px;padding:6px 10px;cursor:pointer;color:inherit}.asset-picker[_ngcontent-%COMP%] .btn[disabled][_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.asset-picker[_ngcontent-%COMP%] .btn.subtle[_ngcontent-%COMP%]{opacity:.85}.asset-picker[_ngcontent-%COMP%] .icon-btn[_ngcontent-%COMP%]{border:0;background:transparent;cursor:pointer;font-size:14px;opacity:.75;color:inherit}.asset-picker[_ngcontent-%COMP%] .icon-btn[disabled][_ngcontent-%COMP%]{opacity:.45;cursor:not-allowed}.asset-picker[_ngcontent-%COMP%] .add[_ngcontent-%COMP%]{gap:8px}.asset-picker[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{border:1px solid rgba(255,255,255,.18);background:var(--ap-input);border-radius:10px;padding:8px 10px;outline:none;color:inherit}.asset-picker[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%]{border:1px solid var(--ap-border);border-radius:10px;padding:8px 10px;background:rgba(0,0,0,.12)}.asset-picker[_ngcontent-%COMP%] .preview-title[_ngcontent-%COMP%]{font-weight:600;margin-bottom:6px}.asset-picker[_ngcontent-%COMP%] .preview-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-picker[_ngcontent-%COMP%] .preview-id[_ngcontent-%COMP%]{opacity:.65;font-size:12px}.asset-picker[_ngcontent-%COMP%] .matches[_ngcontent-%COMP%]{border:1px solid var(--ap-border);border-radius:10px;overflow:hidden;max-height:220px;overflow-y:auto}.asset-picker[_ngcontent-%COMP%] .match[_ngcontent-%COMP%]{width:100%;display:grid;grid-template-columns:1fr auto;gap:10px;text-align:left;padding:8px 10px;border:0;background:transparent;cursor:pointer;color:inherit}.asset-picker[_ngcontent-%COMP%] .match[disabled][_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed}.asset-picker[_ngcontent-%COMP%] .match[_ngcontent-%COMP%]:hover, .asset-picker[_ngcontent-%COMP%] .match.highlight[_ngcontent-%COMP%]{background:rgba(128,128,128,.6);color:#fff}.asset-picker[_ngcontent-%COMP%] .match-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-picker[_ngcontent-%COMP%] .match-id[_ngcontent-%COMP%]{opacity:.65;font-size:12px}.asset-picker[_ngcontent-%COMP%] .no-matches[_ngcontent-%COMP%]{padding:8px 10px;opacity:.7;color:var(--ap-muted)}.asset-picker[_ngcontent-%COMP%] .add-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.asset-picker.variant-pill[_ngcontent-%COMP%]{--ap-border: rgba(0, 0, 0, .2);--ap-border-soft: rgba(0, 0, 0, .08);--ap-surface: rgba(0, 0, 0, .1);--ap-input: rgba(0, 0, 0, .1);--ap-text: rgba(0, 0, 0, .78);--ap-muted: rgba(0, 0, 0, .5);--ap-radius: 12px;--ap-row-radius: 14px}.asset-picker.variant-pill[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{border:1px solid var(--ap-border);padding:24px 28px;border-radius:var(--ap-radius);background:transparent}.asset-picker.variant-pill[_ngcontent-%COMP%] .group-header[_ngcontent-%COMP%]{padding:0}.asset-picker.variant-pill[_ngcontent-%COMP%] .group-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:18px}.asset-picker.variant-pill[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{padding:10px 14px;background:var(--ap-surface);border-color:var(--ap-border-soft)}.asset-picker.variant-pill[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.14)}.asset-picker.variant-pill[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-size:17px;line-height:1.1}.asset-picker.variant-pill[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{border-radius:14px;padding:10px 14px;font-size:17px}.asset-picker.variant-pill[_ngcontent-%COMP%] .icon-btn[_ngcontent-%COMP%]{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;font-size:18px;opacity:.65}.asset-picker.variant-pill[_ngcontent-%COMP%] .icon-btn[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(0,0,0,.06);opacity:.85}.asset-picker.variant-pill[_ngcontent-%COMP%] .btn.header-action[_ngcontent-%COMP%], .asset-picker.variant-pill[_ngcontent-%COMP%] .btn.footer-action[_ngcontent-%COMP%]{border:0;padding:6px 8px;border-radius:10px;color:#00000073}.asset-picker.variant-pill[_ngcontent-%COMP%] .btn.header-action[_ngcontent-%COMP%]:hover:not([disabled]), .asset-picker.variant-pill[_ngcontent-%COMP%] .btn.footer-action[_ngcontent-%COMP%]:hover:not([disabled]){color:#000000b3;background:rgba(0,0,0,.04)}.asset-picker.variant-pill[_ngcontent-%COMP%] .matches[_ngcontent-%COMP%]{border-radius:12px;background:rgba(255,255,255,.75);border-color:#00000014}.asset-picker.variant-pill[_ngcontent-%COMP%] .match[_ngcontent-%COMP%]:hover, .asset-picker.variant-pill[_ngcontent-%COMP%] .match.highlight[_ngcontent-%COMP%]{background:rgba(0,0,0,.06);color:#000000d9}.asset-picker.variant-pill[_ngcontent-%COMP%] .match-id[_ngcontent-%COMP%]{opacity:.45}"]}),o})();function jTe(o,t){if(1&o&&(d(0,"option",8),v(1),u()),2&o){const e=t.$implicit;Ne("value",e.id),p(1),ae(e.text)}}function UTe(o,t){1&o&&(d(0,"div",9),P(1,"span",10),u()),2&o&&Re("data-target",m().popupId)}function WTe(o,t){if(1&o){const e=j();d(0,"div",11),T("click",function(){return F(e),S(m().add())}),P(1,"span",12),u()}}let GTe=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.nuviotClient=r,this.options=[]}validate(){return this.showValidationErrors=!0,this.field.isRequired?this.field.value&&"-1"!==this.field.value?(this.isValid=!0,this.hasValue=!0):(this.isValid=!1,this.hasValue=!1):this.isValid=!0,this.isValid}onChanged(e){console.log(e),this.field&&(this.showValidationErrors=!0,this.hasValue="-1"!==this.field.value),super.changed(e),console.log(this.field.value)}add(){const e=this.modalService.open(NB,{size:"lg"}).componentInstance;e.factoryUrl=this.field.factoryUrl,e.itemAdded.subscribe(r=>{this.field.value=r.key,this.field.display=r.text,this.changed(this.field),this.field.options.push(r)})}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){let n=yield r.nuviotClient.getListResponse(r.field.entityHeaderPickerUrl);r.options=n.model.map(i=>({id:i.id,text:i.summary||i.name||i.title||i.id})),r.options.unshift({id:"-1",text:r.field.watermark??"-select-"}),r.field.options=r.options.map(i=>({id:i.id,key:i.id,label:i.text,text:i.text})),r.field.value||(r.field.value="-1"),e().call(r)})()}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(Ft))},o.\u0275cmp=ne({type:o,selectors:[["app-entity-header-picker-dropdown"]],features:[Te],decls:8,vars:19,consts:[[3,"name","label","isRequired"],[1,"input-group"],[1,"form-control","form-select",3,"name","id","ngModel","disabled","ngModelChange","change"],[3,"value",4,"ngFor","ngForOf"],["class","input-group-append","data-toggle","modal","style","cursor:pointer",4,"ngIf"],["class","input-group-append","style","cursor:pointer",3,"click",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],[3,"value"],["data-toggle","modal",1,"input-group-append",2,"cursor","pointer"],[1,"input-group-text","fa","fa-question",2,"font-size","12pt","color","#A0A0A0"],[1,"input-group-append",2,"cursor","pointer",3,"click"],[1,"input-group-text","fa","fa-plus",2,"font-size","12pt","color","#A0A0A0"]],template:function(e,r){1&e&&(P(0,"app-form-field-label",0),d(1,"div",1)(2,"select",2),T("ngModelChange",function(i){return r.field.value=i})("change",function(i){return r.onChanged(i)}),b(3,jTe,2,2,"option",3),u(),b(4,UTe,2,1,"div",4),b(5,WTe,2,0,"div",5),u(),P(6,"app-form-field-validation-section",6)(7,"app-form-field-help",7)),2&e&&(g("name",r.field.name)("label",r.field.label)("isRequired",r.field.isRequired),p(2),Tt("background-color",r.field.isUserEditable?"white":"#EEEEEE"),Ne("name",r.field.name),Ne("id",r.field.name),g("ngModel",r.field.value)("disabled",!r.field.isUserEditable),p(1),g("ngForOf",r.options),p(1),g("ngIf",r.field.help),p(1),g("ngIf",r.field.factoryUrl),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Qo,en,No,mt,It,gt,ve,rr,or,ar]}),o})(),qTe=(()=>{class o extends Ct{constructor(){super()}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-child-item"]],features:[Te],decls:2,vars:0,template:function(e,r){1&e&&(d(0,"p"),v(1," child-item works!\n"),u())}}),o})();function KTe(o,t){if(1&o&&(d(0,"option",17),v(1),u()),2&o){const e=t.$implicit;g("value",e.value),p(1),ae(e.text)}}function ZTe(o,t){if(1&o&&(d(0,"option",17),v(1),u()),2&o){const e=t.$implicit;g("value",e),p(1),ce("Every ",e," Minutes")}}function XTe(o,t){if(1&o){const e=j();d(0,"div",3)(1,"label",18),v(2,"Interval"),u(),d(3,"select",19),T("ngModelChange",function(n){return F(e),S(m().selectedInterval=n)})("change",function(){return F(e),S(m().onIntervalChanged())}),b(4,ZTe,2,2,"option",6),u()()}if(2&o){const e=m();p(3),g("ngModel",e.selectedInterval),p(1),g("ngForOf",e.intervalOptions)}}function JTe(o,t){if(1&o&&(d(0,"option",17),v(1),u()),2&o){const e=t.$implicit;g("value",e),p(1),ae(e)}}function QTe(o,t){if(1&o&&(d(0,"option",17),v(1),u()),2&o){const e=t.$implicit,r=m(2);g("value",e),p(1),ae(r.formatMinute(e))}}function eFe(o,t){if(1&o){const e=j();d(0,"div",1)(1,"div")(2,"div",20)(3,"div",21),v(4,"Time"),u(),d(5,"div",22)(6,"div",23)(7,"label",24),v(8,"Hour"),u(),d(9,"select",25),T("ngModelChange",function(n){return F(e),S(m().selectedDisplayHour=n)})("change",function(){return F(e),S(m().onTimeChanged())}),b(10,JTe,2,2,"option",6),u()(),d(11,"div",26),v(12,":"),u(),d(13,"div",23)(14,"label",27),v(15,"Minute"),u(),d(16,"select",28),T("ngModelChange",function(n){return F(e),S(m().selectedMinute=n)})("change",function(){return F(e),S(m().onTimeChanged())}),b(17,QTe,2,2,"option",6),u()(),d(18,"div",29)(19,"label",30),v(20,"AM / PM"),u(),d(21,"select",31),T("ngModelChange",function(n){return F(e),S(m().selectedAmPm=n)})("change",function(){return F(e),S(m().onTimeChanged())}),d(22,"option",32),v(23,"AM"),u(),d(24,"option",33),v(25,"PM"),u()()()()()()()}if(2&o){const e=m();p(9),g("ngModel",e.selectedDisplayHour),p(1),g("ngForOf",e.displayHours),p(6),g("ngModel",e.selectedMinute),p(1),g("ngForOf",e.minutes),p(4),g("ngModel",e.selectedAmPm)}}function tFe(o,t){if(1&o&&(d(0,"option",17),v(1),u()),2&o){const e=t.$implicit;g("value",e),p(1),ce(" ","*"===e?"Every Day of Month":e," ")}}function rFe(o,t){if(1&o&&(d(0,"option",17),v(1),u()),2&o){const e=t.$implicit;g("value",e.value),p(1),ae(e.text)}}function oFe(o,t){if(1&o&&(d(0,"option",17),v(1),u()),2&o){const e=t.$implicit;g("value",e.value),p(1),ae(e.text)}}function nFe(o,t){if(1&o){const e=j();d(0,"div",1)(1,"div",2)(2,"div",3)(3,"label",34),v(4,"Day of Month"),u(),d(5,"select",35),T("ngModelChange",function(n){return F(e),S(m().selectedDayOfMonth=n)})("change",function(){return F(e),S(m().onCustomPartChanged())}),b(6,tFe,2,2,"option",6),u()(),d(7,"div",3)(8,"label",36),v(9,"Month"),u(),d(10,"select",37),T("ngModelChange",function(n){return F(e),S(m().selectedMonth=n)})("change",function(){return F(e),S(m().onCustomPartChanged())}),b(11,rFe,2,2,"option",6),u()(),d(12,"div",3)(13,"label",38),v(14,"Day of Week"),u(),d(15,"select",39),T("ngModelChange",function(n){return F(e),S(m().selectedDayOfWeek=n)})("change",function(){return F(e),S(m().onCustomPartChanged())}),b(16,oFe,2,2,"option",6),u()()()()}if(2&o){const e=m();p(5),g("ngModel",e.selectedDayOfMonth),p(1),g("ngForOf",e.daysOfMonth),p(4),g("ngModel",e.selectedMonth),p(1),g("ngForOf",e.months),p(4),g("ngModel",e.selectedDayOfWeek),p(1),g("ngForOf",e.daysOfWeek)}}let iFe=(()=>{class o{constructor(e){this.activeModal=e,this.saved=new ee,this.minutes=[],this.hours=[],this.daysOfMonth=[],this.intervalOptions=["1","5","10","15","30"],this.displayHours=[],this.selectedDisplayHour="8",this.selectedAmPm="AM",this.months=[{value:"*",text:"Every Month"},{value:"1",text:"January"},{value:"2",text:"February"},{value:"3",text:"March"},{value:"4",text:"April"},{value:"5",text:"May"},{value:"6",text:"June"},{value:"7",text:"July"},{value:"8",text:"August"},{value:"9",text:"September"},{value:"10",text:"October"},{value:"11",text:"November"},{value:"12",text:"December"}],this.daysOfWeek=[{value:"*",text:"Every Day"},{value:"1-5",text:"Weekdays (Mon-Fri)"},{value:"0",text:"Sunday"},{value:"1",text:"Monday"},{value:"2",text:"Tuesday"},{value:"3",text:"Wednesday"},{value:"4",text:"Thursday"},{value:"5",text:"Friday"},{value:"6",text:"Saturday"}],this.presets=[{value:"custom",text:"Custom"},{value:"every-x-minutes",text:"Every X Minutes"},{value:"hourly",text:"Hourly"},{value:"daily",text:"Daily"},{value:"weekdays",text:"Weekdays"},{value:"weekly",text:"Weekly"},{value:"monthly",text:"Monthly"}],this.selectedMode="daily",this.selectedInterval="15",this.selectedMinute="0",this.selectedHour="0",this.selectedDayOfMonth="*",this.selectedMonth="*",this.selectedDayOfWeek="*",this.cronExpression="* * * * *",this.mappedText=""}ngOnInit(){this.buildOptions(),this.initializeFromInput(),this.updateCron(!1)}buildOptions(){for(let e=0;e<60;e++)this.minutes.push(e.toString());for(let e=1;e<=12;e++)this.displayHours.push(e.toString());this.daysOfMonth.push("*");for(let e=1;e<=31;e++)this.daysOfMonth.push(e.toString())}initializeFromInput(){if(this.value){var e=this.value.trim().split(/\s+/);5===e.length?(this.selectedMinute=e[0],this.selectedHour=e[1],this.selectedDayOfMonth=e[2],this.selectedMonth=e[3],this.selectedDayOfWeek=e[4],"*"!==this.selectedHour&&this.setDisplayTimeFromCronHour(this.selectedHour),this.detectModeFromCron()):this.applyPreset()}else this.applyPreset()}onModeChanged(){this.applyPreset(),this.updateCron()}applyPreset(){switch(this.selectedMode){case"every-x-minutes":this.selectedMinute="*/"+this.selectedInterval,this.selectedHour="*",this.selectedDayOfMonth="*",this.selectedMonth="*",this.selectedDayOfWeek="*";break;case"hourly":this.selectedMinute="0",this.selectedHour="*",this.selectedDayOfMonth="*",this.selectedMonth="*",this.selectedDayOfWeek="*",this.selectedDisplayHour="12",this.selectedAmPm="AM";break;case"daily":this.selectedMinute="0",this.selectedDisplayHour="8",this.selectedAmPm="AM",this.selectedHour=this.getCronHourFromDisplay(),this.selectedDayOfMonth="*",this.selectedMonth="*",this.selectedDayOfWeek="*";break;case"weekdays":this.selectedMinute="0",this.selectedDisplayHour="8",this.selectedAmPm="AM",this.selectedHour=this.getCronHourFromDisplay(),this.selectedDayOfMonth="*",this.selectedMonth="*",this.selectedDayOfWeek="1-5";break;case"weekly":this.selectedMinute="0",this.selectedDisplayHour="8",this.selectedAmPm="AM",this.selectedHour=this.getCronHourFromDisplay(),this.selectedDayOfMonth="*",this.selectedMonth="*",this.selectedDayOfWeek="1";break;case"monthly":this.selectedMinute="0",this.selectedDisplayHour="8",this.selectedAmPm="AM",this.selectedHour=this.getCronHourFromDisplay(),this.selectedDayOfMonth="1",this.selectedMonth="*",this.selectedDayOfWeek="*"}}onTimeChanged(){this.selectedHour=this.getCronHourFromDisplay(),"custom"!==this.selectedMode&&"daily"!==this.selectedMode&&"weekdays"!==this.selectedMode&&"weekly"!==this.selectedMode&&"monthly"!==this.selectedMode&&(this.selectedMode="custom"),this.updateCron()}onCustomPartChanged(){"custom"!==this.selectedMode&&(this.selectedMode="custom"),this.updateCron()}onIntervalChanged(){"every-x-minutes"===this.selectedMode&&(this.applyPreset(),this.updateCron())}updateCron(e=!0){"*"!==this.selectedHour&&(this.selectedHour=this.getCronHourFromDisplay()),this.cronExpression=[this.selectedMinute,this.selectedHour,this.selectedDayOfMonth,this.selectedMonth,this.selectedDayOfWeek].join(" "),this.mappedText=this.buildDescription()}buildDescription(){if(this.selectedMinute.startsWith("*/"))return"Every "+this.selectedMinute.replace("*/","")+" minutes";var r=this.buildTimeText(),n=this.getMonthText(this.selectedMonth),i=this.getDayOfWeekText(this.selectedDayOfWeek);return"*"===this.selectedHour&&"*"!==this.selectedMinute?"Every hour at minute "+this.padMinute(this.selectedMinute):"*"===this.selectedDayOfMonth&&"*"===this.selectedMonth&&"*"===this.selectedDayOfWeek?"Every day at "+r:"1-5"===this.selectedDayOfWeek&&"*"===this.selectedDayOfMonth&&"*"===this.selectedMonth?"Every weekday at "+r:"*"===this.selectedDayOfMonth&&"*"===this.selectedMonth&&"*"!==this.selectedDayOfWeek?"Every "+i+" at "+r:"*"!==this.selectedDayOfMonth&&"*"===this.selectedMonth&&"*"===this.selectedDayOfWeek?"On day "+this.selectedDayOfMonth+" of every month at "+r:"*"!==this.selectedDayOfMonth&&"*"!==this.selectedMonth&&"*"===this.selectedDayOfWeek?"On "+n+" "+this.selectedDayOfMonth+" at "+r:"CRON: "+this.cronExpression}detectModeFromCron(){if(this.selectedMinute.startsWith("*/")&&"*"===this.selectedHour&&"*"===this.selectedDayOfMonth&&"*"===this.selectedMonth&&"*"===this.selectedDayOfWeek)return this.selectedMode="every-x-minutes",void(this.selectedInterval=this.selectedMinute.replace("*/",""));this.selectedMode="0"!==this.selectedMinute||"*"!==this.selectedHour||"*"!==this.selectedDayOfMonth||"*"!==this.selectedMonth||"*"!==this.selectedDayOfWeek?"*"!==this.selectedDayOfMonth||"*"!==this.selectedMonth||"1-5"!==this.selectedDayOfWeek?"*"===this.selectedDayOfMonth&&"*"===this.selectedMonth&&["0","1","2","3","4","5","6"].indexOf(this.selectedDayOfWeek)>=0?"weekly":"*"===this.selectedDayOfMonth||"*"!==this.selectedMonth||"*"!==this.selectedDayOfWeek?"*"!==this.selectedDayOfMonth||"*"!==this.selectedMonth||"*"!==this.selectedDayOfWeek?"custom":"daily":"monthly":"weekdays":"hourly"}buildTimeText(){return"*"===this.selectedHour||"*"===this.selectedMinute?"various times":this.selectedDisplayHour+":"+this.padMinute(this.selectedMinute)+" "+this.selectedAmPm}getMonthText(e){var r=this.months.find(n=>n.value===e);return r?r.text:e}getDayOfWeekText(e){if("1-5"===e)return"weekday";var r=this.daysOfWeek.find(n=>n.value===e);return r?r.text:e}padHour(e){return e.toString().padStart(2,"0")}padMinute(e){return e.toString().padStart(2,"0")}apply(){this.saved.emit({cron:this.cronExpression,description:this.mappedText})}formatMinute(e){return e.toString().padStart(2,"0")}clearExpression(){this.selectedMode="daily",this.selectedInterval="15",this.selectedMinute="0",this.selectedDisplayHour="8",this.selectedAmPm="AM",this.selectedHour=this.getCronHourFromDisplay(),this.selectedDayOfMonth="*",this.selectedMonth="*",this.selectedDayOfWeek="*",this.updateCron()}close(){this.activeModal.close()}getCronHourFromDisplay(){var e=parseInt(this.selectedDisplayHour,10);return"AM"===this.selectedAmPm?12===e?"0":e.toString():12===e?"12":(e+12).toString()}setDisplayTimeFromCronHour(e){var r=parseInt(e,10);return isNaN(r)?(this.selectedDisplayHour="8",void(this.selectedAmPm="AM")):0===r?(this.selectedDisplayHour="12",void(this.selectedAmPm="AM")):12===r?(this.selectedDisplayHour="12",void(this.selectedAmPm="PM")):r>12?(this.selectedDisplayHour=(r-12).toString(),void(this.selectedAmPm="PM")):(this.selectedDisplayHour=r.toString(),void(this.selectedAmPm="AM"))}}return o.\u0275fac=function(e){return new(e||o)(O(xo))},o.\u0275cmp=ne({type:o,selectors:[["app-cron-builder"]],inputs:{value:"value"},outputs:{saved:"saved"},decls:29,vars:7,consts:[[1,"cron-builder"],[1,"row"],[2,"display","flex","gap","15px","width","100%"],[1,"field",2,"flex-grow","1"],["for","mode"],["id","mode",3,"ngModel","ngModelChange","change"],[3,"value",4,"ngFor","ngForOf"],["class","field","style","flex-grow:1",4,"ngIf"],["class","row",4,"ngIf"],[1,"result"],[1,"label"],[1,"value","code"],[1,"value"],[1,"save-bar"],[1,"btn","btn-primary",3,"click"],[1,"btn","btn-danger",3,"click"],[1,"btn","btn-secondary",3,"click"],[3,"value"],["for","interval"],["id","interval",3,"ngModel","ngModelChange","change"],[1,"time-card-header"],[1,"time-card-title"],[1,"time-row"],[1,"field","time-field"],["for","displayHour"],["id","displayHour",1,"time-select",3,"ngModel","ngModelChange","change"],[1,"time-separator"],["for","minute"],["id","minute",1,"time-select",3,"ngModel","ngModelChange","change"],[1,"field","ampm-field"],["for","ampm"],["id","ampm",1,"time-select",3,"ngModel","ngModelChange","change"],["value","AM"],["value","PM"],["for","dayOfMonth"],["id","dayOfMonth",3,"ngModel","ngModelChange","change"],["for","month"],["id","month",3,"ngModel","ngModelChange","change"],["for","dayOfWeek"],["id","dayOfWeek",3,"ngModel","ngModelChange","change"]],template:function(e,r){1&e&&(d(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"label",4),v(5,"Schedule Type"),u(),d(6,"select",5),T("ngModelChange",function(i){return r.selectedMode=i})("change",function(){return r.onModeChanged()}),b(7,KTe,2,2,"option",6),u()(),b(8,XTe,5,2,"div",7),u()(),b(9,eFe,26,5,"div",8),b(10,nFe,17,6,"div",8),d(11,"div",9)(12,"div",10),v(13,"CRON Expression"),u(),d(14,"div",11),v(15),u()(),d(16,"div",9)(17,"div",10),v(18,"Mapped String"),u(),d(19,"div",12),v(20),u()(),P(21,"hr"),d(22,"div",13)(23,"button",14),T("click",function(){return r.apply()}),v(24,"Apply"),u(),d(25,"button",15),T("click",function(){return r.clearExpression()}),v(26,"Clear"),u(),d(27,"button",16),T("click",function(){return r.close()}),v(28,"Close"),u()()()),2&e&&(p(6),g("ngModel",r.selectedMode),p(1),g("ngForOf",r.presets),p(1),g("ngIf","every-x-minutes"===r.selectedMode),p(1),g("ngIf","every-x-minutes"!==r.selectedMode),p(1),g("ngIf","custom"===r.selectedMode||"weekly"===r.selectedMode||"monthly"===r.selectedMode),p(5),ae(r.cronExpression),p(5),ae(r.mappedText))},dependencies:[gt,ve,Qo,en,No,mt,It],styles:[".cron-builder[_ngcontent-%COMP%]{padding:12px}.row[_ngcontent-%COMP%]{margin-bottom:12px}.field[_ngcontent-%COMP%]{display:flex;flex-direction:column}.field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:600;margin-bottom:4px}.field[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{min-height:36px}.value.code[_ngcontent-%COMP%]{font-family:Consolas,Courier New,monospace}.time-card[_ngcontent-%COMP%]{width:100%;margin-top:10px;padding:10px 12px;background:#f7f7f7;border-radius:4px;border:none}.time-card-header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.time-card-title[_ngcontent-%COMP%]{font-size:12px;font-weight:700;text-transform:uppercase;color:#666;margin-bottom:8px}.time-row[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:flex-start;gap:12px;flex-wrap:wrap}.time-field[_ngcontent-%COMP%], .ampm-field[_ngcontent-%COMP%]{min-width:100px}.time-field[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .ampm-field[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{text-align:center}.time-separator[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:36px;padding-bottom:2px;color:#6b7280}.result[_ngcontent-%COMP%]{margin-top:10px;padding:10px 12px;background:#f7f7f7;border-radius:4px}.label[_ngcontent-%COMP%]{font-size:12px;font-weight:700;text-transform:uppercase;color:#666;margin-bottom:4px}"]}),o})();function TE(o){return o.toString().padStart(2,"0")}function pFe(o,t){if(1&o){const e=j();d(0,"span",12),T("click",function(n){return F(e),m(2).clearExpression(),S(n.stopPropagation())}),P(1,"i",13),u()}}function hFe(o,t){if(1&o){const e=j();d(0,"span")(1,"i",14),T("click",function(){return F(e),S(m(2).showBuilder())}),u()()}}function gFe(o,t){1&o&&(d(0,"span",15),P(1,"span",16),u()),2&o&&Re("data-target",m(2).popupId)}const mFe=function(o){return{"picker-link":o}};function fFe(o,t){if(1&o){const e=j();d(0,"div",3)(1,"div",4)(2,"div",5),P(3,"app-form-field-label",6),d(4,"div",7)(5,"span",8),T("click",function(){return F(e),S(m().showBuilder())}),v(6),u(),b(7,pFe,2,0,"span",9),b(8,hFe,2,0,"span",10),u()(),d(9,"div"),b(10,gFe,2,1,"span",11),u()()()}if(2&o){const e=m();let r;p(3),g("name",e.field.name)("label",e.field.label)("isRequired",e.field.isRequired),p(2),g("ngClass",St(8,mFe,e.field.isUserEditable)),p(1),ae(null!==(r=null!==(r=e.field.display)&&void 0!==r?r:e.field.watermark)&&void 0!==r?r:"-select-"),p(1),g("ngIf",e.field.value&&!e.field.isRequired&&e.field.isUserEditable),p(1),g("ngIf",e.field.editorPath&&e.field.value),p(2),g("ngIf",e.field.help)}}let _Fe=(()=>{class o extends Ct{constructor(e,r){super(),this.modalService=e,this.adminService=r}ngOnInit(){var e=()=>super.ngOnInit,r=this;return E(function*(){e().call(r),r.field.value?(console.log(r.field.value),r.field.display=function aFe(o){if(!o||!o.trim())return{cron:o,mode:"custom",description:"CRON: "+o,minute:"",hour:"",dayOfMonth:"",month:"",dayOfWeek:""};var t=o.trim().split(/\s+/);if(5!==t.length)return{cron:o,mode:"custom",description:"CRON: "+o,minute:"",hour:"",dayOfMonth:"",month:"",dayOfWeek:""};var e=t[0],r=t[1],n=t[2],i=t[3],a=t[4],s=function lFe(o,t,e,r,n){return o.startsWith("*/")&&"*"===t&&"*"===e&&"*"===r&&"*"===n?"every-x-minutes":"0"===o&&"*"===t&&"*"===e&&"*"===r&&"*"===n?"hourly":"*"===e&&"*"===r&&"1-5"===n?"weekdays":"*"===e&&"*"===r&&["0","1","2","3","4","5","6"].indexOf(n)>=0?"weekly":"*"!==e&&"*"===r&&"*"===n?"monthly":"*"===e&&"*"===r&&"*"===n?"daily":"custom"}(e,r,n,i,a),l=function sFe(o,t,e,r,n){if(o.startsWith("*/"))return"Every "+o.replace("*/","")+" minutes";var a=function cFe(o,t){if("*"===o||"*"===t)return"various times";var e=parseInt(o,10);if(isNaN(e))return o+":"+TE(t);var r=e>=12?"PM":"AM",n=e%12;return 0===n&&(n=12),n.toString()+":"+TE(t)+" "+r}(t,o),s=function dFe(o){switch(o){case"*":return"Every Month";case"1":return"January";case"2":return"February";case"3":return"March";case"4":return"April";case"5":return"May";case"6":return"June";case"7":return"July";case"8":return"August";case"9":return"September";case"10":return"October";case"11":return"November";case"12":return"December";default:return o}}(r),l=function uFe(o){switch(o){case"*":return"day";case"0":return"Sunday";case"1":return"Monday";case"2":return"Tuesday";case"3":return"Wednesday";case"4":return"Thursday";case"5":return"Friday";case"6":return"Saturday";case"1-5":return"weekday";default:return o}}(n);return"*"===t&&"*"!==o?"Every hour at minute "+TE(o):"*"===e&&"*"===r&&"*"===n?"Every day at "+a:"1-5"===n&&"*"===e&&"*"===r?"Every weekday at "+a:"*"===e&&"*"===r&&"*"!==n?"Every "+l+" at "+a:"*"!==e&&"*"===r&&"*"===n?"On day "+e+" of every month at "+a:"*"!==e&&"*"!==r&&"*"===n?"On "+s+" "+e+" at "+a:"CRON: "+[o,t,e,r,n].join(" ")}(e,r,n,i,a),c={cron:o,mode:s,description:l,minute:e,hour:r,dayOfMonth:n,month:i,dayOfWeek:a};return"every-x-minutes"===s&&e.startsWith("*/")&&(c.interval=e.replace("*/","")),c}(r.field.value)):r.field.display=void 0})()}clearExpression(){this.field.value=null,this.field.display=null}showBuilder(){const e=this.modalService.open(iFe,{size:"lg"}).componentInstance;e.cronExpression=this.field.value,e.saved.subscribe(r=>{this.field.value=r.cron,this.field.display=r.description,console.log(r),e.close()})}}return o.\u0275fac=function(e){return new(e||o)(O(Ut),O(eu))},o.\u0275cmp=ne({type:o,selectors:[["app-cron-builder-field"]],features:[Te],decls:3,vars:8,consts:[["class","form-group","attr","one","ng-hide","!isVisible",4,"ngIf"],[3,"isRequired","hasValue","isRegexInvalid","requiredMessage","regExMessage","showValidationErrors"],[3,"field"],["attr","one","ng-hide","!isVisible",1,"form-group"],[2,"display","flex"],[2,"flex-grow","1"],[3,"name","label","isRequired"],[1,"input-group-holder"],[3,"ngClass","click"],["class","picker-link-remove","style","margin-left:20px",3,"click",4,"ngIf"],[4,"ngIf"],["data-toggle","modal",4,"ngIf"],[1,"picker-link-remove",2,"margin-left","20px",3,"click"],[1,"fa","fa-trash","action-danger"],[1,"fa-solid","fa-arrow-up-right-from-square","action",3,"click"],["data-toggle","modal"],[1,"fa","fa-question","action",2,"margin-left","10pt"]],template:function(e,r){1&e&&(b(0,fFe,11,10,"div",0),P(1,"app-form-field-validation-section",1)(2,"app-form-field-help",2)),2&e&&(g("ngIf",r.field),p(1),g("isRequired",r.field.isRequired)("hasValue",r.hasValue)("isRegexInvalid",r.isRegexInvalid)("requiredMessage",r.field.requiredMessage)("regExMessage",r.regExMessage)("showValidationErrors",r.showValidationErrors),p(1),g("field",r.field))},dependencies:[Fo,ve,rr,or,ar],styles:[".picker-link[_ngcontent-%COMP%], .picker-link-remove[_ngcontent-%COMP%]{cursor:pointer;color:var(--color-accent)}.picker-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:var(--color-accent)}"]}),o})();function vFe(o,t){if(1&o&&P(0,"app-text-area",11),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("view",e.view)("form",e.form)}}function yFe(o,t){if(1&o&&P(0,"app-text-area",11),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("view",e.view)("form",e.form)}}function bFe(o,t){if(1&o&&P(0,"app-picker",11),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("view",e.view)("form",e.form)}}function CFe(o,t){if(1&o&&P(0,"app-picker",11),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("view",e.view)("form",e.form)}}function wFe(o,t){if(1&o&&P(0,"app-date-picker",11),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("view",e.view)("form",e.form)}}function xFe(o,t){if(1&o&&P(0,"app-time-picker",11),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("view",e.view)("form",e.form)}}function DFe(o,t){if(1&o&&P(0,"app-date-picker",11),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("view",e.view)("form",e.form)}}function MFe(o,t){if(1&o&&P(0,"app-form-icon-picker",11),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("view",e.view)("form",e.form)}}function kFe(o,t){if(1&o&&P(0,"app-checkbox",11),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("view",e.view)("form",e.form)}}function EFe(o,t){if(1&o&&P(0,"app-file-upload",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function TFe(o,t){if(1&o&&P(0,"app-file-upload",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function FFe(o,t){if(1&o&&P(0,"app-color-picker",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function SFe(o,t){if(1&o&&P(0,"app-entity-header-picker",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function PFe(o,t){if(1&o&&P(0,"app-entity-header-picker",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function IFe(o,t){if(1&o&&P(0,"app-product-picker-list",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function AFe(o,t){if(1&o&&P(0,"app-customer-picker-field",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function OFe(o,t){if(1&o&&P(0,"app-customer-picker-field",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function RFe(o,t){if(1&o&&P(0,"app-discussion-list",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function LFe(o,t){if(1&o&&P(0,"app-child-list",13),2&o){const e=m(2);g("field",e.field)("host",e.host)("model",e.model)("form",e.form)("view",e.view)}}function BFe(o,t){if(1&o&&P(0,"app-child-list-inline",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function NFe(o,t){if(1&o&&P(0,"app-child-list-inline-picker",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function HFe(o,t){if(1&o&&P(0,"app-child-list-inline",14),2&o){const e=m(2);g("host",e.host)("field",e.field)("form",e.form)("model",e.model)("view",e.view)}}function VFe(o,t){if(1&o&&P(0,"app-script",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function $Fe(o,t){if(1&o&&P(0,"app-script",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function zFe(o,t){if(1&o&&P(0,"app-password-field",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function YFe(o,t){if(1&o&&P(0,"app-password-field",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function jFe(o,t){if(1&o&&P(0,"app-password-field",12),2&o){const e=m(2);g("host",e.host)("field",e.field)("model",e.model)("form",e.form)("view",e.view)}}function UFe(o,t){if(1&o&&P(0,"app-user-picker-field",14),2&o){const e=m(2);g("host",e.host)("field",e.field)("form",e.form)("model",e.model)("view",e.view)}}function WFe(o,t){if(1&o&&P(0,"app-web-link-field",14),2&o){const e=m(2);g("host",e.host)("field",e.field)("form",e.form)("model",e.model)("view",e.view)}}function GFe(o,t){if(1&o&&P(0,"app-action-field",14),2&o){const e=m(2);g("host",e.host)("field",e.field)("form",e.form)("form",e.form)("model",e.model)("view",e.view)}}function qFe(o,t){if(1&o&&P(0,"app-html-editor",14),2&o){const e=m(2);g("host",e.host)("field",e.field)("form",e.form)("model",e.model)("view",e.view)}}function KFe(o,t){if(1&o&&P(0,"app-category-field",14),2&o){const e=m(2);g("host",e.host)("field",e.field)("form",e.form)("model",e.model)("view",e.view)}}function ZFe(o,t){if(1&o&&P(0,"app-money-editor",14),2&o){const e=m(2);g("host",e.host)("field",e.field)("form",e.form)("model",e.model)("view",e.view)}}function XFe(o,t){if(1&o&&P(0,"app-phone-field",14),2&o){const e=m(2);g("host",e.host)("field",e.field)("form",e.form)("model",e.model)("view",e.view)}}function JFe(o,t){if(1&o&&P(0,"app-payment-method",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function QFe(o,t){if(1&o&&P(0,"app-device-picker-field",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function eSe(o,t){if(1&o&&P(0,"app-geo-location-field",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function tSe(o,t){if(1&o&&P(0,"app-org-location-picker",16),2&o){const e=m(2);g("form",e.form)("host",e.host)("field",e.field)("model",e.model)("view",e.view)}}function rSe(o,t){if(1&o&&P(0,"app-schedule",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function oSe(o,t){if(1&o&&P(0,"app-media-resources-field",16),2&o){const e=m(2);g("form",e.form)("host",e.host)("field",e.field)("model",e.model)("view",e.view)}}function nSe(o,t){if(1&o&&P(0,"app-custom-field",17),2&o){const e=m(2);g("form",e.form)("field",e.field)("customFieldType",e.field.customFieldType)("host",e.host)("field",e.field)("model",e.model)("view",e.view)}}function iSe(o,t){if(1&o&&P(0,"app-percent",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function aSe(o,t){if(1&o&&P(0,"app-text-box",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function sSe(o,t){if(1&o&&P(0,"app-point2d",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function lSe(o,t){if(1&o&&P(0,"app-size2d",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function cSe(o,t){if(1&o&&P(0,"app-point3d",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function dSe(o,t){if(1&o&&P(0,"app-size3d",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function uSe(o,t){if(1&o&&P(0,"app-font-awesome-icon-picker",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function pSe(o,t){if(1&o&&P(0,"app-component-row-field",18),2&o){const e=m(2);g("host",e.host)("form",e.form)("fields",e.field.childFields)("field",e.field)("model",e.model)("view",e.view)}}function hSe(o,t){if(1&o&&P(0,"app-point2d-array",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function gSe(o,t){if(1&o&&P(0,"app-string-list-field",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function mSe(o,t){if(1&o&&P(0,"app-child-item",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function fSe(o,t){if(1&o&&P(0,"app-cron-builder-field",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function _Se(o,t){if(1&o&&P(0,"app-entity-header-picker-dropdown",15),2&o){const e=m(2);g("host",e.host)("form",e.form)("field",e.field)("model",e.model)("view",e.view)}}function vSe(o,t){if(1&o&&(d(0,"div",1),b(1,vFe,1,5,"app-text-area",2),b(2,yFe,1,5,"app-text-area",2),b(3,bFe,1,5,"app-picker",2),b(4,CFe,1,5,"app-picker",2),b(5,wFe,1,5,"app-date-picker",2),b(6,xFe,1,5,"app-time-picker",2),b(7,DFe,1,5,"app-date-picker",2),b(8,MFe,1,5,"app-form-icon-picker",2),b(9,kFe,1,5,"app-checkbox",2),b(10,EFe,1,5,"app-file-upload",3),b(11,TFe,1,5,"app-file-upload",3),b(12,FFe,1,5,"app-color-picker",3),b(13,SFe,1,5,"app-entity-header-picker",3),b(14,PFe,1,5,"app-entity-header-picker",3),b(15,IFe,1,5,"app-product-picker-list",3),b(16,AFe,1,5,"app-customer-picker-field",3),b(17,OFe,1,5,"app-customer-picker-field",3),b(18,RFe,1,5,"app-discussion-list",3),b(19,LFe,1,5,"app-child-list",4),b(20,BFe,1,5,"app-child-list-inline",3),b(21,NFe,1,5,"app-child-list-inline-picker",3),b(22,HFe,1,5,"app-child-list-inline",5),b(23,VFe,1,5,"app-script",3),b(24,$Fe,1,5,"app-script",3),b(25,zFe,1,5,"app-password-field",3),b(26,YFe,1,5,"app-password-field",3),b(27,jFe,1,5,"app-password-field",3),b(28,UFe,1,5,"app-user-picker-field",5),b(29,WFe,1,5,"app-web-link-field",5),b(30,GFe,1,6,"app-action-field",5),b(31,qFe,1,5,"app-html-editor",5),b(32,KFe,1,5,"app-category-field",5),b(33,ZFe,1,5,"app-money-editor",5),b(34,XFe,1,5,"app-phone-field",5),b(35,JFe,1,5,"app-payment-method",6),b(36,QFe,1,5,"app-device-picker-field",6),b(37,eSe,1,5,"app-geo-location-field",6),b(38,tSe,1,5,"app-org-location-picker",7),b(39,rSe,1,5,"app-schedule",6),b(40,oSe,1,5,"app-media-resources-field",7),b(41,nSe,1,7,"app-custom-field",8),b(42,iSe,1,5,"app-percent",6),b(43,aSe,1,5,"app-text-box",9),b(44,sSe,1,5,"app-point2d",6),b(45,lSe,1,5,"app-size2d",6),b(46,cSe,1,5,"app-point3d",6),b(47,dSe,1,5,"app-size3d",6),b(48,uSe,1,5,"app-font-awesome-icon-picker",6),b(49,pSe,1,6,"app-component-row-field",10),b(50,hSe,1,5,"app-point2d-array",6),b(51,gSe,1,5,"app-string-list-field",6),b(52,mSe,1,5,"app-child-item",6),b(53,fSe,1,5,"app-cron-builder-field",6),b(54,_Se,1,5,"app-entity-header-picker-dropdown",6),u()),2&o){const e=m();g("ngSwitch",null==e.field?null:e.field.fieldType),p(1),g("ngSwitchCase","MultiLineText"),p(1),g("ngSwitchCase","MultiLineTextAreaFixedFont"),p(1),g("ngSwitchCase","Picker"),p(1),g("ngSwitchCase","OptionsList"),p(1),g("ngSwitchCase","Date"),p(1),g("ngSwitchCase","Time"),p(1),g("ngSwitchCase","DateTime"),p(1),g("ngSwitchCase","Icon"),p(1),g("ngSwitchCase","CheckBox"),p(1),g("ngSwitchCase","FileUpload"),p(1),g("ngSwitchCase","MediaResourceUpload"),p(1),g("ngSwitchCase","Color"),p(1),g("ngSwitchCase","EntityHeaderPicker"),p(1),g("ngSwitchCase","ProductPicker"),p(1),g("ngSwitchCase","ProductPickerList"),p(1),g("ngSwitchCase","CustomerPicker"),p(1),g("ngSwitchCase","ContactPicker"),p(1),g("ngSwitchCase","Discussion"),p(1),g("ngSwitchCase","ChildList"),p(1),g("ngSwitchCase","ChildListInline"),p(1),g("ngSwitchCase","ChildListInlinePicker"),p(1),g("ngSwitchCase","ChildListSiteContentPicker"),p(1),g("ngSwitchCase","NodeScript"),p(1),g("ngSwitchCase","RawHtml"),p(1),g("ngSwitchCase","Password"),p(1),g("ngSwitchCase","Secret"),p(1),g("ngSwitchCase","SecureCertificate"),p(1),g("ngSwitchCase","UserPicker"),p(1),g("ngSwitchCase","WebLink"),p(1),g("ngSwitchCase","Action"),p(1),g("ngSwitchCase","HtmlEditor"),p(1),g("ngSwitchCase","Category"),p(1),g("ngSwitchCase","Money"),p(1),g("ngSwitchCase","Phone"),p(1),g("ngSwitchCase","PaymentMethod"),p(1),g("ngSwitchCase","DevicePicker"),p(1),g("ngSwitchCase","GeoLocation"),p(1),g("ngSwitchCase","OrgLocationPicker"),p(1),g("ngSwitchCase","Schedule"),p(1),g("ngSwitchCase","MediaResources"),p(1),g("ngSwitchCase","Custom"),p(1),g("ngSwitchCase","Percent"),p(2),g("ngSwitchCase","Point2D"),p(1),g("ngSwitchCase","Point2DSize"),p(1),g("ngSwitchCase","Point3D"),p(1),g("ngSwitchCase","Point3DSize"),p(1),g("ngSwitchCase","FontAwesomeIconPicker"),p(1),g("ngSwitchCase","ComponentRow"),p(1),g("ngSwitchCase","Point2DArray"),p(1),g("ngSwitchCase","StringList"),p(1),g("ngSwitchCase","ChildItem"),p(1),g("ngSwitchCase","CronBuilder"),p(1),g("ngSwitchCase","EntithHeaderPickerDropDown")}}let FE=(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-form-field"]],inputs:{form:"form",field:"field",model:"model",view:"view",host:"host"},decls:1,vars:1,consts:[["class","form-group","style","margin-bottom:15px",3,"ngSwitch",4,"ngIf"],[1,"form-group",2,"margin-bottom","15px",3,"ngSwitch"],[3,"host","field","model","view","form",4,"ngSwitchCase"],[3,"host","field","model","form","view",4,"ngSwitchCase"],[3,"field","host","model","form","view",4,"ngSwitchCase"],[3,"host","field","form","model","view",4,"ngSwitchCase"],[3,"host","form","field","model","view",4,"ngSwitchCase"],[3,"form","host","field","model","view",4,"ngSwitchCase"],[3,"form","field","customFieldType","host","model","view",4,"ngSwitchCase"],[3,"host","form","field","model","view",4,"ngSwitchDefault"],[3,"host","form","fields","field","model","view",4,"ngSwitchCase"],[3,"host","field","model","view","form"],[3,"host","field","model","form","view"],[3,"field","host","model","form","view"],[3,"host","field","form","model","view"],[3,"host","form","field","model","view"],[3,"form","host","field","model","view"],[3,"form","field","customFieldType","host","model","view"],[3,"host","form","fields","field","model","view"]],template:function(e,r){1&e&&b(0,vSe,55,54,"div",0),2&e&&g("ngIf",null==r.field?null:r.field.isVisible)},dependencies:[ve,gc,Kp,Hw,Ade,Bde,bpe,Bme,Nfe,zfe,e_e,M_e,ove,cve,mve,_ve,iye,vye,Zye,u1e,_1e,k1e,o0e,n0e,i0e,p0e,nCe,aCe,lCe,dCe,_Ce,Dke,Ake,tEe,bEe,TEe,BEe,WEe,ZEe,cTe,G7,pTe,gTe,ETe,YTe,GTe,qTe,_Fe]}),o})(),ySe=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Nr,Ts]}),o})(),bSe=(()=>{class o{constructor(e){this.ctx=e}getAvailableLabelsAsync(){var e=this;return E(function*(){return(yield e.ctx.clients.labels.getLabelset()).result?.labels??[]})()}createLabelAsync(e){var r=this;return E(function*(){const n=e.text?.trim();if(!n)throw new Error("Label text is required.");return(yield r.ctx.clients.labels.createLabel({...e,text:n,description:e.description?.trim()||void 0})).result?.labels??[]})()}hasLabel(e,r){return!!r&&e.labels.some(n=>n.id===r)}attachLabel(e,r){if(!r.id)throw new Error("Cannot attach a label without an id.");return this.hasLabel(e,r.id)||(e.labels=[...e.labels,r]),e.labels}detachLabel(e,r){return r&&(e.labels=e.labels.filter(n=>n.id!==r)),e.labels}findLabelByText(e,r){const n=r.trim().toLowerCase();return e.find(i=>(i.text||"").trim().toLowerCase()===n)}findLabelById(e,r){if(r)return e.find(n=>n.id===r)}}return o.\u0275fac=function(e){return new(e||o)(Z(_r))},o.\u0275prov=se({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function CSe(o,t){if(1&o){const e=j();d(0,"button",12),T("click",function(){F(e);const n=m().$implicit;return S(m().removeLabel(n))}),v(1," \xd7 "),u()}}function wSe(o,t){if(1&o&&(d(0,"span",9)(1,"span",10),v(2),u(),b(3,CSe,2,0,"button",11),u()),2&o){const e=t.$implicit,r=m();Tt("color",r.getLabelForegroundColor(e))("background-color",r.getLabelBackgroundColor(e)),p(2),ae(e.text),p(1),g("ngIf",!r.isReadonly)}}function xSe(o,t){if(1&o){const e=j();d(0,"input",13),T("ngModelChange",function(n){return F(e),S(m().inputText=n)})("focus",function(){return F(e),S(m().onInputFocus())})("ngModelChange",function(){return F(e),S(m().onInputChanged())})("keydown",function(n){return F(e),S(m().onInputKeyDown(n))}),u()}if(2&o){const e=m();g("placeholder",e.hasAttachedLabels?e.placeholder:e.emptyText)("ngModel",e.inputText)}}function DSe(o,t){if(1&o&&(d(0,"span",14),v(1),u()),2&o){const e=m();p(1),ae(e.emptyText)}}function MSe(o,t){1&o&&(d(0,"span",15),v(1,"Loading..."),u())}function kSe(o,t){if(1&o&&(d(0,"div",16),v(1),u()),2&o){const e=m();p(1),ce(" ",e.errorMessage," ")}}function ESe(o,t){if(1&o){const e=j();d(0,"button",20),T("mousedown",function(n){return n.preventDefault()})("click",function(){const i=F(e).$implicit;return S(m(2).attachLabel(i))}),d(1,"span",21),v(2),u(),d(3,"span",22),v(4),u()()}if(2&o){const e=t.$implicit,r=t.index,n=m(2);ut("entity-labels__option--highlighted",r===n.highlightedIndex),p(1),Tt("color",n.getLabelForegroundColor(e))("background-color",n.getLabelBackgroundColor(e)),p(1),ce(" ",e.text," "),p(2),ae(e.description)}}function TSe(o,t){if(1&o){const e=j();d(0,"button",23),T("mousedown",function(n){return n.preventDefault()})("click",function(){return F(e),S(m(2).openCreatePopupFromInput())}),v(1),u()}if(2&o){const e=m(2);p(1),ce(" Create \u201c",e.inputText.trim(),"\u201d ")}}function FSe(o,t){1&o&&(d(0,"div",16),v(1," Some labels are missing ids and cannot be attached. "),u())}function SSe(o,t){if(1&o&&(d(0,"div",17),b(1,ESe,5,8,"button",18),b(2,TSe,2,1,"button",19),b(3,FSe,2,0,"div",6),u()),2&o){const e=m();p(1),g("ngForOf",e.matchingLabels)("ngForTrackBy",e.trackByLabelId),p(1),g("ngIf",e.canCreateFromInput),p(1),g("ngIf",e.hasLabelsMissingIds)}}function PSe(o,t){if(1&o){const e=j();d(0,"div",24)(1,"div",25)(2,"strong"),v(3,"Create Label"),u(),d(4,"button",26),T("click",function(){return F(e),S(m().closeCreatePopup())}),v(5,"\xd7"),u()(),d(6,"div",27)(7,"span",9),v(8),u()(),d(9,"input",28),T("ngModelChange",function(n){return F(e),S(m().createText=n)}),u(),d(10,"input",29),T("ngModelChange",function(n){return F(e),S(m().createDescription=n)}),u(),d(11,"div",30)(12,"label",31)(13,"span"),v(14,"Text"),u(),d(15,"input",32),T("ngModelChange",function(n){return F(e),S(m().createForegroundColor=n)}),u()(),d(16,"label",31)(17,"span"),v(18,"Background"),u(),d(19,"input",32),T("ngModelChange",function(n){return F(e),S(m().createBackgroundColor=n)}),u()()(),d(20,"div",33)(21,"button",34),T("click",function(){return F(e),S(m().closeCreatePopup())}),v(22," Cancel "),u(),d(23,"button",35),T("click",function(){return F(e),S(m().createAndAttachLabelAsync())}),v(24),u()()()}if(2&o){const e=m();p(7),Tt("color",e.createForegroundColor)("background-color",e.createBackgroundColor),p(1),ce(" ",e.createText||"New Label"," "),p(1),g("ngModel",e.createText)("disabled",e.isCreatingLabel),p(1),g("ngModel",e.createDescription)("disabled",e.isCreatingLabel),p(5),g("ngModel",e.createForegroundColor)("disabled",e.isCreatingLabel),p(4),g("ngModel",e.createBackgroundColor)("disabled",e.isCreatingLabel),p(2),g("disabled",e.isCreatingLabel),p(2),g("disabled",e.isCreatingLabel||!e.createText.trim()),p(1),ce(" ",e.isCreatingLabel?"Creating...":"Create"," ")}}let ISe=(()=>{class o{constructor(e,r){this.labelsService=e,this.host=r,this.isReadonly=!1,this.title="Labels",this.placeholder="Add label...",this.emptyText="no labels attached, click to attach.",this.allowCreateLabel=!0,this.defaultForegroundColor="#ffffff",this.defaultBackgroundColor="#0ac4c7",this.labelsChange=new ee,this.modelChange=new ee,this.labelAdded=new ee,this.labelRemoved=new ee,this.labelCreated=new ee,this.availableLabels=[],this.inputText="",this.isLoading=!1,this.isDropdownOpen=!1,this.isCreateOpen=!1,this.isCreatingLabel=!1,this.highlightedIndex=0,this.errorMessage="",this.createText="",this.createDescription="",this.createForegroundColor="",this.createBackgroundColor=""}ngOnInit(){var e=this;return E(function*(){e.ensureLabelsArray(),e.resetCreateDraft(""),yield e.loadLabelsAsync()})()}ngOnChanges(e){e.model&&this.model&&this.ensureLabelsArray()}get attachedLabels(){return this.model?.labels??[]}get normalizedInputText(){return this.inputText.trim().toLowerCase()}get matchingLabels(){const e=this.normalizedInputText;return this.availableLabels.filter(r=>!!r.id).filter(r=>!this.labelsService.hasLabel(this.model,r.id)).filter(r=>!e||(r.text||"").toLowerCase().includes(e))}get labelsMissingIds(){return this.availableLabels.filter(e=>!e.id)}get hasLabelsMissingIds(){return this.labelsMissingIds.length>0}get hasAttachedLabels(){return this.attachedLabels.length>0}get hasExactAvailableMatch(){const e=this.normalizedInputText;return!!e&&this.availableLabels.some(r=>(r.text||"").trim().toLowerCase()===e)}get canCreateFromInput(){return this.allowCreateLabel&&!!this.inputText.trim()&&!this.hasExactAvailableMatch}get shouldShowDropdown(){return this.isDropdownOpen&&!this.isReadonly&&(this.matchingLabels.length>0||this.canCreateFromInput||this.hasLabelsMissingIds)}refreshAsync(){var e=this;return E(function*(){yield e.loadLabelsAsync()})()}onInputFocus(){this.isReadonly||this.openDropdown()}onInputChanged(){this.isReadonly||(this.highlightedIndex=0,this.openDropdown())}onInputKeyDown(e){if(!this.isReadonly){if("ArrowDown"===e.key)return e.preventDefault(),void this.moveHighlight(1);if("ArrowUp"===e.key)return e.preventDefault(),void this.moveHighlight(-1);if("Enter"===e.key)return e.preventDefault(),void this.commitInput();"Escape"===e.key&&(e.preventDefault(),this.closeDropdown(),this.closeCreatePopup())}}attachLabel(e){this.isReadonly||(this.labelsService.attachLabel(this.model,e),this.inputText="",this.highlightedIndex=0,this.closeDropdown(),this.emitChanges(),this.labelAdded.emit(e))}removeLabel(e){this.isReadonly||!e.id||(this.labelsService.detachLabel(this.model,e.id),this.emitChanges(),this.labelRemoved.emit(e))}openCreatePopupFromInput(){!this.canCreateFromInput||(this.resetCreateDraft(this.inputText),this.isCreateOpen=!0,this.closeDropdown())}closeCreatePopup(){this.isCreateOpen=!1}createAndAttachLabelAsync(){var e=this;return E(function*(){if(e.isReadonly||!e.allowCreateLabel)return;const r=e.createText.trim();if(r){e.isCreatingLabel=!0,e.errorMessage="";try{const n={text:r,description:e.createDescription.trim()||void 0,foregroundColor:e.createForegroundColor||void 0,backgroundColor:e.createBackgroundColor||void 0};e.availableLabels=yield e.labelsService.createLabelAsync(n);const i=e.labelsService.findLabelByText(e.availableLabels,r);if(!i?.id)throw new Error("The label was created, but no saved label with an id was returned.");e.labelsService.attachLabel(e.model,i),e.inputText="",e.emitChanges(),e.labelCreated.emit(i),e.labelAdded.emit(i),e.resetCreateDraft(""),e.closeCreatePopup()}catch{e.errorMessage="Unable to create label."}finally{e.isCreatingLabel=!1}}else e.errorMessage="Label text is required."})()}getLabelForegroundColor(e){return e.foregroundColor||"var(--color-fg)"}getLabelBackgroundColor(e){return e.backgroundColor||"var(--color-bg-panel-active)"}trackByLabelId(e,r){return r.id||""}onDocumentMouseDown(e){this.host.nativeElement.contains(e.target)||(this.closeDropdown(),this.closeCreatePopup())}loadLabelsAsync(){var e=this;return E(function*(){e.isLoading=!0,e.errorMessage="";try{e.availableLabels=yield e.labelsService.getAvailableLabelsAsync()}catch{e.errorMessage="Unable to load labels.",e.availableLabels=[]}finally{e.isLoading=!1}})()}commitInput(){const e=this.matchingLabels[this.highlightedIndex]||this.matchingLabels[0];e?this.attachLabel(e):this.canCreateFromInput&&this.openCreatePopupFromInput()}moveHighlight(e){const r=this.matchingLabels.length;this.highlightedIndex=0!==r?(this.highlightedIndex+e+r)%r:0}openDropdown(){this.isDropdownOpen=!0}closeDropdown(){this.isDropdownOpen=!1}resetCreateDraft(e){this.createText=e.trim(),this.createDescription="",this.createForegroundColor=this.defaultForegroundColor,this.createBackgroundColor=this.defaultBackgroundColor}ensureLabelsArray(){this.model.labels||(this.model.labels=[])}emitChanges(){this.labelsChange.emit(this.model.labels),this.modelChange.emit(this.model)}}return o.\u0275fac=function(e){return new(e||o)(O(bSe),O(dt))},o.\u0275cmp=ne({type:o,selectors:[["nuvos-entity-labels"]],hostBindings:function(e,r){1&e&&T("mousedown",function(i){return r.onDocumentMouseDown(i)},0,lv)},inputs:{model:"model",isReadonly:["readonly","isReadonly"],title:"title",placeholder:"placeholder",emptyText:"emptyText",allowCreateLabel:"allowCreateLabel",defaultForegroundColor:"defaultForegroundColor",defaultBackgroundColor:"defaultBackgroundColor"},outputs:{labelsChange:"labelsChange",modelChange:"modelChange",labelAdded:"labelAdded",labelRemoved:"labelRemoved",labelCreated:"labelCreated"},features:[Lr],decls:9,vars:10,consts:[[1,"entity-labels"],[1,"entity-labels__control"],["class","entity-labels__pill",3,"color","backgroundColor",4,"ngFor","ngForOf","ngForTrackBy"],["class","entity-labels__input","type","text","autocomplete","off",3,"placeholder","ngModel","ngModelChange","focus","keydown",4,"ngIf"],["class","entity-labels__empty",4,"ngIf"],["class","entity-labels__loading",4,"ngIf"],["class","entity-labels__message entity-labels__message--error",4,"ngIf"],["class","entity-labels__dropdown",4,"ngIf"],["class","entity-labels__create-popover","role","dialog","aria-label","Create label",4,"ngIf"],[1,"entity-labels__pill"],[1,"entity-labels__pill-text"],["class","entity-labels__pill-remove","type","button","title","Remove label",3,"click",4,"ngIf"],["type","button","title","Remove label",1,"entity-labels__pill-remove",3,"click"],["type","text","autocomplete","off",1,"entity-labels__input",3,"placeholder","ngModel","ngModelChange","focus","keydown"],[1,"entity-labels__empty"],[1,"entity-labels__loading"],[1,"entity-labels__message","entity-labels__message--error"],[1,"entity-labels__dropdown"],["class","entity-labels__option","type","button",3,"entity-labels__option--highlighted","mousedown","click",4,"ngFor","ngForOf","ngForTrackBy"],["class","entity-labels__option entity-labels__option--create","type","button",3,"mousedown","click",4,"ngIf"],["type","button",1,"entity-labels__option",3,"mousedown","click"],[1,"entity-labels__option-pill"],[1,"entity-labels__option-description"],["type","button",1,"entity-labels__option","entity-labels__option--create",3,"mousedown","click"],["role","dialog","aria-label","Create label",1,"entity-labels__create-popover"],[1,"entity-labels__create-header"],["type","button","title","Close",1,"entity-labels__create-close",3,"click"],[1,"entity-labels__create-preview"],["type","text","placeholder","Label text",1,"entity-labels__create-input",3,"ngModel","disabled","ngModelChange"],["type","text","placeholder","Description",1,"entity-labels__create-input",3,"ngModel","disabled","ngModelChange"],[1,"entity-labels__color-row"],[1,"entity-labels__color-field"],["type","color",3,"ngModel","disabled","ngModelChange"],[1,"entity-labels__create-actions"],["type","button",1,"entity-labels__button","entity-labels__button--secondary",3,"disabled","click"],["type","button",1,"entity-labels__button",3,"disabled","click"]],template:function(e,r){1&e&&(d(0,"section",0)(1,"div",1),b(2,wSe,4,6,"span",2),b(3,xSe,1,2,"input",3),b(4,DSe,2,1,"span",4),b(5,MSe,2,0,"span",5),u(),b(6,kSe,2,1,"div",6),b(7,SSe,4,4,"div",7),b(8,PSe,25,16,"div",8),u()),2&e&&(p(1),ut("entity-labels__control--readonly",r.isReadonly),p(1),g("ngForOf",r.attachedLabels)("ngForTrackBy",r.trackByLabelId),p(1),g("ngIf",!r.isReadonly),p(1),g("ngIf",r.isReadonly&&!r.hasAttachedLabels),p(1),g("ngIf",r.isLoading),p(1),g("ngIf",r.errorMessage),p(1),g("ngIf",r.shouldShowDropdown),p(1),g("ngIf",r.isCreateOpen))},dependencies:[gt,ve,Ht,mt,It],styles:[".entity-labels[_ngcontent-%COMP%]{align-items:center;color:var(--color-fg);display:grid;gap:.125rem;position:relative}.entity-labels__label[_ngcontent-%COMP%]{color:var(--color-primary-heading);font-size:.75rem;font-weight:700;line-height:1;margin-left:.125rem}.entity-labels__control[_ngcontent-%COMP%]{align-items:center;background:transparent;border:0;border-radius:0;display:flex;flex-wrap:wrap;gap:.25rem;min-height:1.75rem;padding:.125rem 0}.entity-labels__control[_ngcontent-%COMP%]:focus-within{box-shadow:none}.entity-labels__control--readonly[_ngcontent-%COMP%]{border-radius:0}.entity-labels__pill[_ngcontent-%COMP%]{align-items:center;border-radius:999px;display:inline-flex;font-size:.75rem;font-weight:700;gap:.25rem;line-height:1;max-width:14rem;padding:.25rem .45rem}.entity-labels__pill-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-labels__pill-remove[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;background:transparent;border:0;color:inherit;cursor:pointer;font:inherit;font-size:.875rem;line-height:.75;margin:0 -.15rem 0 0;opacity:.75;padding:0 .15rem}.entity-labels__pill-remove[_ngcontent-%COMP%]:hover{opacity:1}.entity-labels__input[_ngcontent-%COMP%]{background:transparent;border:0;color:var(--color-fg);flex:1 1 10rem;font:inherit;font-size:.875rem;min-width:8rem;outline:none;padding:.2rem .25rem}.entity-labels__input[_ngcontent-%COMP%]::placeholder{color:var(--color-placeholder-text)}.entity-labels__empty[_ngcontent-%COMP%], .entity-labels__loading[_ngcontent-%COMP%]{color:var(--color-gray-65);font-size:.8125rem;padding:.125rem .25rem}.entity-labels__message[_ngcontent-%COMP%]{color:var(--color-gray-65);font-size:.75rem}.entity-labels__message--error[_ngcontent-%COMP%]{color:var(--color-danger)}.entity-labels__dropdown[_ngcontent-%COMP%]{background:var(--color-bg-panel);border:1px solid var(--color-primary-border);border-radius:.375rem;box-shadow:0 .25rem .875rem var(--color-shadow-panel);display:grid;gap:.125rem;left:0;margin-top:.125rem;max-height:14rem;overflow:auto;padding:.25rem;position:absolute;right:auto;top:100%;width:min(30rem,100vw);z-index:120}.entity-labels__option[_ngcontent-%COMP%]{align-items:center;background:var(--color-bg-panel);border:1px solid transparent;border-radius:.25rem;color:var(--color-fg);cursor:pointer;display:grid;gap:.375rem;grid-template-columns:auto 1fr;padding:.25rem;text-align:left}.entity-labels__option[_ngcontent-%COMP%]:hover, .entity-labels__option--highlighted[_ngcontent-%COMP%]{background:var(--color-bg-list-row-hover);border-color:var(--color-primary-border);color:var(--color-fg-list-row-hover)}.entity-labels__option-pill[_ngcontent-%COMP%]{border-radius:999px;font-size:.75rem;font-weight:700;line-height:1;padding:.25rem .45rem;white-space:nowrap}.entity-labels__option-description[_ngcontent-%COMP%]{color:var(--color-gray-65);font-size:.75rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-labels__option--create[_ngcontent-%COMP%]{color:var(--color-fg-panel-link);display:block;font-size:.8125rem;font-weight:700}.entity-labels__create-popover[_ngcontent-%COMP%]{background:var(--color-bg-panel);border:1px solid var(--color-primary-border);border-radius:.375rem;box-shadow:0 .25rem .875rem var(--color-shadow-panel);display:grid;gap:.5rem;left:0;min-width:18rem;padding:.625rem;position:absolute;right:auto;top:calc(100% + .125rem);width:min(26rem,100vw);z-index:130}.entity-labels__create-header[_ngcontent-%COMP%]{align-items:center;color:var(--color-primary-heading);display:flex;font-size:.875rem;justify-content:space-between}.entity-labels__create-close[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;background:transparent;border:0;color:var(--color-gray-65);cursor:pointer;font:inherit;font-size:1.125rem;line-height:1}.entity-labels__create-preview[_ngcontent-%COMP%]{display:flex}.entity-labels__create-input[_ngcontent-%COMP%]{background:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:.25rem;color:var(--color-fg);font:inherit;font-size:.875rem;padding:.35rem .45rem}.entity-labels__create-input[_ngcontent-%COMP%]::placeholder{color:var(--color-placeholder-text)}.entity-labels__color-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.625rem}.entity-labels__color-field[_ngcontent-%COMP%]{align-items:center;color:var(--color-gray-65);display:inline-flex;font-size:.75rem;gap:.25rem}.entity-labels__create-actions[_ngcontent-%COMP%]{display:flex;gap:.375rem;justify-content:flex-end}.entity-labels__button[_ngcontent-%COMP%]{background:var(--color-primary-button);border:1px solid var(--color-primary-button);border-radius:.25rem;color:var(--color-filled-button-text);cursor:pointer;font:inherit;font-size:.8125rem;padding:.35rem .625rem}.entity-labels__button[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--color-primary-button-hover);border-color:var(--color-primary-button-hover)}.entity-labels__button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.65}.entity-labels__button--secondary[_ngcontent-%COMP%]{background:var(--color-bg-panel);border-color:var(--color-border-panel);color:var(--color-fg)}"]}),o})(),q7=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Ts,Nr,TM,EM,ySe,OB,f8,CB,Y1,dB,KB,Jle,U6,kM]}),o})();function ASe(o,t){}ud(_u,[Fo,gt,ve,ml,ZM,XM,ISe,FE,uce,ace],[MM]),ud(G7,[gt,FE],[]);class Z0{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let K7=(()=>{class o extends PM{constructor(e,r,n,i,a,s,l,c){super(),this._elementRef=e,this._focusTrapFactory=r,this._config=i,this._interactivityChecker=a,this._ngZone=s,this._overlayRef=l,this._focusMonitor=c,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=h=>{this._portalOutlet.hasAttached();const _=this._portalOutlet.attachDomPortal(h);return this._contentAttached(),_},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=n}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const r=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),r}attachTemplatePortal(e){this._portalOutlet.hasAttached();const r=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,r){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const n=()=>{e.removeEventListener("blur",n),e.removeEventListener("mousedown",n),e.removeAttribute("tabindex")};e.addEventListener("blur",n),e.addEventListener("mousedown",n)})),e.focus(r)}_focusByCssSelector(e,r){let n=this._elementRef.nativeElement.querySelector(e);n&&this._forceFocus(n,r)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(r=>{r||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let r=null;if("string"==typeof e?r=this._document.querySelector(e):"boolean"==typeof e?r=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(r=e),this._config.restoreFocus&&r&&"function"==typeof r.focus){const n=sf(),i=this._elementRef.nativeElement;(!n||n===this._document.body||n===i||i.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,r=sf();return e===r||e.contains(r)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=sf())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(y1),O(bt,8),O(Z0),O(v1),O(ct),O(Ef),O(Pc))},o.\u0275cmp=ne({type:o,selectors:[["cdk-dialog-container"]],viewQuery:function(e,r){if(1&e&&Yt(kf,7),2&e){let n;ze(n=Ye())&&(r._portalOutlet=n.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,r){2&e&&Re("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledBy)("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Te],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,r){1&e&&b(0,ASe,0,0,"ng-template",0)},dependencies:[kf],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),o})();class SE{constructor(t,e){this.overlayRef=t,this.config=e,this.closed=new Ae,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(r=>{27===r.keyCode&&!this.disableClose&&!cu(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(t,e){if(this.containerInstance){const r=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this.overlayRef.dispose(),r.next(t),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const Z7=new me("DialogScrollStrategy"),OSe=new me("DialogData"),RSe=new me("DefaultDialogConfig"),BSe={provide:Z7,deps:[Os],useFactory:function LSe(o){return()=>o.scrollStrategies.block()}};let NSe=0,X7=(()=>{class o{constructor(e,r,n,i,a,s){this._overlay=e,this._injector=r,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ae,this._afterOpenedAtThisLevel=new Ae,this._ariaHiddenElements=new Map,this.afterAllClosed=wm(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Yo(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(e,r){(r={...this._defaultOptions||new Z0,...r}).id=r.id||"cdk-dialog-"+NSe++,r.id&&this.getDialogById(r.id);const i=this._getOverlayConfig(r),a=this._overlay.create(i),s=new SE(a,r),l=this._attachContainer(a,s,r);return s.containerInstance=l,this._attachDialogContent(e,s,l,r),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){PE(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(r=>r.id===e)}ngOnDestroy(){PE(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),PE(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const r=new V1({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(r.backdropClass=e.backdropClass),r}_attachContainer(e,r,n){const i=n.injector||n.viewContainerRef?.injector,a=[{provide:Z0,useValue:n},{provide:SE,useValue:r},{provide:Ef,useValue:e}];let s;n.container?"function"==typeof n.container?s=n.container:(s=n.container.type,a.push(...n.container.providers(n))):s=K7;const l=new Mf(s,n.viewContainerRef,Zr.create({parent:i||this._injector,providers:a}),n.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,r,n,i){if(e instanceof fo){const a=this._createInjector(i,r,n,void 0);let s={$implicit:i.data,dialogRef:r};i.templateContext&&(s={...s,..."function"==typeof i.templateContext?i.templateContext():i.templateContext}),n.attachTemplatePortal(new SM(e,null,s,a))}else{const a=this._createInjector(i,r,n,this._injector),s=n.attachComponentPortal(new Mf(e,i.viewContainerRef,a,i.componentFactoryResolver));r.componentInstance=s.instance}}_createInjector(e,r,n,i){const a=e.injector||e.viewContainerRef?.injector,s=[{provide:OSe,useValue:e.data},{provide:SE,useValue:r}];return e.providers&&("function"==typeof e.providers?s.push(...e.providers(r,e,n)):s.push(...e.providers)),e.direction&&(!a||!a.get(qa,null,xt.Optional))&&s.push({provide:qa,useValue:{value:e.direction,change:Xe()}}),Zr.create({parent:a||i,providers:s})}_removeOpenDialog(e,r){const n=this.openDialogs.indexOf(e);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((i,a)=>{i?a.setAttribute("aria-hidden",i):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const r=e.parentElement.children;for(let n=r.length-1;n>-1;n--){const i=r[n];i!==e&&"SCRIPT"!==i.nodeName&&"STYLE"!==i.nodeName&&!i.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return o.\u0275fac=function(e){return new(e||o)(Z(Os),Z(Zr),Z(RSe,8),Z(o,12),Z($1),Z(Z7))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();function PE(o,t){let e=o.length;for(;e--;)t(o[e])}let HSe=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[X7,BSe],imports:[z1,xh,XD,xh]}),o})();function VSe(o,t){}const Gh={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},$Se={dialogContainer:Ic("dialogContainer",[ua("void, exit",Qr({opacity:0,transform:"scale(0.7)"})),ua("enter",Qr({transform:"none"})),Qn("* => enter",cL([Jn("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Qr({transform:"none",opacity:1})),hL("@*",pL(),{optional:!0})]),Gh),Qn("* => void, * => exit",cL([Jn("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Qr({opacity:0})),hL("@*",pL(),{optional:!0})]),Gh)])};class X0{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=Gh.params.enterAnimationDuration,this.exitAnimationDuration=Gh.params.exitAnimationDuration}}let zSe=(()=>{class o extends K7{constructor(e,r,n,i,a,s,l,c){super(e,r,n,i,a,s,l,c),this._animationStateChanged=new ee}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(y1),O(bt,8),O(X0),O(v1),O(ct),O(Ef),O(Pc))},o.\u0275cmp=ne({type:o,selectors:[["ng-component"]],features:[Te],decls:0,vars:0,template:function(e,r){},encapsulation:2}),o})(),YSe=(()=>{class o extends zSe{constructor(e,r,n,i,a,s,l,c,h){super(e,r,n,i,a,s,l,h),this._changeDetectorRef=c,this._state="enter"}_onAnimationDone({toState:e,totalTime:r}){"enter"===e?this._openAnimationDone(r):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:r})}_onAnimationStart({toState:e,totalTime:r}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:r}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:r})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Gh.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Gh.params.exitAnimationDuration}}}}return o.\u0275fac=function(e){return new(e||o)(O(dt),O(y1),O(bt,8),O(X0),O(v1),O(ct),O(Ef),O(Xr),O(Pc))},o.\u0275cmp=ne({type:o,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,r){1&e&&Dv("@dialogContainer.start",function(i){return r._onAnimationStart(i)})("@dialogContainer.done",function(i){return r._onAnimationDone(i)}),2&e&&(Ds("id",r._config.id),Re("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledBy)("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Ev("@dialogContainer",r._getAnimationState()))},features:[Te],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,r){1&e&&b(0,VSe,0,0,"ng-template",0)},dependencies:[kf],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[$Se.dialogContainer]}}),o})();class jSe{constructor(t,e,r){this._ref=t,this._containerInstance=r,this._afterOpened=new Ae,this._beforeClosed=new Ae,this._state=0,this.disableClose=e.disableClose,this.id=t.id,r._animationStateChanged.pipe(Gr(n=>"opened"===n.state),mr(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(Gr(n=>"closed"===n.state),mr(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),di(this.backdropClick(),this.keydownEvents().pipe(Gr(n=>27===n.keyCode&&!this.disableClose&&!cu(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),function USe(o,t,e){o._closeInteractionType=t,o.close(e)}(this,"keydown"===n.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Gr(e=>"closing"===e.state),mr(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const WSe=new me("MatDialogData"),GSe=new me("mat-dialog-default-options"),J7=new me("mat-dialog-scroll-strategy"),KSe={provide:J7,deps:[Os],useFactory:function qSe(o){return()=>o.scrollStrategies.block()}};let ZSe=0,XSe=(()=>{class o{constructor(e,r,n,i,a,s,l,c,h,_){this._overlay=e,this._defaultOptions=n,this._parentDialog=i,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=h,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ae,this._afterOpenedAtThisLevel=new Ae,this._idPrefix="mat-dialog-",this.afterAllClosed=wm(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Yo(void 0))),this._scrollStrategy=s,this._dialog=r.get(X7)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,r){let n;(r={...this._defaultOptions||new X0,...r}).id=r.id||`${this._idPrefix}${ZSe++}`,r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();const i=this._dialog.open(e,{...r,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:X0,useValue:r},{provide:Z0,useValue:r}]},templateContext:()=>({dialogRef:n}),providers:(a,s,l)=>(n=new this._dialogRefConstructor(a,r,l),n.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:n}])});return n.componentInstance=i.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(n);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),n}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(r=>r.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let r=e.length;for(;r--;)e[r].close()}}return o.\u0275fac=function(e){Ip()},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})(),JSe=(()=>{class o extends XSe{constructor(e,r,n,i,a,s,l,c){super(e,r,i,s,l,a,jSe,YSe,WSe,c)}}return o.\u0275fac=function(e){return new(e||o)(Z(Os),Z(Zr),Z(hl,8),Z(GSe,8),Z(J7),Z(o,12),Z($1),Z(uc,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})(),QSe=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[JSe,KSe],imports:[HSe,z1,xh,Io,Io]}),o})(),IE=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Nr,Io,xh,D1,_1,XD,Io]}),o})(),Q7=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({}),o})(),f5e=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Q7,D1,Io,_1,Q7,Io]}),o})(),_5e=(()=>{class o{static forRoot(e={}){return{ngModule:o,providers:[{provide:QM,useValue:e}]}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Nr]}),o})();function v5e(o,t){if(1&o){const e=j();d(0,"span",8),T("click",function(){return F(e),S(m().cancelClick())}),P(1,"i",9),v(2," Cancel "),u()}}function y5e(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m().addClick())}),P(1,"i",11),v(2," Add "),u()}}function b5e(o,t){if(1&o){const e=j();d(0,"i",18),T("click",function(n){F(e);const i=m().$implicit;return m().moveDownClick(i),S(n.stopPropagation())}),u()}}function C5e(o,t){if(1&o){const e=j();d(0,"i",19),T("click",function(n){F(e);const i=m().$implicit;return m().moveUpClick(i),S(n.stopPropagation())}),u()}}function w5e(o,t){1&o&&(d(0,"i",20),v(1,"\xa0\xa0\xa0"),u())}function x5e(o,t){if(1&o){const e=j();d(0,"i",21),T("click",function(n){F(e);const i=m().$implicit;return m().removeClick(i),S(n.stopPropagation())}),u()}}function D5e(o,t){if(1&o){const e=j();d(0,"li",8),T("click",function(){const i=F(e).$implicit;return S(m().editClick(i))}),d(1,"div",12),v(2),u(),d(3,"div",13),b(4,b5e,1,0,"i",14),b(5,C5e,1,0,"i",15),b(6,w5e,2,0,"i",16),b(7,x5e,1,0,"i",17),u()()}if(2&o){const e=t.$implicit,r=t.index,n=m();p(2),ce(" ",e[n.displayMemberName]," "),p(2),g("ngIf",n.allowReorder&&n.items.length-1>r),p(1),g("ngIf",n.allowReorder&&r>0),p(1),g("ngIf",n.allowReorder&&0==r),p(1),g("ngIf",n.showRemove)}}let M5e=(()=>{class o{constructor(e,r){this.modalComponent=e,this.client=r,this.displayMemberName="name",this.showCancel=!1,this.showAdd=!0,this.showRemove=!1,this.allowReorder=!1,this.add=new ee,this.cancel=new ee,this.selected=new ee,this.remove=new ee}get items(){return this._items}set items(e){e&&(this._items=e)}set listResponse(e){this._listResponse=e,e&&(this.items=e.model,e.title&&(this.title=e.title))}get listResponse(){return this._listResponse}set blade(e){this._blade=e,e&&(this.listResponse=e.list,this.items=e.items)}get blade(){return this._blade}ngOnInit(){}addClick(){this.add.emit()}editClick(e){this.selected.emit(e)}cancelClick(){this.cancel.emit()}removeClick(e){var r=this;const n=this.modalComponent.open(kc,{size:"lg"}).componentInstance;n.title="Are you sure?",n.content="This item will be PERMANENTLY deleted.",n.contentIsHtml=!0,n.confirmButtonText="Proceed",n.confirmationMessage="Click 'Proceed' to delete this item.",n.isPermanent=!1,n.confirmationResult.subscribe(function(){var i=E(function*(a){if(a)if(r._listResponse?.deleteUrl){let s=r._listResponse?.deleteUrl.replace("{id}",e.id);(yield r.client.delete(s))&&r.items.splice(r.items.indexOf(e),1)}else r.items.splice(r.items.indexOf(e),1),r.remove.emit(e)});return function(a){return i.apply(this,arguments)}}())}showAddTip(e){}moveUpClick(e){let r=this.items.indexOf(e);r>0&&(this.items[r]=this.items[r-1],this.items[r-1]=e)}moveDownClick(e){let r=this.items.indexOf(e);r{class o{constructor(e){this.modalComponent=e,this.modalComponent=e}configurePropertyPickerWithCollection(e,r,n){var i=this;return E(function*(){let a=r?.map(s=>({id:s.id,key:s.key||void 0,text:s.name}))||[];i.executePopulatePicker(e,a,n),console.log("configured by NuvIoTUiUtils.configurePropertyViaCollection()",a)})()}configurePropertyPickerWithListResponse(e,r,n){var i=this;return E(function*(){let s=(yield r)?.model?.map(l=>({id:l.id,key:l.key||void 0,text:l.name}))||[];i.executePopulatePicker(e,s,n),console.log("configured by NuvIoTUiUtils.configurePropertyViaListResponse()")})()}configurePropertyPickerWithPromise(e,r,n){var i=this;return E(function*(){let s=(yield r)?.map(l=>({id:l.id,key:l.key||void 0,text:l.name}))||[];i.executePopulatePicker(e,s,n),console.log("configured by NuvIoTUiUtils.configurePropertyViaPromise()")})()}executePopulatePicker(e,r,n){var i=this;n.clearEntityHeader=()=>{n.value=void 0},n.selectEntityHeader=function(){var a=E(function*(s){if(r.length>0){const l=i.modalComponent.open(Sf,{size:"lg"}).componentInstance;l.title=e,l.items=r,l.itemSelected.subscribe(c=>{n.value=c})}else alert("Please add items to select from.")});return function(s){return a.apply(this,arguments)}}()}handleFormKeyEditability(e){null==e.isEditing&&(e.isEditing=(void 0!==e?.model?.key||void 0!==e?.model?.id)&&e?.model?.name.length>0),e.view.key.isUserEditable=!e.isEditing}}return o.\u0275fac=function(e){return new(e||o)(Z(Ut))},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({}),o})();var e9=V(5439);const Ou=e9||V.t(e9,2),t9=new me("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function T5e(){return{useUtc:!1}}});function F5e(o,t){const e=Array(o);for(let r=0;r{class o extends wn{constructor(e,r){super(),this._options=r,this.setLocale(e||Ou.locale())}setLocale(e){super.setLocale(e);let r=Ou.localeData(e);this._localeData={firstDayOfWeek:r.firstDayOfWeek(),longMonths:r.months(),shortMonths:r.monthsShort(),dates:F5e(31,n=>this.createDate(2017,0,n+1).format("D")),longDaysOfWeek:r.weekdays(),shortDaysOfWeek:r.weekdaysShort(),narrowDaysOfWeek:r.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,r,n){const i=this._createMoment({year:e,month:r,date:n}).locale(this.locale);return i.isValid(),i}today(){return this._createMoment().locale(this.locale)}parse(e,r){return e&&"string"==typeof e?this._createMoment(e,r,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,r){return e=this.clone(e),this.isValid(e),e.format(r)}addCalendarYears(e,r){return this.clone(e).add({years:r})}addCalendarMonths(e,r){return this.clone(e).add({months:r})}addCalendarDays(e,r){return this.clone(e).add({days:r})}toIso8601(e){return this.clone(e).format()}deserialize(e){let r;if(e instanceof Date)r=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;r=this._createMoment(e,Ou.ISO_8601).locale(this.locale)}return r&&this.isValid(r)?this._createMoment(r).locale(this.locale):super.deserialize(e)}isDateInstance(e){return Ou.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return Ou.invalid()}_createMoment(e,r,n){const{strict:i,useUtc:a}=this._options||{};return a?Ou.utc(e,r,n,i):Ou(e,r,n,i)}}return o.\u0275fac=function(e){return new(e||o)(Z(oL,8),Z(t9,8))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();const P5e={parse:{dateInput:"l"},display:{dateInput:"l",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let I5e=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[{provide:wn,useClass:S5e,deps:[oL,t9]}]}),o})(),A5e=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:[{provide:du,useValue:P5e}],imports:[I5e]}),o})();function r9(o){return new be(3e3,!1)}function g4e(){return typeof window<"u"&&typeof window.document<"u"}function AE(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Zc(o){switch(o.length){case 0:return new pf;case 1:return o[0];default:return new mL(o)}}function o9(o,t,e,r,n=new Map,i=new Map){const a=[],s=[];let l=-1,c=null;if(r.forEach(h=>{const _=h.get("offset"),C=_==l,k=C&&c||new Map;h.forEach((A,B)=>{let z=B,W=A;if("offset"!==B)switch(z=t.normalizePropertyName(z,a),W){case"!":W=n.get(B);break;case kl:W=i.get(B);break;default:W=t.normalizeStyleValue(B,z,W,a)}k.set(z,W)}),C||s.push(k),c=k,l=_}),a.length)throw function r4e(o){return new be(3502,!1)}();return s}function OE(o,t,e,r){switch(t){case"start":o.onStart(()=>r(e&&RE(e,"start",o)));break;case"done":o.onDone(()=>r(e&&RE(e,"done",o)));break;case"destroy":o.onDestroy(()=>r(e&&RE(e,"destroy",o)))}}function RE(o,t,e){const i=LE(o.element,o.triggerName,o.fromState,o.toState,t||o.phaseName,e.totalTime??o.totalTime,!!e.disabled),a=o._data;return null!=a&&(i._data=a),i}function LE(o,t,e,r,n="",i=0,a){return{element:o,triggerName:t,fromState:e,toState:r,phaseName:n,totalTime:i,disabled:!!a}}function ji(o,t,e){let r=o.get(t);return r||o.set(t,r=e),r}function n9(o){const t=o.indexOf(":");return[o.substring(1,t),o.slice(t+1)]}let BE=(o,t)=>!1,i9=(o,t,e)=>[],a9=null;function NE(o){const t=o.parentNode||o.host;return t===a9?null:t}(AE()||typeof Element<"u")&&(g4e()?(a9=(()=>document.documentElement)(),BE=(o,t)=>{for(;t;){if(t===o)return!0;t=NE(t)}return!1}):BE=(o,t)=>o.contains(t),i9=(o,t,e)=>{if(e)return Array.from(o.querySelectorAll(t));const r=o.querySelector(t);return r?[r]:[]});let Ru=null,s9=!1;const l9=BE,c9=i9;let d9=(()=>{class o{validateStyleProperty(e){return function f4e(o){Ru||(Ru=function _4e(){return typeof document<"u"?document.body:null}()||{},s9=!!Ru.style&&"WebkitAppearance"in Ru.style);let t=!0;return Ru.style&&!function m4e(o){return"ebkit"==o.substring(1,6)}(o)&&(t=o in Ru.style,!t&&s9&&(t="Webkit"+o.charAt(0).toUpperCase()+o.slice(1)in Ru.style)),t}(e)}matchesElement(e,r){return!1}containsElement(e,r){return l9(e,r)}getParentElement(e){return NE(e)}query(e,r,n){return c9(e,r,n)}computeStyle(e,r,n){return n||""}animate(e,r,n,i,a,s=[],l){return new pf(n,i)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})(),HE=(()=>{class o{}return o.NOOP=new d9,o})();const VE="ng-enter",J0="ng-leave",Q0="ng-trigger",eb=".ng-trigger",p9="ng-animating",$E=".ng-animating";function $l(o){if("number"==typeof o)return o;const t=o.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:zE(parseFloat(t[1]),t[2])}function zE(o,t){return"s"===t?1e3*o:o}function tb(o,t,e){return o.hasOwnProperty("duration")?o:function b4e(o,t,e){let n,i=0,a="";if("string"==typeof o){const s=o.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return t.push(r9()),{duration:0,delay:0,easing:""};n=zE(parseFloat(s[1]),s[2]);const l=s[3];null!=l&&(i=zE(parseFloat(l),s[4]));const c=s[5];c&&(a=c)}else n=o;if(!e){let s=!1,l=t.length;n<0&&(t.push(function O5e(){return new be(3100,!1)}()),s=!0),i<0&&(t.push(function R5e(){return new be(3101,!1)}()),s=!0),s&&t.splice(l,0,r9())}return{duration:n,delay:i,easing:a}}(o,t,e)}function c_(o,t={}){return Object.keys(o).forEach(e=>{t[e]=o[e]}),t}function h9(o){const t=new Map;return Object.keys(o).forEach(e=>{t.set(e,o[e])}),t}function Xc(o,t=new Map,e){if(e)for(let[r,n]of e)t.set(r,n);for(let[r,n]of o)t.set(r,n);return t}function m9(o,t,e){return e?t+":"+e+";":""}function f9(o){let t="";for(let e=0;e{const i=jE(n);e&&!e.has(n)&&e.set(n,o.style[i]),o.style[i]=r}),AE()&&f9(o))}function Lu(o,t){o.style&&(t.forEach((e,r)=>{const n=jE(r);o.style[n]=""}),AE()&&f9(o))}function d_(o){return Array.isArray(o)?1==o.length?o[0]:dL(o):o}const YE=new RegExp("{{\\s*(.+?)\\s*}}","g");function _9(o){let t=[];if("string"==typeof o){let e;for(;e=YE.exec(o);)t.push(e[1]);YE.lastIndex=0}return t}function u_(o,t,e){const r=o.toString(),n=r.replace(YE,(i,a)=>{let s=t[a];return null==s&&(e.push(function B5e(o){return new be(3003,!1)}()),s=""),s.toString()});return n==r?o:n}function rb(o){const t=[];let e=o.next();for(;!e.done;)t.push(e.value),e=o.next();return t}const x4e=/-+([a-z0-9])/g;function jE(o){return o.replace(x4e,(...t)=>t[1].toUpperCase())}function D4e(o){return o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ui(o,t,e){switch(t.type){case 7:return o.visitTrigger(t,e);case 0:return o.visitState(t,e);case 1:return o.visitTransition(t,e);case 2:return o.visitSequence(t,e);case 3:return o.visitGroup(t,e);case 4:return o.visitAnimate(t,e);case 5:return o.visitKeyframes(t,e);case 6:return o.visitStyle(t,e);case 8:return o.visitReference(t,e);case 9:return o.visitAnimateChild(t,e);case 10:return o.visitAnimateRef(t,e);case 11:return o.visitQuery(t,e);case 12:return o.visitStagger(t,e);default:throw function N5e(o){return new be(3004,!1)}()}}function v9(o,t){return window.getComputedStyle(o)[t]}function S4e(o,t){const e=[];return"string"==typeof o?o.split(/\s*,\s*/).forEach(r=>function P4e(o,t,e){if(":"==o[0]){const l=function I4e(o,t){switch(o){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,r)=>parseFloat(r)>parseFloat(e);case":decrement":return(e,r)=>parseFloat(r) *"}}(o,e);if("function"==typeof l)return void t.push(l);o=l}const r=o.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return e.push(function X5e(o){return new be(3015,!1)}()),t;const n=r[1],i=r[2],a=r[3];t.push(y9(n,a));"<"==i[0]&&!("*"==n&&"*"==a)&&t.push(y9(a,n))}(r,e,t)):e.push(o),e}const ab=new Set(["true","1"]),sb=new Set(["false","0"]);function y9(o,t){const e=ab.has(o)||sb.has(o),r=ab.has(t)||sb.has(t);return(n,i)=>{let a="*"==o||o==n,s="*"==t||t==i;return!a&&e&&"boolean"==typeof n&&(a=n?ab.has(o):sb.has(o)),!s&&r&&"boolean"==typeof i&&(s=i?ab.has(t):sb.has(t)),a&&s}}const A4e=new RegExp("s*:selfs*,?","g");function UE(o,t,e,r){return new O4e(o).build(t,e,r)}class O4e{constructor(t){this._driver=t}build(t,e,r){const n=new B4e(e);return this._resetContextStyleTimingState(n),Ui(this,d_(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let r=e.queryCount=0,n=e.depCount=0;const i=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push(function V5e(){return new be(3006,!1)}()),t.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,i.push(this.visitState(l,e))}),l.name=c}else if(1==s.type){const l=this.visitTransition(s,e);r+=l.queryCount,n+=l.depCount,a.push(l)}else e.errors.push(function $5e(){return new be(3007,!1)}())}),{type:7,name:t.name,states:i,transitions:a,queryCount:r,depCount:n,options:null}}visitState(t,e){const r=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(r.containsDynamicStyles){const i=new Set,a=n||{};r.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{_9(l).forEach(c=>{a.hasOwnProperty(c)||i.add(c)})})}),i.size&&(rb(i.values()),e.errors.push(function z5e(o,t){return new be(3008,!1)}()))}return{type:0,name:t.name,style:r,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const r=Ui(this,d_(t.animation),e);return{type:1,matchers:S4e(t.expr,e.errors),animation:r,queryCount:e.queryCount,depCount:e.depCount,options:Bu(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(r=>Ui(this,r,e)),options:Bu(t.options)}}visitGroup(t,e){const r=e.currentTime;let n=0;const i=t.steps.map(a=>{e.currentTime=r;const s=Ui(this,a,e);return n=Math.max(n,e.currentTime),s});return e.currentTime=n,{type:3,steps:i,options:Bu(t.options)}}visitAnimate(t,e){const r=function H4e(o,t){if(o.hasOwnProperty("duration"))return o;if("number"==typeof o)return WE(tb(o,t).duration,0,"");const e=o;if(e.split(/\s+/).some(i=>"{"==i.charAt(0)&&"{"==i.charAt(1))){const i=WE(0,0,"");return i.dynamic=!0,i.strValue=e,i}const n=tb(e,t);return WE(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;let n,i=t.styles?t.styles:Qr({});if(5==i.type)n=this.visitKeyframes(i,e);else{let a=t.styles,s=!1;if(!a){s=!0;const c={};r.easing&&(c.easing=r.easing),a=Qr(c)}e.currentTime+=r.duration+r.delay;const l=this.visitStyle(a,e);l.isEmptyStep=s,n=l}return e.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}visitStyle(t,e){const r=this._makeStyleAst(t,e);return this._validateStyleAst(r,e),r}_makeStyleAst(t,e){const r=[],n=Array.isArray(t.styles)?t.styles:[t.styles];for(let s of n)"string"==typeof s?s===kl?r.push(s):e.errors.push(new be(3002,!1)):r.push(h9(s));let i=!1,a=null;return r.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!i))for(let l of s.values())if(l.toString().indexOf("{{")>=0){i=!0;break}}),{type:6,styles:r,easing:a,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const r=e.currentAnimateTimings;let n=e.currentTime,i=e.currentTime;r&&i>0&&(i-=r.duration+r.delay),t.styles.forEach(a=>{"string"!=typeof a&&a.forEach((s,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),h=c.get(l);let _=!0;h&&(i!=n&&i>=h.startTime&&n<=h.endTime&&(e.errors.push(function j5e(o,t,e,r,n){return new be(3010,!1)}()),_=!1),i=h.startTime),_&&c.set(l,{startTime:i,endTime:n}),e.options&&function w4e(o,t,e){const r=t.params||{},n=_9(o);n.length&&n.forEach(i=>{r.hasOwnProperty(i)||e.push(function L5e(o){return new be(3001,!1)}())})}(s,e.options,e.errors)})})}visitKeyframes(t,e){const r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function U5e(){return new be(3011,!1)}()),r;let i=0;const a=[];let s=!1,l=!1,c=0;const h=t.steps.map(W=>{const q=this._makeStyleAst(W,e);let G=null!=q.offset?q.offset:function N4e(o){if("string"==typeof o)return null;let t=null;if(Array.isArray(o))o.forEach(e=>{if(e instanceof Map&&e.has("offset")){const r=e;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(o instanceof Map&&o.has("offset")){const e=o;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(q.styles),X=0;return null!=G&&(i++,X=q.offset=G),l=l||X<0||X>1,s=s||X0&&i<_?e.errors.push(function q5e(){return new be(3202,!1)}()):0==i&&(C=1/(_-1));const k=_-1,A=e.currentTime,B=e.currentAnimateTimings,z=B.duration;return h.forEach((W,q)=>{const G=C>0?q==k?1:C*q:a[q],X=G*z;e.currentTime=A+B.delay+X,B.duration=X,this._validateStyleAst(W,e),W.offset=G,r.styles.push(W)}),r}visitReference(t,e){return{type:8,animation:Ui(this,d_(t.animation),e),options:Bu(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Bu(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Bu(t.options)}}visitQuery(t,e){const r=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;const[i,a]=function R4e(o){const t=!!o.split(/\s*,\s*/).find(e=>":self"==e);return t&&(o=o.replace(A4e,"")),o=o.replace(/@\*/g,eb).replace(/@\w+/g,e=>eb+"-"+e.slice(1)).replace(/:animating/g,$E),[o,t]}(t.selector);e.currentQuerySelector=r.length?r+" "+i:i,ji(e.collectedStyles,e.currentQuerySelector,new Map);const s=Ui(this,d_(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=r,{type:11,selector:i,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:Bu(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function K5e(){return new be(3013,!1)}());const r="full"===t.timings?{duration:0,delay:0,easing:"full"}:tb(t.timings,e.errors,!0);return{type:12,animation:Ui(this,d_(t.animation),e),timings:r,options:null}}}class B4e{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Bu(o){return o?(o=c_(o)).params&&(o.params=function L4e(o){return o?c_(o):null}(o.params)):o={},o}function WE(o,t,e){return{duration:o,delay:t,easing:e}}function GE(o,t,e,r,n,i,a=null,s=!1){return{type:1,element:o,keyframes:t,preStyleProps:e,postStyleProps:r,duration:n,delay:i,totalTime:n+i,easing:a,subTimeline:s}}class lb{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const z4e=new RegExp(":enter","g"),j4e=new RegExp(":leave","g");function qE(o,t,e,r,n,i=new Map,a=new Map,s,l,c=[]){return(new U4e).buildKeyframes(o,t,e,r,n,i,a,s,l,c)}class U4e{buildKeyframes(t,e,r,n,i,a,s,l,c,h=[]){c=c||new lb;const _=new KE(t,e,c,n,i,h,[]);_.options=l;const C=l.delay?$l(l.delay):0;_.currentTimeline.delayNextStep(C),_.currentTimeline.setStyles([a],null,_.errors,l),Ui(this,r,_);const k=_.timelines.filter(A=>A.containsAnimation());if(k.length&&s.size){let A;for(let B=k.length-1;B>=0;B--){const z=k[B];if(z.element===e){A=z;break}}A&&!A.allowOnlyTimelineStyles()&&A.setStyles([s],null,_.errors,l)}return k.length?k.map(A=>A.buildKeyframes()):[GE(e,[],[],[],0,C,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const r=e.subInstructions.get(e.element);if(r){const n=e.createSubContext(t.options),i=e.currentTimeline.currentTime,a=this._visitSubInstructions(r,n,n.options);i!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){const r=e.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,r),this.visitReference(t.animation,r),e.transformIntoNewTimeline(r.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,r){for(const n of t){const i=n?.delay;if(i){const a="number"==typeof i?i:$l(u_(i,n?.params??{},e.errors));r.delayNextStep(a)}}}_visitSubInstructions(t,e,r){let i=e.currentTimeline.currentTime;const a=null!=r.duration?$l(r.duration):null,s=null!=r.delay?$l(r.delay):null;return 0!==a&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,a,s);i=Math.max(i,c.duration+c.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Ui(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const r=e.subContextCount;let n=e;const i=t.options;if(i&&(i.params||i.delay)&&(n=e.createSubContext(i),n.transformIntoNewTimeline(),null!=i.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=cb);const a=$l(i.delay);n.delayNextStep(a)}t.steps.length&&(t.steps.forEach(a=>Ui(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const r=[];let n=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?$l(t.options.delay):0;t.steps.forEach(a=>{const s=e.createSubContext(t.options);i&&s.delayNextStep(i),Ui(this,a,s),n=Math.max(n,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const r=t.strValue;return tb(e.params?u_(r,e.params,e.errors):r,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const r=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;r.delay&&(e.incrementTime(r.delay),n.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(r.duration),this.visitStyle(i,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const r=e.currentTimeline,n=e.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();const i=n&&n.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(i):r.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const r=e.currentAnimateTimings,n=e.currentTimeline.duration,i=r.duration,s=e.createSubContext().currentTimeline;s.easing=r.easing,t.styles.forEach(l=>{s.forwardTime((l.offset||0)*i),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(n+i),e.previousNode=t}visitQuery(t,e){const r=e.currentTimeline.currentTime,n=t.options||{},i=n.delay?$l(n.delay):0;i&&(6===e.previousNode.type||0==r&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=cb);let a=r;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((c,h)=>{e.currentQueryIndex=h;const _=e.createSubContext(t.options,c);i&&_.delayNextStep(i),c===e.element&&(l=_.currentTimeline),Ui(this,t.animation,_),_.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,_.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const r=e.parentContext,n=e.currentTimeline,i=t.timings,a=Math.abs(i.duration),s=a*(e.currentQueryTotal-1);let l=a*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=s-l;break;case"full":l=r.currentStaggerTime}const h=e.currentTimeline;l&&h.delayNextStep(l);const _=h.currentTime;Ui(this,t.animation,e),e.previousNode=t,r.currentStaggerTime=n.currentTime-_+(n.startTime-r.currentTimeline.startTime)}}const cb={};class KE{constructor(t,e,r,n,i,a,s,l){this._driver=t,this.element=e,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=i,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=cb,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new db(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const r=t;let n=this.options;null!=r.duration&&(n.duration=$l(r.duration)),null!=r.delay&&(n.delay=$l(r.delay));const i=r.params;if(i){let a=n.params;a||(a=this.options.params={}),Object.keys(i).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=u_(i[s],a,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const r=t.params={};Object.keys(e).forEach(n=>{r[n]=e[n]})}}return t}createSubContext(t=null,e,r){const n=e||this.element,i=new KE(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=cb,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,r){const n={duration:e??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},i=new W4e(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(i),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,r,n,i,a){let s=[];if(n&&s.push(this.element),t.length>0){t=(t=t.replace(z4e,"."+this._enterClassName)).replace(j4e,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=r);0!==r&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),s.push(...c)}return!i&&0==s.length&&a.push(function Z5e(o){return new be(3014,!1)}()),s}}class db{constructor(t,e,r,n){this._driver=t,this.element=e,this.startTime=r,this._elementTimelineStylesLookup=n,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new db(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,r]of this._globalTimelineStyles)this._backFill.set(e,r||kl),this._currentKeyframe.set(e,kl);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,r,n){e&&this._previousKeyframe.set("easing",e);const i=n&&n.params||{},a=function G4e(o,t){const e=new Map;let r;return o.forEach(n=>{if("*"===n){r=r||t.keys();for(let i of r)e.set(i,kl)}else Xc(n,e)}),e}(t,this._globalTimelineStyles);for(let[s,l]of a){const c=u_(l,i,r);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??kl),this._updateStyle(s,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,r)=>{const n=this._styleSummary.get(r);(!n||e.time>n.time)&&this._updateStyle(r,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,r=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((s,l)=>{const c=Xc(s,new Map,this._backFill);c.forEach((h,_)=>{"!"===h?t.add(_):h===kl&&e.add(_)}),r||c.set("offset",l/this.duration),n.push(c)});const i=t.size?rb(t.values()):[],a=e.size?rb(e.values()):[];if(r){const s=n[0],l=new Map(s);s.set("offset",0),l.set("offset",1),n=[s,l]}return GE(this.element,n,i,a,this.duration,this.startTime,this.easing,!1)}}class W4e extends db{constructor(t,e,r,n,i,a,s=!1){super(t,e,a.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],a=r+e,s=e/a,l=Xc(t[0]);l.set("offset",0),i.push(l);const c=Xc(t[0]);c.set("offset",w9(s)),i.push(c);const h=t.length-1;for(let _=1;_<=h;_++){let C=Xc(t[_]);const k=C.get("offset");C.set("offset",w9((e+k*r)/a)),i.push(C)}r=a,e=0,n="",t=i}return GE(this.element,t,this.preStyleProps,this.postStyleProps,r,e,n,!0)}}function w9(o,t=3){const e=Math.pow(10,t-1);return Math.round(o*e)/e}class ZE{}const q4e=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class K4e extends ZE{normalizePropertyName(t,e){return jE(t)}normalizeStyleValue(t,e,r,n){let i="";const a=r.toString().trim();if(q4e.has(e)&&0!==r&&"0"!==r)if("number"==typeof r)i="px";else{const s=r.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&n.push(function H5e(o,t){return new be(3005,!1)}())}return a+i}}function x9(o,t,e,r,n,i,a,s,l,c,h,_,C){return{type:0,element:o,triggerName:t,isRemovalTransition:n,fromState:e,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:_,errors:C}}const XE={};class D9{constructor(t,e,r){this._triggerName=t,this.ast=e,this._stateStyles=r}match(t,e,r,n){return function Z4e(o,t,e,r,n){return o.some(i=>i(t,e,r,n))}(this.ast.matchers,t,e,r,n)}buildStyles(t,e,r){let n=this._stateStyles.get("*");return void 0!==t&&(n=this._stateStyles.get(t?.toString())||n),n?n.buildStyles(e,r):new Map}build(t,e,r,n,i,a,s,l,c,h){const _=[],C=this.ast.options&&this.ast.options.params||XE,A=this.buildStyles(r,s&&s.params||XE,_),B=l&&l.params||XE,z=this.buildStyles(n,B,_),W=new Set,q=new Map,G=new Map,X="void"===n,oe={params:X4e(B,C),delay:this.ast.options?.delay},de=h?[]:qE(t,e,this.ast.animation,i,a,A,z,oe,c,_);let fe=0;if(de.forEach(Be=>{fe=Math.max(Be.duration+Be.delay,fe)}),_.length)return x9(e,this._triggerName,r,n,X,A,z,[],[],q,G,fe,_);de.forEach(Be=>{const $e=Be.element,nt=ji(q,$e,new Set);Be.preStyleProps.forEach(Qe=>nt.add(Qe));const ft=ji(G,$e,new Set);Be.postStyleProps.forEach(Qe=>ft.add(Qe)),$e!==e&&W.add($e)});const ye=rb(W.values());return x9(e,this._triggerName,r,n,X,A,z,de,ye,q,G,fe)}}function X4e(o,t){const e=c_(t);for(const r in o)o.hasOwnProperty(r)&&null!=o[r]&&(e[r]=o[r]);return e}class J4e{constructor(t,e,r){this.styles=t,this.defaultParams=e,this.normalizer=r}buildStyles(t,e){const r=new Map,n=c_(this.defaultParams);return Object.keys(t).forEach(i=>{const a=t[i];null!==a&&(n[i]=a)}),this.styles.styles.forEach(i=>{"string"!=typeof i&&i.forEach((a,s)=>{a&&(a=u_(a,n,e));const l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),r.set(l,a)})}),r}}class ePe{constructor(t,e,r){this.name=t,this.ast=e,this._normalizer=r,this.transitionFactories=[],this.states=new Map,e.states.forEach(n=>{this.states.set(n.name,new J4e(n.style,n.options&&n.options.params||{},r))}),M9(this.states,"true","1"),M9(this.states,"false","0"),e.transitions.forEach(n=>{this.transitionFactories.push(new D9(t,n,this.states))}),this.fallbackTransition=function tPe(o,t,e){return new D9(o,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,r,n){return this.transitionFactories.find(a=>a.match(t,e,r,n))||null}matchStyles(t,e,r){return this.fallbackTransition.buildStyles(t,e,r)}}function M9(o,t,e){o.has(t)?o.has(e)||o.set(e,o.get(t)):o.has(e)&&o.set(t,o.get(e))}const rPe=new lb;class oPe{constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const r=[],i=UE(this._driver,e,r,[]);if(r.length)throw function o4e(o){return new be(3503,!1)}();this._animations.set(t,i)}_buildPlayer(t,e,r){const n=t.element,i=o9(0,this._normalizer,0,t.keyframes,e,r);return this._driver.animate(n,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,r={}){const n=[],i=this._animations.get(t);let a;const s=new Map;if(i?(a=qE(this._driver,e,i,VE,J0,new Map,new Map,r,rPe,n),a.forEach(h=>{const _=ji(s,h.element,new Map);h.postStyleProps.forEach(C=>_.set(C,null))})):(n.push(function n4e(){return new be(3300,!1)}()),a=[]),n.length)throw function i4e(o){return new be(3504,!1)}();s.forEach((h,_)=>{h.forEach((C,k)=>{h.set(k,this._driver.computeStyle(_,k,kl))})});const c=Zc(a.map(h=>{const _=s.get(h.element);return this._buildPlayer(h,new Map,_)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const r=this.players.indexOf(e);r>=0&&this.players.splice(r,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function a4e(o){return new be(3301,!1)}();return e}listen(t,e,r,n){const i=LE(e,"","","");return OE(this._getPlayer(t),r,i,n),()=>{}}command(t,e,r,n){if("register"==r)return void this.register(t,n[0]);if("create"==r)return void this.create(t,e,n[0]||{});const i=this._getPlayer(t);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t)}}}const k9="ng-animate-queued",JE="ng-animate-disabled",lPe=[],E9={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},cPe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fa="__ng_removed";class QE{constructor(t,e=""){this.namespaceId=e;const r=t&&t.hasOwnProperty("value");if(this.value=function hPe(o){return o??null}(r?t.value:t),r){const i=c_(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const r=this.options.params;Object.keys(e).forEach(n=>{null==r[n]&&(r[n]=e[n])})}}}const p_="void",eT=new QE(p_);class dPe{constructor(t,e,r){this.id=t,this.hostElement=e,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,_a(e,this._hostClassName)}listen(t,e,r,n){if(!this._triggers.has(e))throw function s4e(o,t){return new be(3302,!1)}();if(null==r||0==r.length)throw function l4e(o){return new be(3303,!1)}();if(!function gPe(o){return"start"==o||"done"==o}(r))throw function c4e(o,t){return new be(3400,!1)}();const i=ji(this._elementListeners,t,[]),a={name:e,phase:r,callback:n};i.push(a);const s=ji(this._engine.statesByElement,t,new Map);return s.has(e)||(_a(t,Q0),_a(t,Q0+"-"+e),s.set(e,eT)),()=>{this._engine.afterFlush(()=>{const l=i.indexOf(a);l>=0&&i.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function d4e(o){return new be(3401,!1)}();return e}trigger(t,e,r,n=!0){const i=this._getTrigger(e),a=new tT(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(_a(t,Q0),_a(t,Q0+"-"+e),this._engine.statesByElement.set(t,s=new Map));let l=s.get(e);const c=new QE(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=eT),c.value!==p_&&l.value===c.value){if(!function _Pe(o,t){const e=Object.keys(o),r=Object.keys(t);if(e.length!=r.length)return!1;for(let n=0;n{Lu(t,z),Vs(t,W)})}return}const C=ji(this._engine.playersByElement,t,[]);C.forEach(B=>{B.namespaceId==this.id&&B.triggerName==e&&B.queued&&B.destroy()});let k=i.matchTransition(l.value,c.value,t,c.params),A=!1;if(!k){if(!n)return;k=i.fallbackTransition,A=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:k,fromState:l,toState:c,player:a,isFallbackTransition:A}),A||(_a(t,k9),a.onStart(()=>{qh(t,k9)})),a.onDone(()=>{let B=this.players.indexOf(a);B>=0&&this.players.splice(B,1);const z=this._engine.playersByElement.get(t);if(z){let W=z.indexOf(a);W>=0&&z.splice(W,1)}}),this.players.push(a),C.push(a),a}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,r)=>{this._elementListeners.set(r,e.filter(n=>n.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const r=this._engine.driver.query(t,eb,!0);r.forEach(n=>{if(n[fa])return;const i=this._engine.fetchNamespacesByElement(n);i.size?i.forEach(a=>a.triggerLeaveAnimation(n,e,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(t,e,r,n){const i=this._engine.statesByElement.get(t),a=new Map;if(i){const s=[];if(i.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){const h=this.trigger(t,c,p_,n);h&&s.push(h)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,a),r&&Zc(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(e&&r){const n=new Set;e.forEach(i=>{const a=i.name;if(n.has(a))return;n.add(a);const l=this._triggers.get(a).fallbackTransition,c=r.get(a)||eT,h=new QE(p_),_=new tT(this.id,a,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:a,transition:l,fromState:c,toState:h,player:_,isFallbackTransition:!0})})}}removeNode(t,e){const r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(r.totalAnimations){const i=r.players.length?r.playersByQueriedElement.get(t):[];if(i&&i.length)n=!0;else{let a=t;for(;a=a.parentNode;)if(r.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)r.markElementAsRemoved(this.id,t,!1,e);else{const i=t[fa];(!i||i===E9)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}}insertNode(t,e){_a(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(r=>{const n=r.player;if(n.destroyed)return;const i=r.element,a=this._elementListeners.get(i);a&&a.forEach(s=>{if(s.name==r.triggerName){const l=LE(i,r.triggerName,r.fromState.value,r.toState.value);l._data=t,OE(r.player,s.phase,l,s.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(r)}),this._queue=[],e.sort((r,n)=>{const i=r.transition.ast.depCount,a=n.transition.ast.depCount;return 0==i||0==a?i-a:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(r=>r.element===t)||e,e}}class uPe{constructor(t,e,r){this.bodyNode=t,this.driver=e,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(n,i)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,e){const r=new dPe(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(r,e):(this.newHostElements.set(e,r),this.collectEnterElement(e)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,e){const r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){const l=n.get(s);if(l){const c=r.indexOf(l);r.splice(c+1,0,t),a=!0;break}s=this.driver.getParentElement(s)}a||r.unshift(t)}else r.push(t);return n.set(e,t),t}register(t,e){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,e)),r}registerTrigger(t,e,r){let n=this._namespaceLookup[t];n&&n.register(e,r)&&this.totalAnimations++}destroy(t,e){if(!t)return;const r=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[t];const n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1)}),this.afterFlushAnimationsDone(()=>r.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,r=this.statesByElement.get(t);if(r)for(let n of r.values())if(n.namespaceId){const i=this._fetchNamespace(n.namespaceId);i&&e.add(i)}return e}trigger(t,e,r,n){if(ub(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,r,n),!0}return!1}insertNode(t,e,r,n){if(!ub(e))return;const i=e[fa];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){const a=this._fetchNamespace(t);a&&a.insertNode(e,r)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),_a(t,JE)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),qh(t,JE))}removeNode(t,e,r,n){if(ub(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n),r){const a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,n)}}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,r,n,i){this.collectedLeaveElements.push(e),e[fa]={namespaceId:t,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(t,e,r,n,i){return ub(e)?this._fetchNamespace(t).listen(e,r,n,i):()=>{}}_buildInstruction(t,e,r,n,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,n,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,eb,!0);e.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,$E,!0),e.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Zc(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[fa];if(e&&e.setForRemoval){if(t[fa]=E9,e.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(e.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(JE)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],e.length?Zc(e).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(t){throw function u4e(o){return new be(3402,!1)}()}_flushAnimations(t,e){const r=new lb,n=[],i=new Map,a=[],s=new Map,l=new Map,c=new Map,h=new Set;this.disabledNodes.forEach(ue=>{h.add(ue);const ge=this.driver.query(ue,".ng-animate-queued",!0);for(let Ce=0;Ce{const Ce=VE+B++;A.set(ge,Ce),ue.forEach(Ge=>_a(Ge,Ce))});const z=[],W=new Set,q=new Set;for(let ue=0;ueW.add(Ge)):q.add(ge))}const G=new Map,X=S9(C,Array.from(W));X.forEach((ue,ge)=>{const Ce=J0+B++;G.set(ge,Ce),ue.forEach(Ge=>_a(Ge,Ce))}),t.push(()=>{k.forEach((ue,ge)=>{const Ce=A.get(ge);ue.forEach(Ge=>qh(Ge,Ce))}),X.forEach((ue,ge)=>{const Ce=G.get(ge);ue.forEach(Ge=>qh(Ge,Ce))}),z.forEach(ue=>{this.processLeaveNode(ue)})});const oe=[],de=[];for(let ue=this._namespaceList.length-1;ue>=0;ue--)this._namespaceList[ue].drainQueuedTransitions(e).forEach(Ce=>{const Ge=Ce.player,yt=Ce.element;if(oe.push(Ge),this.collectedEnterElements.length){const kr=yt[fa];if(kr&&kr.setForMove){if(kr.previousTriggersValues&&kr.previousTriggersValues.has(Ce.triggerName)){const Cr=kr.previousTriggersValues.get(Ce.triggerName),io=this.statesByElement.get(Ce.element);if(io&&io.has(Ce.triggerName)){const Wi=io.get(Ce.triggerName);Wi.value=Cr,io.set(Ce.triggerName,Wi)}}return void Ge.destroy()}}const hr=!_||!this.driver.containsElement(_,yt),xe=G.get(yt),$r=A.get(yt),st=this._buildInstruction(Ce,r,$r,xe,hr);if(st.errors&&st.errors.length)return void de.push(st);if(hr)return Ge.onStart(()=>Lu(yt,st.fromStyles)),Ge.onDestroy(()=>Vs(yt,st.toStyles)),void n.push(Ge);if(Ce.isFallbackTransition)return Ge.onStart(()=>Lu(yt,st.fromStyles)),Ge.onDestroy(()=>Vs(yt,st.toStyles)),void n.push(Ge);const Jt=[];st.timelines.forEach(kr=>{kr.stretchStartingKeyframe=!0,this.disabledNodes.has(kr.element)||Jt.push(kr)}),st.timelines=Jt,r.append(yt,st.timelines),a.push({instruction:st,player:Ge,element:yt}),st.queriedElements.forEach(kr=>ji(s,kr,[]).push(Ge)),st.preStyleProps.forEach((kr,Cr)=>{if(kr.size){let io=l.get(Cr);io||l.set(Cr,io=new Set),kr.forEach((Wi,va)=>io.add(va))}}),st.postStyleProps.forEach((kr,Cr)=>{let io=c.get(Cr);io||c.set(Cr,io=new Set),kr.forEach((Wi,va)=>io.add(va))})});if(de.length){const ue=[];de.forEach(ge=>{ue.push(function p4e(o,t){return new be(3505,!1)}())}),oe.forEach(ge=>ge.destroy()),this.reportError(ue)}const fe=new Map,ye=new Map;a.forEach(ue=>{const ge=ue.element;r.has(ge)&&(ye.set(ge,ge),this._beforeAnimationBuild(ue.player.namespaceId,ue.instruction,fe))}),n.forEach(ue=>{const ge=ue.element;this._getPreviousPlayers(ge,!1,ue.namespaceId,ue.triggerName,null).forEach(Ge=>{ji(fe,ge,[]).push(Ge),Ge.destroy()})});const Be=z.filter(ue=>I9(ue,l,c)),$e=new Map;F9($e,this.driver,q,c,kl).forEach(ue=>{I9(ue,l,c)&&Be.push(ue)});const ft=new Map;k.forEach((ue,ge)=>{F9(ft,this.driver,new Set(ue),l,"!")}),Be.forEach(ue=>{const ge=$e.get(ue),Ce=ft.get(ue);$e.set(ue,new Map([...Array.from(ge?.entries()??[]),...Array.from(Ce?.entries()??[])]))});const Qe=[],lr=[],_t={};a.forEach(ue=>{const{element:ge,player:Ce,instruction:Ge}=ue;if(r.has(ge)){if(h.has(ge))return Ce.onDestroy(()=>Vs(ge,Ge.toStyles)),Ce.disabled=!0,Ce.overrideTotalTime(Ge.totalTime),void n.push(Ce);let yt=_t;if(ye.size>1){let xe=ge;const $r=[];for(;xe=xe.parentNode;){const st=ye.get(xe);if(st){yt=st;break}$r.push(xe)}$r.forEach(st=>ye.set(st,yt))}const hr=this._buildAnimation(Ce.namespaceId,Ge,fe,i,ft,$e);if(Ce.setRealPlayer(hr),yt===_t)Qe.push(Ce);else{const xe=this.playersByElement.get(yt);xe&&xe.length&&(Ce.parentPlayer=Zc(xe)),n.push(Ce)}}else Lu(ge,Ge.fromStyles),Ce.onDestroy(()=>Vs(ge,Ge.toStyles)),lr.push(Ce),h.has(ge)&&n.push(Ce)}),lr.forEach(ue=>{const ge=i.get(ue.element);if(ge&&ge.length){const Ce=Zc(ge);ue.setRealPlayer(Ce)}}),n.forEach(ue=>{ue.parentPlayer?ue.syncPlayerEvents(ue.parentPlayer):ue.destroy()});for(let ue=0;ue!hr.destroyed);yt.length?mPe(this,ge,yt):this.processLeaveNode(ge)}return z.length=0,Qe.forEach(ue=>{this.players.push(ue),ue.onDone(()=>{ue.destroy();const ge=this.players.indexOf(ue);this.players.splice(ge,1)}),ue.play()}),Qe}elementContainsData(t,e){let r=!1;const n=e[fa];return n&&n.setForRemoval&&(r=!0),this.playersByElement.has(e)&&(r=!0),this.playersByQueriedElement.has(e)&&(r=!0),this.statesByElement.has(e)&&(r=!0),this._fetchNamespace(t).elementContainsData(e)||r}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,r,n,i){let a=[];if(e){const s=this.playersByQueriedElement.get(t);s&&(a=s)}else{const s=this.playersByElement.get(t);if(s){const l=!i||i==p_;s.forEach(c=>{c.queued||!l&&c.triggerName!=n||a.push(c)})}}return(r||n)&&(a=a.filter(s=>!(r&&r!=s.namespaceId||n&&n!=s.triggerName))),a}_beforeAnimationBuild(t,e,r){const i=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,h=c!==i,_=ji(r,c,[]);this._getPreviousPlayers(c,h,a,s,e.toState).forEach(k=>{const A=k.getRealPlayer();A.beforeDestroy&&A.beforeDestroy(),k.destroy(),_.push(k)})}Lu(i,e.fromStyles)}_buildAnimation(t,e,r,n,i,a){const s=e.triggerName,l=e.element,c=[],h=new Set,_=new Set,C=e.timelines.map(A=>{const B=A.element;h.add(B);const z=B[fa];if(z&&z.removedBeforeQueried)return new pf(A.duration,A.delay);const W=B!==l,q=function fPe(o){const t=[];return P9(o,t),t}((r.get(B)||lPe).map(fe=>fe.getRealPlayer())).filter(fe=>!!fe.element&&fe.element===B),G=i.get(B),X=a.get(B),oe=o9(0,this._normalizer,0,A.keyframes,G,X),de=this._buildPlayer(A,oe,q);if(A.subTimeline&&n&&_.add(B),W){const fe=new tT(t,s,B);fe.setRealPlayer(de),c.push(fe)}return de});c.forEach(A=>{ji(this.playersByQueriedElement,A.element,[]).push(A),A.onDone(()=>function pPe(o,t,e){let r=o.get(t);if(r){if(r.length){const n=r.indexOf(e);r.splice(n,1)}0==r.length&&o.delete(t)}return r}(this.playersByQueriedElement,A.element,A))}),h.forEach(A=>_a(A,p9));const k=Zc(C);return k.onDestroy(()=>{h.forEach(A=>qh(A,p9)),Vs(l,e.toStyles)}),_.forEach(A=>{ji(n,A,[]).push(k)}),k}_buildPlayer(t,e,r){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,r):new pf(t.duration,t.delay)}}class tT{constructor(t,e,r){this.namespaceId=t,this.triggerName=e,this.element=r,this._player=new pf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,r)=>{e.forEach(n=>OE(t,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){ji(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function ub(o){return o&&1===o.nodeType}function T9(o,t){const e=o.style.display;return o.style.display=t??"none",e}function F9(o,t,e,r,n){const i=[];e.forEach(l=>i.push(T9(l)));const a=[];r.forEach((l,c)=>{const h=new Map;l.forEach(_=>{const C=t.computeStyle(c,_,n);h.set(_,C),(!C||0==C.length)&&(c[fa]=cPe,a.push(c))}),o.set(c,h)});let s=0;return e.forEach(l=>T9(l,i[s++])),a}function S9(o,t){const e=new Map;if(o.forEach(s=>e.set(s,[])),0==t.length)return e;const n=new Set(t),i=new Map;function a(s){if(!s)return 1;let l=i.get(s);if(l)return l;const c=s.parentNode;return l=e.has(c)?c:n.has(c)?1:a(c),i.set(s,l),l}return t.forEach(s=>{const l=a(s);1!==l&&e.get(l).push(s)}),e}function _a(o,t){o.classList?.add(t)}function qh(o,t){o.classList?.remove(t)}function mPe(o,t,e){Zc(e).onDone(()=>o.processLeaveNode(t))}function P9(o,t){for(let e=0;en.add(i)):t.set(o,r),e.delete(o),!0}class pb{constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(n,i)=>{},this._transitionEngine=new uPe(t,e,r),this._timelineEngine=new oPe(t,e,r),this._transitionEngine.onRemovalComplete=(n,i)=>this.onRemovalComplete(n,i)}registerTrigger(t,e,r,n,i){const a=t+"-"+n;let s=this._triggerCache[a];if(!s){const l=[],h=UE(this._driver,i,l,[]);if(l.length)throw function t4e(o,t){return new be(3404,!1)}();s=function Q4e(o,t,e){return new ePe(o,t,e)}(n,h,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,n,s)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,r,n){this._transitionEngine.insertNode(t,e,r,n)}onRemove(t,e,r,n){this._transitionEngine.removeNode(t,e,n||!1,r)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,r,n){if("@"==r.charAt(0)){const[i,a]=n9(r);this._timelineEngine.command(i,e,a,n)}else this._transitionEngine.trigger(t,e,r,n)}listen(t,e,r,n,i){if("@"==r.charAt(0)){const[a,s]=n9(r);return this._timelineEngine.listen(a,e,s,i)}return this._transitionEngine.listen(t,e,r,n,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let yPe=(()=>{class o{constructor(e,r,n){this._element=e,this._startStyles=r,this._endStyles=n,this._state=0;let i=o.initialStylesByElement.get(e);i||o.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Vs(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Vs(this._element,this._initialStyles),this._endStyles&&(Vs(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(o.initialStylesByElement.delete(this._element),this._startStyles&&(Lu(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Lu(this._element,this._endStyles),this._endStyles=null),Vs(this._element,this._initialStyles),this._state=3)}}return o.initialStylesByElement=new WeakMap,o})();function rT(o){let t=null;return o.forEach((e,r)=>{(function bPe(o){return"display"===o||"position"===o})(r)&&(t=t||new Map,t.set(r,e))}),t}class A9{constructor(t,e,r,n){this.element=t,this.keyframes=e,this.options=r,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(r=>{e.push(Object.fromEntries(r))}),e}_triggerWebAnimation(t,e,r){return t.animate(this._convertKeyframesToObject(e),r)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,n)=>{"offset"!==n&&t.set(n,this._finished?r:v9(this.element,n))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}}class CPe{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return l9(t,e)}getParentElement(t){return NE(t)}query(t,e,r){return c9(t,e,r)}computeStyle(t,e,r){return window.getComputedStyle(t)[e]}animate(t,e,r,n,i,a=[]){const l={duration:r,delay:n,fill:0==n?"both":"forwards"};i&&(l.easing=i);const c=new Map,h=a.filter(k=>k instanceof A9);(function M4e(o,t){return 0===o||0===t})(r,n)&&h.forEach(k=>{k.currentSnapshot.forEach((A,B)=>c.set(B,A))});let _=function C4e(o){return o.length?o[0]instanceof Map?o:o.map(t=>h9(t)):[]}(e).map(k=>Xc(k));_=function k4e(o,t,e){if(e.size&&t.length){let r=t[0],n=[];if(e.forEach((i,a)=>{r.has(a)||n.push(a),r.set(a,i)}),n.length)for(let i=1;ia.set(s,v9(o,s)))}}return t}(t,_,c);const C=function vPe(o,t){let e=null,r=null;return Array.isArray(t)&&t.length?(e=rT(t[0]),t.length>1&&(r=rT(t[t.length-1]))):t instanceof Map&&(e=rT(t)),e||r?new yPe(o,e,r):null}(t,_);return new A9(t,_,l,C)}}let wPe=(()=>{class o extends lL{constructor(e,r){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(r.body,{id:"0",encapsulation:Ti.None,styles:[],data:{animation:[]}})}build(e){const r=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?dL(e):e;return O9(this._renderer,null,r,"register",[n]),new xPe(r,this._renderer)}}return o.\u0275fac=function(e){return new(e||o)(Z(Tp),Z(bt))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();class xPe extends class jae{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new DPe(this._id,t,e||{},this._renderer)}}class DPe{constructor(t,e,r,n){this.id=t,this.element=e,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return O9(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function O9(o,t,e,r,n){return o.setProperty(t,`@@${e}:${r}`,n)}const R9="@.disabled";let MPe=(()=>{class o{constructor(e,r,n){this.delegate=e,this.engine=r,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(i,a)=>{const s=a?.parentNode(i);s&&a.removeChild(s,i)}}createRenderer(e,r){const i=this.delegate.createRenderer(e,r);if(!(e&&r&&r.data&&r.data.animation)){let h=this._rendererCache.get(i);return h||(h=new L9("",i,this.engine),this._rendererCache.set(i,h)),h}const a=r.id,s=r.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const l=h=>{Array.isArray(h)?h.forEach(l):this.engine.registerTrigger(a,s,e,h.name,h)};return r.data.animation.forEach(l),new kPe(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,r,n){e>=0&&er(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(i=>{const[a,s]=i;a(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return o.\u0275fac=function(e){return new(e||o)(Z(Tp),Z(pb),Z(ct))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})();class L9{constructor(t,e,r){this.namespaceId=t,this.delegate=e,this.engine=r,this.destroyNode=this.delegate.destroyNode?n=>e.destroyNode(n):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,r,n=!0){this.delegate.insertBefore(t,e,r),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,r){this.engine.onRemove(this.namespaceId,e,this.delegate,r)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,r,n){this.delegate.setAttribute(t,e,r,n)}removeAttribute(t,e,r){this.delegate.removeAttribute(t,e,r)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,r,n){this.delegate.setStyle(t,e,r,n)}removeStyle(t,e,r){this.delegate.removeStyle(t,e,r)}setProperty(t,e,r){"@"==e.charAt(0)&&e==R9?this.disableAnimations(t,!!r):this.delegate.setProperty(t,e,r)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,r){return this.delegate.listen(t,e,r)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class kPe extends L9{constructor(t,e,r,n){super(e,r,n),this.factory=t,this.namespaceId=e}setProperty(t,e,r){"@"==e.charAt(0)?"."==e.charAt(1)&&e==R9?this.disableAnimations(t,r=void 0===r||!!r):this.engine.process(this.namespaceId,t,e.slice(1),r):this.delegate.setProperty(t,e,r)}listen(t,e,r){if("@"==e.charAt(0)){const n=function EPe(o){switch(o){case"body":return document.body;case"document":return document;case"window":return window;default:return o}}(t);let i=e.slice(1),a="";return"@"!=i.charAt(0)&&([i,a]=function TPe(o){const t=o.indexOf(".");return[o.substring(0,t),o.slice(t+1)]}(i)),this.engine.listen(this.namespaceId,n,i,a,s=>{this.factory.scheduleListenerCallback(s._data||-1,r,s)})}return this.delegate.listen(t,e,r)}}const B9=[{provide:lL,useClass:wPe},{provide:ZE,useFactory:function SPe(){return new K4e}},{provide:pb,useClass:(()=>{class o extends pb{constructor(e,r,n,i){super(e.body,r,n)}ngOnDestroy(){this.flush()}}return o.\u0275fac=function(e){return new(e||o)(Z(bt),Z(HE),Z(ZE),Z(hc))},o.\u0275prov=se({token:o,factory:o.\u0275fac}),o})()},{provide:Tp,useFactory:function PPe(o,t,e){return new MPe(o,t,e)},deps:[iy,pb,ct]}],oT=[{provide:HE,useFactory:()=>new CPe},{provide:uc,useValue:"BrowserAnimations"},...B9],N9=[{provide:HE,useClass:d9},{provide:uc,useValue:"NoopAnimations"},...B9];let H9=(()=>{class o{static withConfig(e){return{ngModule:o,providers:e.disableAnimations?N9:oT}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({providers:oT,imports:[Xw]}),o})(),IPe=(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ne({type:o,selectors:[["app-preformatted-html-renderer"]],inputs:{html:"html"},decls:2,vars:3,consts:[[3,"innerHtml"]],template:function(e,r){1&e&&(P(0,"div",0),xr(1,"preformattedHtml")),2&e&&g("innerHtml",Dr(1,1,r.html),yn)},dependencies:[n1],styles:["p[_ngcontent-%COMP%]{margin-bottom:0!important;background-color:#ff0}"]}),o})();function APe(o,t){if(1&o&&(d(0,"div")(1,"h3"),P(2,"nuv-icon",1),v(3),u(),d(4,"div",2)(5,"h4"),v(6,"Definition"),u(),P(7,"app-preformatted-html-renderer",3),u(),d(8,"div",2)(9,"h4"),v(10,"Example"),u(),P(11,"app-preformatted-html-renderer",3),u()()),2&o){const e=m();p(2),g("iconName",e.term.icon),p(1),ce(" ",e.term.name,""),p(4),g("html",e.term.definition),p(4),g("html",e.term.example)}}let OPe=(()=>{class o{constructor(e,r){this._renderer2=e,this._document=r,this.openInNewWindow=!0}set glossary(e){}set term(e){console.log("this is term",e),this._term=e;let r=this.openInNewWindow?'target="_blank"':"",n=e.definition.matchAll(/href="\.?\/?(\w+(\.md)?)"/g);for(let i of n)console.log(i[0],i[1]),this.term.definition=this.term.definition.replace(i[0],`class='child-term' href="/contentmanagement/glossary/${e.glossary.id}/view/${i[1]}" ${r}`);n=e.example.matchAll(/href="\.?\/?(\w+(\.md)?)"/g);for(let i of n)this.term.example=this.term.example.replace(i[0],`class='child-term' href="/contentmanagement/glossary/${e.glossary.id}/view/${i[1]}" ${r}`)}get term(){return this._term}showTerm(e){console.log(e)}ngOnInit(){let e=this._renderer2.createElement("script");e.type="application/ld+json",e.text="\n function showTerm(termKey) {\n alert(')\n \n }\n ",this._renderer2.appendChild(this._document.body,e)}}return o.\u0275fac=function(e){return new(e||o)(O(Li),O(bt))},o.\u0275cmp=ne({type:o,selectors:[["app-glossary-term-viewer"]],inputs:{glossary:"glossary",openInNewWindow:"openInNewWindow",term:"term"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"iconName"],[2,"margin-top","30px"],[3,"html"]],template:function(e,r){1&e&&b(0,APe,12,4,"div",0),2&e&&g("ngIf",r.term)},dependencies:[Mh,ve,IPe],styles:["[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}a.child-term[_ngcontent-%COMP%]{color:var(--color-nav-link)!important}a.child-term[_ngcontent-%COMP%]:hover{color:var(--color-nav-link-active)!important;text-decoration:underline}"]}),o})();function RPe(o,t){if(1&o&&(d(0,"li")(1,"label",9),P(2,"nuv-icon",10),v(3),u()()),2&o){const e=t.$implicit;p(2),g("iconName",e.icon),p(1),ce(" ",e.name,"")}}function LPe(o,t){if(1&o&&(d(0,"div",7)(1,"h3"),v(2,"Guides"),u(),d(3,"ul"),b(4,RPe,4,2,"li",8),u()()),2&o){const e=m(2);p(4),g("ngForOf",e.guides)}}function BPe(o,t){if(1&o){const e=j();d(0,"li")(1,"label",11),T("click",function(){const i=F(e).$implicit;return S(m(3).showVideo(i))}),P(2,"nuv-icon",10),v(3),u()()}if(2&o){const e=t.$implicit;p(2),g("iconName",e.icon),p(1),ce(" ",e.name,"")}}function NPe(o,t){if(1&o&&(d(0,"div",7)(1,"h3"),v(2,"Videos"),u(),d(3,"ul"),b(4,BPe,4,2,"li",8),u()()),2&o){const e=m(2);p(4),g("ngForOf",e.videos)}}function HPe(o,t){if(1&o&&(d(0,"li")(1,"label",12),P(2,"nuv-icon",10),d(3,"a",13),v(4),u()()()),2&o){const e=t.$implicit;p(2),g("iconName",e.icon),p(1),Ne("href",e.url,Zo),p(1),ae(e.name)}}function VPe(o,t){if(1&o&&(d(0,"div",7)(1,"h3"),v(2,"Web Resource"),u(),d(3,"ul"),b(4,HPe,5,3,"li",8),u()()),2&o){const e=m(2);p(4),g("ngForOf",e.links)}}function $Pe(o,t){if(1&o){const e=j();d(0,"i",19),T("click",function(){return F(e),S(m().$implicit.visible=!1)}),u()}}function zPe(o,t){if(1&o){const e=j();d(0,"i",20),T("click",function(){return F(e),S(m().$implicit.visible=!0)}),u()}}function YPe(o,t){1&o&&P(0,"div",21),2&o&&g("innerHTML",m().$implicit.htmlContent,yn)}function jPe(o,t){if(1&o&&(d(0,"li")(1,"h4"),P(2,"nuv-icon",10),v(3),d(4,"div",15),b(5,$Pe,1,0,"i",16),b(6,zPe,1,0,"i",17),u()(),b(7,YPe,1,1,"div",18),u()),2&o){const e=t.$implicit;p(2),g("iconName",e.icon),p(1),ce(" ",e.name," "),p(2),g("ngIf",e.visible),p(1),g("ngIf",!e.visible),p(1),g("ngIf",e.visible)}}function UPe(o,t){if(1&o&&(d(0,"div",14)(1,"ul"),b(2,jPe,8,5,"li",8),u()()),2&o){const e=m(2);p(2),g("ngForOf",e.htmlNotes)}}function WPe(o,t){if(1&o){const e=j();d(0,"li")(1,"label",11),T("click",function(){const i=F(e).$implicit;return S(m(3).showTerm(i))}),v(2),u()()}if(2&o){const e=t.$implicit;p(2),ae(e.text)}}function GPe(o,t){if(1&o&&(d(0,"div",7)(1,"h3"),v(2,"Terms"),u(),d(3,"ul"),b(4,WPe,3,1,"li",8),u()()),2&o){const e=m(2);p(4),g("ngForOf",e.terms)}}function qPe(o,t){if(1&o&&(d(0,"div"),P(1,"iframe",22),xr(2,"safeNuviotLink"),u()),2&o){const e=m(2);p(1),g("src",Dr(2,1,e.videoLink),L2)}}function KPe(o,t){if(1&o&&(d(0,"div"),P(1,"app-glossary-term-viewer",23),u()),2&o){const e=m(2);p(1),g("term",e.term)}}function ZPe(o,t){if(1&o&&(d(0,"div")(1,"h1"),P(2,"nuv-icon",2),v(3),u(),P(4,"div",3),d(5,"div",4),b(6,LPe,5,1,"div",5),b(7,NPe,5,1,"div",5),b(8,VPe,5,1,"div",5),b(9,UPe,3,1,"div",6),b(10,GPe,5,1,"div",5),u(),b(11,qPe,3,3,"div",1),b(12,KPe,2,1,"div",1),u()),2&o){const e=m();p(2),g("iconName",e.help.icon),p(1),ae(e.help.name),p(1),g("innerHTML",e.help.description,yn),p(2),g("ngIf",e.guides.length>0),p(1),g("ngIf",e.videos.length>0),p(1),g("ngIf",e.links.length>0),p(1),g("ngIf",e.htmlNotes.length>0),p(1),g("ngIf",e.terms.length>0),p(1),g("ngIf",e.videoLink),p(1),g("ngIf",e.term)}}let XPe=(()=>{class o{constructor(e){this.glossaryService=e}ngOnInit(){this.guides=this.help.helpResources.filter(r=>"guide"==r.resourceType.key),this.videos=this.help.helpResources.filter(r=>"video"==r.resourceType.key),this.links=this.help.helpResources.filter(r=>"weblink"==r.resourceType.key),this.htmlNotes=this.help.helpResources.filter(r=>"note"==r.resourceType.key);let e=this.help.helpResources.filter(r=>"terms"==r.resourceType.key);this.terms=[];for(let r of e)this.terms=this.terms.concat(r.terms);this.terms=this.terms.sort((r,n)=>r.text.localeCompare(n.text)),console.log(this.terms)}showHelpResource(e){console.log(e)}showTerm(e){var r=this;return E(function*(){if(r.videoLink=void 0,r._selectedTermId!=e.id){r._selectedTermId=e.id;var n=e.id.substring(0,32),i=e.id.substring(32);r.term=yield r.glossaryService.getTerm(n,i)}})()}showVideo(e){this.term=void 0,this.videoLink=e.url}}return o.\u0275fac=function(e){return new(e||o)(O(KM))},o.\u0275cmp=ne({type:o,selectors:[["app-help-resource-viewer"]],inputs:{help:"help"},decls:2,vars:1,consts:[[2,"margin","30px"],[4,"ngIf"],["fontSize","32px",3,"iconName"],[3,"innerHTML"],[2,"display","flex","flex-wrap","wrap"],["style","max-width:1024px",4,"ngIf"],["style","width:100%",4,"ngIf"],[2,"max-width","1024px"],[4,"ngFor","ngForOf"],[1,"action"],["fontSize","24px",3,"iconName"],[1,"action",3,"click"],[1,"action",2,"font-size","24px"],["target","_blank",3,"href"],[2,"width","100%"],[2,"float","right"],["class","fa fa-chevron-up",3,"click",4,"ngIf"],["class","fa fa-chevron-down",3,"click",4,"ngIf"],["class","help-content",3,"innerHTML",4,"ngIf"],[1,"fa","fa-chevron-up",3,"click"],[1,"fa","fa-chevron-down",3,"click"],[1,"help-content",3,"innerHTML"],["width","960","height","512","webkitallowfullscreen","","mozallowfullscreen","","allowfullscreen","",3,"src"],[3,"term"]],template:function(e,r){1&e&&(d(0,"div",0),b(1,ZPe,13,10,"div",1),u()),2&e&&(p(1),g("ngIf",r.help))},dependencies:[Mh,gt,ve,OPe,z6],styles:["[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg:var(--color-gray-5);--color-bg-panel: #fff;--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-80);--color-bg-list-separator: var(--color-gray-100);--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-10);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-primary-40);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(--color-accent);--color-fg-panel-link-active: var(--color-accent-125);--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-35);--color-fg-panel-header-active: #fff;--color-fg-panel-active: var(--color-accent2-125)}[_ngcontent-%COMP%]:root{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/light-bg-tile.png);--color-bg: #fff;--color-bg-panel: var(--color-gray-5);--color-bg-panel-active: var(--color-gray-2);--color-bg-menu: var(--color-primary);--color-bg-submenu: var(--color-primary-80);--color-bg-panel-header: var(--color-primary);--color-bg-drop: var(--color-accent2-125);--color-bg-menu-active: var(--color-gray-20);--color-bg-list-separator: black;--color-bg-list-row: var(--color-gray-2);--color-bg-list-alt-row: var(--color-gray-5);--color-bg-list-row-hover: var(--color-gray-20);--color-fg-list-row: var(--color-gray-80);--color-fg-list-alt-row: var(--color-gray-95);--color-fg-list-row-hover: var(--color-gray-100);--color-fg: var(--color-gray-100);--color-main-heading:var(--color-gray-100);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel: var(--color-fg);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-35);--color-border-panel: var(--color-gray-50);--color-border-menu: var(--color-gray-2);--color-primary-border: var(--color-primary-40);--color-accent-border: var(--color-accent);--color-fg-panel-link: var(var(--color-accent));--color-fg-panel-link-active: var(var(--color-accent-125));--color-fg-menu: var(--color-gray-20);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-primary-80);--color-nav-link-active: var(--color-primary);--color-primary-button: var(--color-accent2-125);--color-primary-button-hover: var(--color-accent2-60);--color-accent-button: var(--color-accent2);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent2-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: #c0c0c0;--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}body.dark-theme[_ngcontent-%COMP%]{--color-primary: #1976D2;--color-primary-10: #E8F2FB;--color-primary-20: #D1E4F6;--color-primary-40: #A3C8ED;--color-primary-60: #75ADE4;--color-primary-80: #4791DB;--color-primary-125: #13589D;--color-primary-150: #0C3B69;--color-primary-175: #061D34;--color-accent: #D48D17;--color-accent-10: #FBF4E8;--color-accent-20: #F6E8D1;--color-accent-40: #EED1A2;--color-accent-60: #E5BB74;--color-accent-80: #DDA445;--color-accent-125: #9F6A11;--color-accent-150: #6A460B;--color-accent-175: #352306;--color-accent1: #681DD6;--color-accent1-10: #F0E9FB;--color-accent1-20: #E1D2F7;--color-accent1-40: #C3A5EF;--color-accent1-60: #A477E6;--color-accent1-80: #864ADE;--color-accent1-125: #4E16A0;--color-accent1-150: #340E6B;--color-accent1-175: #1A0735;--color-accent2: #1CBA88;--color-accent2-10: #E8F2FB;--color-accent2-20: #D2F1E7;--color-accent2-40: #A4E3CF;--color-accent2-60: #77D6B8;--color-accent2-80: #49C8A0;--color-accent2-125: #158B66;--color-accent2-150: #0E5D44;--color-accent2-175: #072E22;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(https://www.nuviot.com/images/nuviot-white.png);--sl-logo-image: url(https://webimages.nyc3.cdn.digitaloceanspaces.com/public/sftlog-large-white.png);--page-bg-tile-image: url(https://www.nuviot.com/images/dark-bg-tile.png);--color-bg: var(--color-gray-100);--color-bg-panel: var(--color-primary-150);--color-bg-panel-active: var(--color-primary-125);--color-bg-menu: var(--color-primary-175);--color-bg-submenu: var(--color-primary-150);--color-bg-panel-header: var(--color-gray-95);--color-bg-drop: var(--color-primary-125);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: var(--color-gray-50);--color-bg-list-row: var(--color-gray-80);--color-bg-list-alt-row: var(--color-gray-95);--color-bg-list-row-hover: var(--color-gray-65);--color-fg-list-row: var(--color-gray-5);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: #fff;--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-gray-80);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu: var(--color-gray-10);--color-fg-menu-active: var(--color-gray-2);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-primary-125);--color-primary-button-hover: var(--color-primary-150);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-gray-80);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent2-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(--color-gray-80)}body.custom-theme[_ngcontent-%COMP%]{--color-primary: #B4626B;--color-primary-10: #F8EFF0;--color-primary-20: #F0E0E1;--color-primary-40: #E1C0C4;--color-primary-60: #D2A1A6;--color-primary-80: #C38189;--color-primary-125: #874A50;--color-primary-150: #5A3136;--color-primary-175: #2D191B;--color-accent: #7E5D5C;--color-accent-10: #F2EFEF;--color-accent-20: #E5DFDE;--color-accent-40: #CBBEBE;--color-accent-60: #B29E9D;--color-accent-80: #987D7D;--color-accent-125: #5F4645;--color-accent-150: #3F2F2E;--color-accent-175: #201717;--color-accent1: #5AC0C6;--color-accent1-10: #EFF9F9;--color-accent1-20: #DEF2F4;--color-accent1-40: #BDE6E8;--color-accent1-60: #9CD9DD;--color-accent1-80: #7BCDD1;--color-accent1-125: #449095;--color-accent1-150: #2D6063;--color-accent1-175: #173032;--color-accent2: #103A4C;--color-accent2-10: #E7EBED;--color-accent2-20: #CFD8DB;--color-accent2-40: #9FB0B7;--color-accent2-60: #708994;--color-accent2-80: #406170;--color-accent2-125: #0C2C39;--color-accent2-150: #081D26;--color-accent2-175: #040F13;--color-alert-success: #27A752;--color-alert-warning: #DFB42F;--color-alert-error: #E5463B;--color-danger: var(--color-alert-error);--color-gray-100: #222222;--color-gray-95: #2D2D2D;--color-gray-80: #4E4E4E;--color-gray-65: #6F6F6F;--color-gray-50: #919191;--color-gray-35: #B2B2B2;--color-gray-20: #D3D3D3;--color-gray-10: #E9E9E9;--color-gray-5: #F4F4F4;--color-gray-2: #FBFBFB;--logo-image: url(/app/ui-shared/assets/nuviot-white.png);--color-bg: var(--color-primary-175);--color-bg-panel: var(--color-primary-125);--color-bg-panel-active: var(--color-primary-150);--color-bg-menu: var(--color-primary-150);--color-bg-submenu: var(--color-primary-125);--color-bg-panel-header: var(--color-accent1-150);--color-bg-drop: var(--color-accent1-150);--color-bg-menu-active: var(--color-primary-175);--color-bg-list-separator: black;--color-bg-list-row: var(--color-primary-125);--color-bg-list-alt-row: var(--color-primary-150);--color-bg-list-row-hover: var(--color-primary-175);--color-fg-list-row: var(--color-gray-10);--color-fg-list-alt-row: var(--color-gray-5);--color-fg-list-row-hover: var(--color-gray-2);--color-fg: var(--color-gray-2);--color-fg-panel: var(--color-gray-2);--color-main-heading:var(--color-gray-2);--color-primary-heading: var(--color-primary);--color-accent-heading: var(--color-gray-2);--color-fg-panel-header: var(--color-gray-2);--color-fg-menu: var(--color-gray-2);--color-small-text: var(--color-gray-10);--color-placeholder-text: var(--color-gray-10);--color-border-panel: var(--color-primary-60);--color-border-menu: var(--color-primary-60);--color-primary-border: var(--color-primary);--color-accent-border: var(--color-accent1-20);--color-fg-panel-link: var(--color-primary-20);--color-fg-panel-link-active: var(--color-primary-40);--color-fg-menu-active: var(--color-primary-10);--color-nav-link: var(--color-gray-2);--color-nav-link-active: var(--color-gray-20);--color-primary-button: var(--color-accent1-150);--color-primary-button-hover: var(--color-accent1-125);--color-accent-button: var(--color-accent);--color-gray-button: var(--color-gray-100);--color-accent-button-hover: var(--color-accent-60);--color-filled-button-text: var(--color-gray-2);--color--outline-button-text: var(--color-gray-100);--color-main-icon: var(--color-gray-2);--color-primary-icon: var(--color-primary);--color-accent1-icon: var(--color-accent);--color-accent2-icon: var(--color-accent2);--color-accent3-icon: var(--color-accent3);--color-shadow-panel: var(--color-gray-100);--color-fg-panel-header-active: var(--color-gray-2);--color-fg-panel-active: var(---color-accent2-125)}ul[_ngcontent-%COMP%]{padding:0;list-style:none}label[_ngcontent-%COMP%]{font-size:24px}.help-content[_ngcontent-%COMP%]{background:var(--color-bg);color:var(--color-fg);padding:10px;box-shadow:0 4px 8px #0003,0 6px 20px #00000030;margin-bottom:20px}"]}),o})();var Jc=(()=>{return(o=Jc||(Jc={})).AM="AM",o.PM="PM",Jc;var o})(),ss=(()=>{return(o=ss||(ss={})).TWELVE="hh:mm a",o.TWELVE_SHORT="h:m a",o.TWENTY_FOUR="HH:mm",o.TWENTY_FOUR_SHORT="H:m",ss;var o})();function iT(o,t,e="minutes"){return"hours"===e?o.hour>=t.hour:"minutes"===e?o.hasSame(t,e)||o.valueOf()>t.valueOf():void 0}function aT(o,t,e="minutes"){return"hours"===e?o.hour<=t.hour:"minutes"===e?o.hasSame(t,e)||o.valueOf()<=t.valueOf():void 0}let Nu=(()=>{class o{static parseTime(e,r){const{numberingSystem:n,locale:i}=o.getLocaleOptionsByTime(e,r),s=2===e.split(" ").length?ss.TWELVE_SHORT:ss.TWENTY_FOUR_SHORT;return At.fromFormat(e,s,{numberingSystem:n,locale:i})}static formatTime(e,r){if(!e)return"Invalid Time";const{format:n}=r,i=o.parseTime(e,r).setLocale(o.DEFAULT_LOCALE);return i.isValid?24!==n?i.toLocaleString(Object.assign(Object.assign({},At.TIME_SIMPLE),{hour12:24!==n,numberingSystem:o.DEFAULT_NUMBERING_SYSTEM})).replace(/\u200E/g,"").replace(/\u202F/g," "):i.toISOTime({includeOffset:!1,suppressMilliseconds:!0,suppressSeconds:!0}).replace(/\u200E/g,"").replace(/\u202F/g," "):null}static toLocaleTimeString(e,r={}){const{format:n=o.DEFAULT_FORMAT,locale:i=o.DEFAULT_LOCALE}=r,a=24===n?"h23":"h12",s=Object.assign(Object.assign({},At.TIME_SIMPLE),{hourCycle:a}),l=24===n?ss.TWENTY_FOUR_SHORT:ss.TWELVE_SHORT,c=Object.assign({locale:r.locale,numberingSystem:r.numberingSystem},s);return At.fromFormat(e,l).setLocale(i).toLocaleString(c).replace(/\u202F/g," ")}static isTimeAvailable(e,r,n,i,a,s){if(!e)return;const l=this.parseTime(e,{format:s}),c=l.minute;if(a&&c==c&&c%a!=0)throw new Error(`Your minutes - ${c} doesn't match your minutesGap - ${a}`);const h=r&&!n&&iT(l,r,i),_=n&&!r&&aT(l,n,i),C=r&&n&&function uIe(o,t,e,r="minutes"){return"hours"===r?aT(o,e,r)&&iT(o,t,r):"minutes"===r?aT(o,e)&&iT(o,t):void 0}(l,r,n,i);return h||_||C||!r&&!n}static formatHour(e,r,n){if(24===r)return e;const i=n===Jc.AM?e:e+12;return n===Jc.AM&&12===i?0:n===Jc.PM&&24===i?12:i}static fromDateTimeToString(e,r){const n=24===r?ss.TWENTY_FOUR:ss.TWELVE;return e.reconfigure({numberingSystem:o.DEFAULT_NUMBERING_SYSTEM,locale:o.DEFAULT_LOCALE}).toFormat(n).replace(/\u202F/g," ")}static getLocaleOptionsByTime(e,r){const n={numberingSystem:r.numberingSystem,locale:r.locale},i={numberingSystem:o.DEFAULT_NUMBERING_SYSTEM,locale:o.DEFAULT_LOCALE};return isNaN(parseInt(e,10))?n:i}}return o.DEFAULT_FORMAT=12,o.DEFAULT_LOCALE="en-US",o.DEFAULT_NUMBERING_SYSTEM="latn",o})();const pIe=new me("TimeLocale",{providedIn:"root",factory:()=>Nu.DEFAULT_LOCALE}),hIe=new me("NumberingSystem",{providedIn:"root",factory:()=>Nu.DEFAULT_NUMBERING_SYSTEM});let mIe=(()=>{class o{static setOpts(e,r=Nu.DEFAULT_NUMBERING_SYSTEM){return{ngModule:o,providers:[{provide:pIe,useValue:e},{provide:hIe,useValue:r}]}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[[Nr,Ts,kx]]}),o})(),fIe=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Nr,Ts,kx,$D]}),o})();function _Ie(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m(3).exportForm())}),P(1,"i",14),v(2,"Export"),u()}}function vIe(o,t){if(1&o){const e=j();d(0,"span",10),T("click",function(){return F(e),S(m(3).importForm())}),P(1,"i",15),v(2,"Import"),u()}}function yIe(o,t){if(1&o){const e=j();d(0,"div")(1,"label"),v(2),u(),d(3,"div",9)(4,"span",10),T("click",function(){return F(e),S(m(2).saveForm())}),P(5,"i",11),v(6,"Save"),u(),d(7,"span",10),T("click",function(){return F(e),S(m(2).cancelForm())}),P(8,"i",12),v(9,"Cancel"),u(),b(10,_Ie,3,0,"span",13),b(11,vIe,3,0,"span",13),u()()}if(2&o){const e=m(2);p(2),ae(e.title),p(8),g("ngIf",e.canExport),p(1),g("ngIf",e.importObjectName)}}function bIe(o,t){if(1&o){const e=j();d(0,"span",18),T("click",function(){return S(F(e).$implicit.click())}),P(1,"i"),v(2),u()}if(2&o){const e=t.$implicit;p(1),Wn(e.icon),p(1),ae(e.title)}}function CIe(o,t){if(1&o&&(d(0,"div",16)(1,"label"),v(2),u(),d(3,"div",9),b(4,bIe,3,4,"span",17),u()()),2&o){const e=m(2);p(2),ae(e.headerExtension.title),p(2),g("ngForOf",e.headerExtension.actions)}}function wIe(o,t){if(1&o&&(d(0,"div",19),v(1),u()),2&o){const e=m(2);p(1),ae(e.summary)}}const xIe=function(o){return{width:o}};function DIe(o,t){if(1&o&&(d(0,"div"),v(1),d(2,"div",25),P(3,"div",26),u()()),2&o){const e=m(3);p(1),ce(" ",e.fileNameOrStatus," "),p(2),g("ngStyle",St(2,xIe,e.uploader.progress+"%"))}}const MIe=function(o){return{"nv-file-over":o}};function kIe(o,t){if(1&o){const e=j();d(0,"div",20)(1,"span",21),T("fileOver",function(n){return F(e),S(m(2).fileOverBase(n))}),P(2,"i",22),u(),d(3,"span",23)(4,"span"),v(5,"Select File"),u(),P(6,"input",24),u(),b(7,DIe,4,4,"div",2),u()}if(2&o){const e=m(2);p(1),g("ngClass",St(4,MIe,e.hasBaseDropZoneOver))("uploader",e.uploader),p(5),g("uploader",e.uploader),p(1),g("ngIf",e.fileNameOrStatus)}}function EIe(o,t){if(1&o&&P(0,"app-form-field",29),2&o){const e=t.$implicit,r=m(3);g("field",e)("model",r.model)("view",r.view)}}function TIe(o,t){if(1&o&&(d(0,"div",27),b(1,EIe,1,3,"app-form-field",28),Wr(2),u()),2&o){const e=m(2);p(1),g("ngForOf",e.fields)}}function FIe(o,t){if(1&o&&(d(0,"div",1),b(1,yIe,12,3,"div",2),b(2,CIe,5,2,"div",3),d(3,"div",4),P(4,"div",5),b(5,wIe,2,1,"div",6),b(6,kIe,8,6,"div",7),b(7,TIe,3,1,"div",8),u()()),2&o){const e=m();p(1),g("ngIf",!e.hideToolBar),p(1),g("ngIf",e.headerExtension),p(3),g("ngIf",e.summary),p(1),g("ngIf",e.uploader&&e.isImporting),p(1),g("ngIf",!e.isImporting)}}const SIe=[[["footer"]]],PIe=["footer"];let IIe=(()=>{class o extends LB{constructor(e,r,n,i,a,s,l,c,h){super(e,r,n,i,a,s,l,c,h),super.readOnlyNameAndKey=!1}set blade(e){this._blade=e,e&&(this.form=e.form)}get blade(){return this._blade}}return o.\u0275fac=function(e){return new(e||o)(O(Ft),O(_o),O(qr),O(K1),O(Z1),O(X1),O(jd),O(Ut),O(qM))},o.\u0275cmp=ne({type:o,selectors:[["app-blade-form"]],inputs:{blade:"blade"},features:[Te],ngContentSelectors:PIe,decls:1,vars:1,consts:[["class","blade",4,"ngIf"],[1,"blade"],[4,"ngIf"],["class","blade-header",4,"ngIf"],[1,"blade-content"],[2,"clear","both"],["style","margin-bottom:15px",4,"ngIf"],["style","height:120px",4,"ngIf"],["style","margin-left:10px; margin-right:10px",4,"ngIf"],[1,"blade-actions","action"],[1,"action",3,"click"],[1,"fa-solid","fa-save","action"],[1,"fa","fa-arrow-left","action"],["class","action",3,"click",4,"ngIf"],[1,"fa","fa-download","action"],[1,"fa","fa-upload","action"],[1,"blade-header"],[3,"click",4,"ngFor","ngForOf"],[3,"click"],[2,"margin-bottom","15px"],[2,"height","120px"],["ng2FileDrop","",1,"well","my-drop-zone",3,"ngClass","uploader","fileOver"],[1,"fa","fa-file-upload"],[1,"fileUpload","btn","btn-primary"],["type","file","ng2FileSelect","",1,"upload",3,"uploader"],[1,"progress"],["role","progressbar",1,"progress-bar",3,"ngStyle"],[2,"margin-left","10px","margin-right","10px"],[3,"field","model","view",4,"ngFor","ngForOf"],[3,"field","model","view"]],template:function(e,r){1&e&&(_i(SIe),b(0,FIe,8,5,"div",0)),2&e&&g("ngIf",r.fields)},dependencies:[Fo,gt,ve,ml,ZM,XM,FE],styles:[".form[_ngcontent-%COMP%]{border-bottom:1px solid silver}"]}),o})(),z9=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[q7,Nr,f8,Ts,TM,CB,IE,QSe,KB,Y1,dB,k5e,mIe,OB,kM,$y,f5e,IE,EM,Wae,M0e,N0e,rB,A5e,H9,$D,fIe,_5e.forRoot(),q7]}),o})();ud(Sie,[IIe,gt,ve,M5e],[]),ud(kB,[_u,gt,ve,XPe],[]);let AIe=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o}),o.\u0275inj=Ue({imports:[Xw,H9,$y,z9,Ts,Nr,kM,IE]}),o})(),OIe=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=We({type:o,bootstrap:[kie]}),o.\u0275inj=Ue({providers:[J1,{provide:nx,useClass:sre,multi:!0}],imports:[AIe,z9,Xw,Ts,Mie,RI,Jre.forRoot({siteUri:He.siteUri,cacheEnabled:!0,credentials:"include",loginRedirectPath:"/auth/login"})]}),o})();He.production&&function OU(){xP=!1}(),tq().bootstrapModule(OIe).catch(o=>console.error(o))},4901:re=>{"use strict";var K={single_source_shortest_paths:function(V,I,y){var D={},w={};w[I]=0;var L,N,Y,J,ie,_e,M=K.PriorityQueue.make();for(M.push(I,0);!M.empty();)for(Y in J=(L=M.pop()).cost,ie=V[N=L.value]||{})ie.hasOwnProperty(Y)&&(_e=J+ie[Y],(typeof w[Y]>"u"||w[Y]>_e)&&(w[Y]=_e,M.push(Y,_e),D[Y]=N));if(typeof y<"u"&&typeof w[y]>"u"){var Q=["Could not find a path from ",I," to ",y,"."].join("");throw new Error(Q)}return D},extract_shortest_path_from_predecessor_list:function(V,I){for(var y=[],D=I;D;)y.push(D),D=V[D];return y.reverse(),y},find_path:function(V,I,y){var D=K.single_source_shortest_paths(V,I,y);return K.extract_shortest_path_from_predecessor_list(D,y)},PriorityQueue:{make:function(V){var D,I=K.PriorityQueue,y={};for(D in V=V||{},I)I.hasOwnProperty(D)&&(y[D]=I[D]);return y.queue=[],y.sorter=V.sorter||I.default_sorter,y},default_sorter:function(V,I){return V.cost-I.cost},push:function(V,I){this.queue.push({value:V,cost:I}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};re.exports=K},8419:re=>{"use strict";re.exports=function(V){for(var I=[],y=V.length,D=0;D=55296&&w<=56319&&y>D+1){var M=V.charCodeAt(D+1);M>=56320&&M<=57343&&(w=1024*(w-55296)+M-56320+65536,D+=1)}w<128?I.push(w):w<2048?(I.push(w>>6|192),I.push(63&w|128)):w<55296||w>=57344&&w<65536?(I.push(w>>12|224),I.push(w>>6&63|128),I.push(63&w|128)):w>=65536&&w<=1114111?(I.push(w>>18|240),I.push(w>>12&63|128),I.push(w>>6&63|128),I.push(63&w|128)):I.push(239,191,189)}return new Uint8Array(I).buffer}},7088:function(re,K,V){!function(I){"use strict";I.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(D){return/^nm$/i.test(D)},meridiem:function(D,w,M){return D<12?M?"vm":"VM":M?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(D){return D+(1===D||8===D||D>=20?"ste":"de")},week:{dow:1,doy:4}})}(V(5439))},2502:function(re,K,V){!function(I){"use strict";var y=function(N){return 0===N?0:1===N?1:2===N?2:N%100>=3&&N%100<=10?3:N%100>=11?4:5},D={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},w=function(N){return function(Y,J,ie,De){var _e=y(Y),Fe=D[N][y(Y)];return 2===_e&&(Fe=Fe[J?0:1]),Fe.replace(/%d/i,Y)}},M=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];I.defineLocale("ar-dz",{months:M,monthsShort:M,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(N){return"\u0645"===N},meridiem:function(N,Y,J){return N<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:w("s"),ss:w("s"),m:w("m"),mm:w("m"),h:w("h"),hh:w("h"),d:w("d"),dd:w("d"),M:w("M"),MM:w("M"),y:w("y"),yy:w("y")},postformat:function(N){return N.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(V(5439))},128:function(re,K,V){!function(I){"use strict";I.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(V(5439))},4519:function(re,K,V){!function(I){"use strict";var y={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},D=function(Y){return 0===Y?0:1===Y?1:2===Y?2:Y%100>=3&&Y%100<=10?3:Y%100>=11?4:5},w={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},M=function(Y){return function(J,ie,De,_e){var Fe=D(J),vt=w[Y][D(J)];return 2===Fe&&(vt=vt[ie?0:1]),vt.replace(/%d/i,J)}},L=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];I.defineLocale("ar-ly",{months:L,monthsShort:L,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(Y){return"\u0645"===Y},meridiem:function(Y,J,ie){return Y<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},preparse:function(Y){return Y.replace(/\u060c/g,",")},postformat:function(Y){return Y.replace(/\d/g,function(J){return y[J]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(V(5439))},5443:function(re,K,V){!function(I){"use strict";I.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(V(5439))},7642:function(re,K,V){!function(I){"use strict";var y={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};I.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(M){return"\u0645"===M},meridiem:function(M,L,N){return M<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(M){return M.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(L){return D[L]}).replace(/\u060c/g,",")},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(V(5439))},8592:function(re,K,V){!function(I){"use strict";I.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(V(5439))},7038:function(re,K,V){!function(I){"use strict";var y={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},w=function(J){return 0===J?0:1===J?1:2===J?2:J%100>=3&&J%100<=10?3:J%100>=11?4:5},M={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},L=function(J){return function(ie,De,_e,Fe){var vt=w(ie),Q=M[J][w(ie)];return 2===vt&&(Q=Q[De?0:1]),Q.replace(/%d/i,ie)}},N=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];I.defineLocale("ar",{months:N,monthsShort:N,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(J){return"\u0645"===J},meridiem:function(J,ie,De){return J<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:L("s"),ss:L("s"),m:L("m"),mm:L("m"),h:L("h"),hh:L("h"),d:L("d"),dd:L("d"),M:L("M"),MM:L("M"),y:L("y"),yy:L("y")},preparse:function(J){return J.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(ie){return D[ie]}).replace(/\u060c/g,",")},postformat:function(J){return J.replace(/\d/g,function(ie){return y[ie]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(V(5439))},1213:function(re,K,V){!function(I){"use strict";var y={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};I.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(w){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(w)},meridiem:function(w,M,L){return w<4?"gec\u0259":w<12?"s\u0259h\u0259r":w<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(w){if(0===w)return w+"-\u0131nc\u0131";var M=w%10;return w+(y[M]||y[w%100-M]||y[w>=100?100:null])},week:{dow:1,doy:7}})}(V(5439))},9191:function(re,K,V){!function(I){"use strict";function D(M,L,N){return"m"===N?L?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===N?L?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":M+" "+function y(M,L){var N=M.split("_");return L%10==1&&L%100!=11?N[0]:L%10>=2&&L%10<=4&&(L%100<10||L%100>=20)?N[1]:N[2]}({ss:L?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:L?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:L?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[N],+M)}I.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:D,mm:D,h:D,hh:D,d:"\u0434\u0437\u0435\u043d\u044c",dd:D,M:"\u043c\u0435\u0441\u044f\u0446",MM:D,y:"\u0433\u043e\u0434",yy:D},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(M){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(M)},meridiem:function(M,L,N){return M<4?"\u043d\u043e\u0447\u044b":M<12?"\u0440\u0430\u043d\u0456\u0446\u044b":M<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(M,L){switch(L){case"M":case"d":case"DDD":case"w":case"W":return M%10!=2&&M%10!=3||M%100==12||M%100==13?M+"-\u044b":M+"-\u0456";case"D":return M+"-\u0433\u0430";default:return M}},week:{dow:1,doy:7}})}(V(5439))},322:function(re,K,V){!function(I){"use strict";I.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(D){var w=D%10,M=D%100;return 0===D?D+"-\u0435\u0432":0===M?D+"-\u0435\u043d":M>10&&M<20?D+"-\u0442\u0438":1===w?D+"-\u0432\u0438":2===w?D+"-\u0440\u0438":7===w||8===w?D+"-\u043c\u0438":D+"-\u0442\u0438"},week:{dow:1,doy:7}})}(V(5439))},8042:function(re,K,V){!function(I){"use strict";I.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(V(5439))},5903:function(re,K,V){!function(I){"use strict";var y={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},D={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};I.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(M){return M.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(L){return D[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(M,L){return 12===M&&(M=0),"\u09b0\u09be\u09a4"===L?M<4?M:M+12:"\u09ad\u09cb\u09b0"===L||"\u09b8\u0995\u09be\u09b2"===L?M:"\u09a6\u09c1\u09aa\u09c1\u09b0"===L?M>=3?M:M+12:"\u09ac\u09bf\u0995\u09be\u09b2"===L||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===L?M+12:void 0},meridiem:function(M,L,N){return M<4?"\u09b0\u09be\u09a4":M<6?"\u09ad\u09cb\u09b0":M<12?"\u09b8\u0995\u09be\u09b2":M<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":M<18?"\u09ac\u09bf\u0995\u09be\u09b2":M<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(V(5439))},9620:function(re,K,V){!function(I){"use strict";var y={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},D={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};I.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(M){return M.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(L){return D[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(M,L){return 12===M&&(M=0),"\u09b0\u09be\u09a4"===L&&M>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===L&&M<5||"\u09ac\u09bf\u0995\u09be\u09b2"===L?M+12:M},meridiem:function(M,L,N){return M<4?"\u09b0\u09be\u09a4":M<10?"\u09b8\u0995\u09be\u09b2":M<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":M<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(V(5439))},9645:function(re,K,V){!function(I){"use strict";var y={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},D={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};I.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(M){return M.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(L){return D[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(M,L){return 12===M&&(M=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===L&&M>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===L&&M<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===L?M+12:M},meridiem:function(M,L,N){return M<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":M<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":M<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":M<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(V(5439))},5020:function(re,K,V){!function(I){"use strict";function y(Q,le,pe){return Q+" "+function M(Q,le){return 2===le?function L(Q){var le={m:"v",b:"v",d:"z"};return void 0===le[Q.charAt(0)]?Q:le[Q.charAt(0)]+Q.substring(1)}(Q):Q}({mm:"munutenn",MM:"miz",dd:"devezh"}[pe],Q)}function w(Q){return Q>9?w(Q%10):Q}var N=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],Y=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,Fe=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];I.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:Fe,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:Fe,monthsRegex:Y,monthsShortRegex:Y,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:N,longMonthsParse:N,shortMonthsParse:N,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:y,h:"un eur",hh:"%d eur",d:"un devezh",dd:y,M:"ur miz",MM:y,y:"ur bloaz",yy:function D(Q){switch(w(Q)){case 1:case 3:case 4:case 5:case 9:return Q+" bloaz";default:return Q+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(Q){return Q+(1===Q?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(Q){return"g.m."===Q},meridiem:function(Q,le,pe){return Q<12?"a.m.":"g.m."}})}(V(5439))},4792:function(re,K,V){!function(I){"use strict";function y(w,M,L){var N=w+" ";switch(L){case"ss":return N+(1===w?"sekunda":2===w||3===w||4===w?"sekunde":"sekundi");case"m":return M?"jedna minuta":"jedne minute";case"mm":return N+(1===w?"minuta":2===w||3===w||4===w?"minute":"minuta");case"h":return M?"jedan sat":"jednog sata";case"hh":return N+(1===w?"sat":2===w||3===w||4===w?"sata":"sati");case"dd":return N+(1===w?"dan":"dana");case"MM":return N+(1===w?"mjesec":2===w||3===w||4===w?"mjeseca":"mjeseci");case"yy":return N+(1===w?"godina":2===w||3===w||4===w?"godine":"godina")}}I.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:y,m:y,mm:y,h:y,hh:y,d:"dan",dd:y,M:"mjesec",MM:y,y:"godinu",yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(5439))},7980:function(re,K,V){!function(I){"use strict";I.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(D,w){var M=1===D?"r":2===D?"n":3===D?"r":4===D?"t":"\xe8";return("w"===w||"W"===w)&&(M="a"),D+M},week:{dow:1,doy:4}})}(V(5439))},7322:function(re,K,V){!function(I){"use strict";var y={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},D="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),w=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],M=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function L(J){return J>1&&J<5&&1!=~~(J/10)}function N(J,ie,De,_e){var Fe=J+" ";switch(De){case"s":return ie||_e?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return ie||_e?Fe+(L(J)?"sekundy":"sekund"):Fe+"sekundami";case"m":return ie?"minuta":_e?"minutu":"minutou";case"mm":return ie||_e?Fe+(L(J)?"minuty":"minut"):Fe+"minutami";case"h":return ie?"hodina":_e?"hodinu":"hodinou";case"hh":return ie||_e?Fe+(L(J)?"hodiny":"hodin"):Fe+"hodinami";case"d":return ie||_e?"den":"dnem";case"dd":return ie||_e?Fe+(L(J)?"dny":"dn\xed"):Fe+"dny";case"M":return ie||_e?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return ie||_e?Fe+(L(J)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):Fe+"m\u011bs\xedci";case"y":return ie||_e?"rok":"rokem";case"yy":return ie||_e?Fe+(L(J)?"roky":"let"):Fe+"lety"}}I.defineLocale("cs",{months:y,monthsShort:D,monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:N,ss:N,m:N,mm:N,h:N,hh:N,d:N,dd:N,M:N,MM:N,y:N,yy:N},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},365:function(re,K,V){!function(I){"use strict";I.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(D){return D+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(D)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(D)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(V(5439))},2092:function(re,K,V){!function(I){"use strict";I.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(D){var M="";return D>20?M=40===D||50===D||60===D||80===D||100===D?"fed":"ain":D>0&&(M=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][D]),D+M},week:{dow:1,doy:4}})}(V(5439))},7387:function(re,K,V){!function(I){"use strict";I.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},9459:function(re,K,V){!function(I){"use strict";function y(w,M,L,N){var Y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[w+" Tage",w+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[w+" Monate",w+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[w+" Jahre",w+" Jahren"]};return M?Y[L][0]:Y[L][1]}I.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:y,mm:"%d Minuten",h:y,hh:"%d Stunden",d:y,dd:y,w:y,ww:"%d Wochen",M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},3694:function(re,K,V){!function(I){"use strict";function y(w,M,L,N){var Y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[w+" Tage",w+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[w+" Monate",w+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[w+" Jahre",w+" Jahren"]};return M?Y[L][0]:Y[L][1]}I.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:y,mm:"%d Minuten",h:y,hh:"%d Stunden",d:y,dd:y,w:y,ww:"%d Wochen",M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},4307:function(re,K,V){!function(I){"use strict";function y(w,M,L,N){var Y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[w+" Tage",w+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[w+" Monate",w+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[w+" Jahre",w+" Jahren"]};return M?Y[L][0]:Y[L][1]}I.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:y,mm:"%d Minuten",h:y,hh:"%d Stunden",d:y,dd:y,w:y,ww:"%d Wochen",M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},9659:function(re,K,V){!function(I){"use strict";var y=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],D=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];I.defineLocale("dv",{months:y,monthsShort:y,weekdays:D,weekdaysShort:D,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(M){return"\u0789\u078a"===M},meridiem:function(M,L,N){return M<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(M){return M.replace(/\u060c/g,",")},postformat:function(M){return M.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(V(5439))},3460:function(re,K,V){!function(I){"use strict";I.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(w,M){return w?"string"==typeof M&&/D/.test(M.substring(0,M.indexOf("MMMM")))?this._monthsGenitiveEl[w.month()]:this._monthsNominativeEl[w.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(w,M,L){return w>11?L?"\u03bc\u03bc":"\u039c\u039c":L?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(w){return"\u03bc"===(w+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(w,M){var L=this._calendarEl[w],N=M&&M.hours();return function y(w){return typeof Function<"u"&&w instanceof Function||"[object Function]"===Object.prototype.toString.call(w)}(L)&&(L=L.apply(M)),L.replace("{}",N%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(V(5439))},4369:function(re,K,V){!function(I){"use strict";I.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:0,doy:4}})}(V(5439))},530:function(re,K,V){!function(I){"use strict";I.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")}})}(V(5439))},9998:function(re,K,V){!function(I){"use strict";I.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(V(5439))},3391:function(re,K,V){!function(I){"use strict";I.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(V(5439))},5414:function(re,K,V){!function(I){"use strict";I.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")}})}(V(5439))},9615:function(re,K,V){!function(I){"use strict";I.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:0,doy:6}})}(V(5439))},1248:function(re,K,V){!function(I){"use strict";I.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(V(5439))},3767:function(re,K,V){!function(I){"use strict";I.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(V(5439))},4530:function(re,K,V){!function(I){"use strict";I.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(D){return"p"===D.charAt(0).toLowerCase()},meridiem:function(D,w,M){return D>11?M?"p.t.m.":"P.T.M.":M?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(V(5439))},8944:function(re,K,V){!function(I){"use strict";var y="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],M=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;I.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,Y){return N?/-MMM-/.test(Y)?D[N.month()]:y[N.month()]:y},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(5439))},9116:function(re,K,V){!function(I){"use strict";var y="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],M=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;I.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,Y){return N?/-MMM-/.test(Y)?D[N.month()]:y[N.month()]:y},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(V(5439))},3609:function(re,K,V){!function(I){"use strict";var y="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],M=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;I.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,Y){return N?/-MMM-/.test(Y)?D[N.month()]:y[N.month()]:y},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(V(5439))},6866:function(re,K,V){!function(I){"use strict";var y="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],M=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;I.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,Y){return N?/-MMM-/.test(Y)?D[N.month()]:y[N.month()]:y},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(V(5439))},6725:function(re,K,V){!function(I){"use strict";function y(w,M,L,N){var Y={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[w+"sekundi",w+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[w+" minuti",w+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[w+" tunni",w+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[w+" kuu",w+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[w+" aasta",w+" aastat"]};return M?Y[L][2]?Y[L][2]:Y[L][1]:N?Y[L][0]:Y[L][1]}I.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:"%d p\xe4eva",M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},7931:function(re,K,V){!function(I){"use strict";I.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(5439))},6417:function(re,K,V){!function(I){"use strict";var y={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},D={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};I.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(M){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(M)},meridiem:function(M,L,N){return M<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(M){return M.replace(/[\u06f0-\u06f9]/g,function(L){return D[L]}).replace(/\u060c/g,",")},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(V(5439))},944:function(re,K,V){!function(I){"use strict";var y="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),D=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",y[7],y[8],y[9]];function w(N,Y,J,ie){var De="";switch(J){case"s":return ie?"muutaman sekunnin":"muutama sekunti";case"ss":De=ie?"sekunnin":"sekuntia";break;case"m":return ie?"minuutin":"minuutti";case"mm":De=ie?"minuutin":"minuuttia";break;case"h":return ie?"tunnin":"tunti";case"hh":De=ie?"tunnin":"tuntia";break;case"d":return ie?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":De=ie?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return ie?"kuukauden":"kuukausi";case"MM":De=ie?"kuukauden":"kuukautta";break;case"y":return ie?"vuoden":"vuosi";case"yy":De=ie?"vuoden":"vuotta"}return function M(N,Y){return N<10?Y?D[N]:y[N]:N}(N,ie)+" "+De}I.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},1766:function(re,K,V){!function(I){"use strict";I.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(D){return D},week:{dow:1,doy:4}})}(V(5439))},5867:function(re,K,V){!function(I){"use strict";I.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},6848:function(re,K,V){!function(I){"use strict";I.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(D,w){switch(w){default:case"M":case"Q":case"D":case"DDD":case"d":return D+(1===D?"er":"e");case"w":case"W":return D+(1===D?"re":"e")}}})}(V(5439))},7773:function(re,K,V){!function(I){"use strict";I.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(D,w){switch(w){default:case"M":case"Q":case"D":case"DDD":case"d":return D+(1===D?"er":"e");case"w":case"W":return D+(1===D?"re":"e")}},week:{dow:1,doy:4}})}(V(5439))},1636:function(re,K,V){!function(I){"use strict";var w=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,M=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];I.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:w,monthsShortRegex:w,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:M,longMonthsParse:M,shortMonthsParse:M,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(N,Y){switch(Y){case"D":return N+(1===N?"er":"");default:case"M":case"Q":case"DDD":case"d":return N+(1===N?"er":"e");case"w":case"W":return N+(1===N?"re":"e")}},week:{dow:1,doy:4}})}(V(5439))},4940:function(re,K,V){!function(I){"use strict";var y="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),D="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");I.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(M,L){return M?/-MMM-/.test(L)?D[M.month()]:y[M.month()]:y},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(M){return M+(1===M||8===M||M>=20?"ste":"de")},week:{dow:1,doy:4}})}(V(5439))},1402:function(re,K,V){!function(I){"use strict";I.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(Y){return Y+(1===Y?"d":Y%10==2?"na":"mh")},week:{dow:1,doy:4}})}(V(5439))},6924:function(re,K,V){!function(I){"use strict";I.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(Y){return Y+(1===Y?"d":Y%10==2?"na":"mh")},week:{dow:1,doy:4}})}(V(5439))},6398:function(re,K,V){!function(I){"use strict";I.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(D){return 0===D.indexOf("un")?"n"+D:"en "+D},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(5439))},2457:function(re,K,V){!function(I){"use strict";function y(w,M,L,N){var Y={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[w+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",w+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[w+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",w+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[w+" \u0935\u0930\u093e\u0902\u0928\u0940",w+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[w+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",w+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[w+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",w+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[w+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",w+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return N?Y[L][0]:Y[L][1]}I.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(w,M){return"D"===M?w+"\u0935\u0947\u0930":w},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(w,M){return 12===w&&(w=0),"\u0930\u093e\u0924\u0940"===M?w<4?w:w+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===M?w:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===M?w>12?w:w+12:"\u0938\u093e\u0902\u091c\u0947"===M?w+12:void 0},meridiem:function(w,M,L){return w<4?"\u0930\u093e\u0924\u0940":w<12?"\u0938\u0915\u093e\u0933\u0940\u0902":w<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":w<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(V(5439))},2545:function(re,K,V){!function(I){"use strict";function y(w,M,L,N){var Y={s:["thoddea sekondamni","thodde sekond"],ss:[w+" sekondamni",w+" sekond"],m:["eka mintan","ek minut"],mm:[w+" mintamni",w+" mintam"],h:["eka voran","ek vor"],hh:[w+" voramni",w+" voram"],d:["eka disan","ek dis"],dd:[w+" disamni",w+" dis"],M:["eka mhoinean","ek mhoino"],MM:[w+" mhoineamni",w+" mhoine"],y:["eka vorsan","ek voros"],yy:[w+" vorsamni",w+" vorsam"]};return N?Y[L][0]:Y[L][1]}I.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(w,M){return"D"===M?w+"er":w},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(w,M){return 12===w&&(w=0),"rati"===M?w<4?w:w+12:"sokallim"===M?w:"donparam"===M?w>12?w:w+12:"sanje"===M?w+12:void 0},meridiem:function(w,M,L){return w<4?"rati":w<12?"sokallim":w<16?"donparam":w<20?"sanje":"rati"}})}(V(5439))},2641:function(re,K,V){!function(I){"use strict";var y={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},D={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};I.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(M){return M.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(L){return D[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(M,L){return 12===M&&(M=0),"\u0ab0\u0abe\u0aa4"===L?M<4?M:M+12:"\u0ab8\u0ab5\u0abe\u0ab0"===L?M:"\u0aac\u0aaa\u0acb\u0ab0"===L?M>=10?M:M+12:"\u0ab8\u0abe\u0a82\u0a9c"===L?M+12:void 0},meridiem:function(M,L,N){return M<4?"\u0ab0\u0abe\u0aa4":M<10?"\u0ab8\u0ab5\u0abe\u0ab0":M<17?"\u0aac\u0aaa\u0acb\u0ab0":M<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(V(5439))},7536:function(re,K,V){!function(I){"use strict";I.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(D){return 2===D?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":D+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(D){return 2===D?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":D+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(D){return 2===D?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":D+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(D){return 2===D?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":D%10==0&&10!==D?D+" \u05e9\u05e0\u05d4":D+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(D){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(D)},meridiem:function(D,w,M){return D<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":D<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":D<12?M?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":D<18?M?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(V(5439))},6335:function(re,K,V){!function(I){"use strict";var y={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},w=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];I.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:w,longMonthsParse:w,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(N){return N.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(Y){return D[Y]})},postformat:function(N){return N.replace(/\d/g,function(Y){return y[Y]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(N,Y){return 12===N&&(N=0),"\u0930\u093e\u0924"===Y?N<4?N:N+12:"\u0938\u0941\u092c\u0939"===Y?N:"\u0926\u094b\u092a\u0939\u0930"===Y?N>=10?N:N+12:"\u0936\u093e\u092e"===Y?N+12:void 0},meridiem:function(N,Y,J){return N<4?"\u0930\u093e\u0924":N<10?"\u0938\u0941\u092c\u0939":N<17?"\u0926\u094b\u092a\u0939\u0930":N<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(V(5439))},7458:function(re,K,V){!function(I){"use strict";function y(w,M,L){var N=w+" ";switch(L){case"ss":return N+(1===w?"sekunda":2===w||3===w||4===w?"sekunde":"sekundi");case"m":return M?"jedna minuta":"jedne minute";case"mm":return N+(1===w?"minuta":2===w||3===w||4===w?"minute":"minuta");case"h":return M?"jedan sat":"jednog sata";case"hh":return N+(1===w?"sat":2===w||3===w||4===w?"sata":"sati");case"dd":return N+(1===w?"dan":"dana");case"MM":return N+(1===w?"mjesec":2===w||3===w||4===w?"mjeseca":"mjeseci");case"yy":return N+(1===w?"godina":2===w||3===w||4===w?"godine":"godina")}}I.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:y,m:y,mm:y,h:y,hh:y,d:"dan",dd:y,M:"mjesec",MM:y,y:"godinu",yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(5439))},6540:function(re,K,V){!function(I){"use strict";var y="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function D(L,N,Y,J){var ie=L;switch(Y){case"s":return J||N?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return ie+(J||N)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(J||N?" perc":" perce");case"mm":return ie+(J||N?" perc":" perce");case"h":return"egy"+(J||N?" \xf3ra":" \xf3r\xe1ja");case"hh":return ie+(J||N?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(J||N?" nap":" napja");case"dd":return ie+(J||N?" nap":" napja");case"M":return"egy"+(J||N?" h\xf3nap":" h\xf3napja");case"MM":return ie+(J||N?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(J||N?" \xe9v":" \xe9ve");case"yy":return ie+(J||N?" \xe9v":" \xe9ve")}return""}function w(L){return(L?"":"[m\xfalt] ")+"["+y[this.day()]+"] LT[-kor]"}I.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(L){return"u"===L.charAt(1).toLowerCase()},meridiem:function(L,N,Y){return L<12?!0===Y?"de":"DE":!0===Y?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return w.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return w.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},5283:function(re,K,V){!function(I){"use strict";I.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(D){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(D)},meridiem:function(D){return D<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":D<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":D<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(D,w){switch(w){case"DDD":case"w":case"W":case"DDDo":return 1===D?D+"-\u056b\u0576":D+"-\u0580\u0564";default:return D}},week:{dow:1,doy:7}})}(V(5439))},8780:function(re,K,V){!function(I){"use strict";I.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(D,w){return 12===D&&(D=0),"pagi"===w?D:"siang"===w?D>=11?D:D+12:"sore"===w||"malam"===w?D+12:void 0},meridiem:function(D,w,M){return D<11?"pagi":D<15?"siang":D<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(V(5439))},4205:function(re,K,V){!function(I){"use strict";function y(M){return M%100==11||M%10!=1}function D(M,L,N,Y){var J=M+" ";switch(N){case"s":return L||Y?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return y(M)?J+(L||Y?"sek\xfandur":"sek\xfandum"):J+"sek\xfanda";case"m":return L?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return y(M)?J+(L||Y?"m\xedn\xfatur":"m\xedn\xfatum"):L?J+"m\xedn\xfata":J+"m\xedn\xfatu";case"hh":return y(M)?J+(L||Y?"klukkustundir":"klukkustundum"):J+"klukkustund";case"d":return L?"dagur":Y?"dag":"degi";case"dd":return y(M)?L?J+"dagar":J+(Y?"daga":"d\xf6gum"):L?J+"dagur":J+(Y?"dag":"degi");case"M":return L?"m\xe1nu\xf0ur":Y?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return y(M)?L?J+"m\xe1nu\xf0ir":J+(Y?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):L?J+"m\xe1nu\xf0ur":J+(Y?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return L||Y?"\xe1r":"\xe1ri";case"yy":return y(M)?J+(L||Y?"\xe1r":"\xe1rum"):J+(L||Y?"\xe1r":"\xe1ri")}}I.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:D,ss:D,m:D,mm:D,h:"klukkustund",hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},9985:function(re,K,V){!function(I){"use strict";I.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(D){return(/^[0-9].+$/.test(D)?"tra":"in")+" "+D},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(5439))},4211:function(re,K,V){!function(I){"use strict";I.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(5439))},1003:function(re,K,V){!function(I){"use strict";I.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(D,w){return"\u5143"===w[1]?1:parseInt(w[1]||D,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(D){return"\u5348\u5f8c"===D},meridiem:function(D,w,M){return D<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(D){return D.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(D){return this.week()!==D.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(D,w){switch(w){case"y":return 1===D?"\u5143\u5e74":D+"\u5e74";case"d":case"D":case"DDD":return D+"\u65e5";default:return D}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(V(5439))},420:function(re,K,V){!function(I){"use strict";I.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(D,w){return 12===D&&(D=0),"enjing"===w?D:"siyang"===w?D>=11?D:D+12:"sonten"===w||"ndalu"===w?D+12:void 0},meridiem:function(D,w,M){return D<11?"enjing":D<15?"siyang":D<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(V(5439))},851:function(re,K,V){!function(I){"use strict";I.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(D){return D.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(w,M,L){return"\u10d8"===L?M+"\u10e8\u10d8":M+L+"\u10e8\u10d8"})},past:function(D){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(D)?D.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(D)?D.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):D},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(D){return 0===D?D:1===D?D+"-\u10da\u10d8":D<20||D<=100&&D%20==0||D%100==0?"\u10db\u10d4-"+D:D+"-\u10d4"},week:{dow:1,doy:7}})}(V(5439))},6074:function(re,K,V){!function(I){"use strict";var y={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};I.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(w){return w+(y[w]||y[w%10]||y[w>=100?100:null])},week:{dow:1,doy:7}})}(V(5439))},3343:function(re,K,V){!function(I){"use strict";var y={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},D={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};I.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(M){return"\u179b\u17d2\u1784\u17b6\u1785"===M},meridiem:function(M,L,N){return M<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(M){return M.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(L){return D[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]})},week:{dow:1,doy:4}})}(V(5439))},4799:function(re,K,V){!function(I){"use strict";var y={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},D={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};I.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(M){return M.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(L){return D[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(M,L){return 12===M&&(M=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===L?M<4?M:M+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===L?M:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===L?M>=10?M:M+12:"\u0cb8\u0c82\u0c9c\u0cc6"===L?M+12:void 0},meridiem:function(M,L,N){return M<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":M<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":M<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":M<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(M){return M+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(V(5439))},3549:function(re,K,V){!function(I){"use strict";I.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(D,w){switch(w){case"d":case"D":case"DDD":return D+"\uc77c";case"M":return D+"\uc6d4";case"w":case"W":return D+"\uc8fc";default:return D}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(D){return"\uc624\ud6c4"===D},meridiem:function(D,w,M){return D<12?"\uc624\uc804":"\uc624\ud6c4"}})}(V(5439))},1037:function(re,K,V){!function(I){"use strict";var y={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},w=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];I.defineLocale("ku",{months:w,monthsShort:w,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(L){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(L)},meridiem:function(L,N,Y){return L<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(L){return L.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(N){return D[N]}).replace(/\u060c/g,",")},postformat:function(L){return L.replace(/\d/g,function(N){return y[N]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(V(5439))},3125:function(re,K,V){!function(I){"use strict";var y={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};I.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(w){return w+(y[w]||y[w%10]||y[w>=100?100:null])},week:{dow:1,doy:7}})}(V(5439))},9586:function(re,K,V){!function(I){"use strict";function y(N,Y,J,ie){var De={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return Y?De[J][0]:De[J][1]}function M(N){if(N=parseInt(N,10),isNaN(N))return!1;if(N<0)return!0;if(N<10)return 4<=N&&N<=7;if(N<100){var Y=N%10;return M(0===Y?N/10:Y)}if(N<1e4){for(;N>=10;)N/=10;return M(N)}return M(N/=1e3)}I.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function D(N){return M(N.substr(0,N.indexOf(" ")))?"a "+N:"an "+N},past:function w(N){return M(N.substr(0,N.indexOf(" ")))?"viru "+N:"virun "+N},s:"e puer Sekonnen",ss:"%d Sekonnen",m:y,mm:"%d Minutten",h:y,hh:"%d Stonnen",d:y,dd:"%d Deeg",M:y,MM:"%d M\xe9int",y,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},2349:function(re,K,V){!function(I){"use strict";I.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(D){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===D},meridiem:function(D,w,M){return D<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(D){return"\u0e97\u0eb5\u0ec8"+D}})}(V(5439))},2400:function(re,K,V){!function(I){"use strict";var y={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function w(J,ie,De,_e){return ie?L(De)[0]:_e?L(De)[1]:L(De)[2]}function M(J){return J%10==0||J>10&&J<20}function L(J){return y[J].split("_")}function N(J,ie,De,_e){var Fe=J+" ";return 1===J?Fe+w(0,ie,De[0],_e):ie?Fe+(M(J)?L(De)[1]:L(De)[0]):_e?Fe+L(De)[1]:Fe+(M(J)?L(De)[1]:L(De)[2])}I.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function D(J,ie,De,_e){return ie?"kelios sekund\u0117s":_e?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:N,m:w,mm:N,h:w,hh:N,d:w,dd:N,M:w,MM:N,y:w,yy:N},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(J){return J+"-oji"},week:{dow:1,doy:4}})}(V(5439))},9991:function(re,K,V){!function(I){"use strict";var y={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function D(Y,J,ie){return ie?J%10==1&&J%100!=11?Y[2]:Y[3]:J%10==1&&J%100!=11?Y[0]:Y[1]}function w(Y,J,ie){return Y+" "+D(y[ie],Y,J)}function M(Y,J,ie){return D(y[ie],Y,J)}I.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function L(Y,J){return J?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:w,m:M,mm:w,h:M,hh:w,d:M,dd:w,M,MM:w,y:M,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},8477:function(re,K,V){!function(I){"use strict";var y={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(w,M){return 1===w?M[0]:w>=2&&w<=4?M[1]:M[2]},translate:function(w,M,L){var N=y.words[L];return 1===L.length?M?N[0]:N[1]:w+" "+y.correctGrammaticalCase(w,N)}};I.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:y.translate,m:y.translate,mm:y.translate,h:y.translate,hh:y.translate,d:"dan",dd:y.translate,M:"mjesec",MM:y.translate,y:"godinu",yy:y.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(5439))},5118:function(re,K,V){!function(I){"use strict";I.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(5439))},5943:function(re,K,V){!function(I){"use strict";I.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(D){var w=D%10,M=D%100;return 0===D?D+"-\u0435\u0432":0===M?D+"-\u0435\u043d":M>10&&M<20?D+"-\u0442\u0438":1===w?D+"-\u0432\u0438":2===w?D+"-\u0440\u0438":7===w||8===w?D+"-\u043c\u0438":D+"-\u0442\u0438"},week:{dow:1,doy:7}})}(V(5439))},3849:function(re,K,V){!function(I){"use strict";I.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(D,w){return 12===D&&(D=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===w&&D>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===w||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===w?D+12:D},meridiem:function(D,w,M){return D<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":D<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":D<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":D<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(V(5439))},1977:function(re,K,V){!function(I){"use strict";function y(w,M,L,N){switch(L){case"s":return M?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return w+(M?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return w+(M?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return w+(M?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return w+(M?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return w+(M?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return w+(M?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return w}}I.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(w){return"\u04ae\u0425"===w},meridiem:function(w,M,L){return w<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(w,M){switch(M){case"d":case"D":case"DDD":return w+" \u04e9\u0434\u04e9\u0440";default:return w}}})}(V(5439))},6184:function(re,K,V){!function(I){"use strict";var y={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function w(L,N,Y,J){var ie="";if(N)switch(Y){case"s":ie="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":ie="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":ie="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":ie="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":ie="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":ie="%d \u0924\u093e\u0938";break;case"d":ie="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":ie="%d \u0926\u093f\u0935\u0938";break;case"M":ie="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":ie="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":ie="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":ie="%d \u0935\u0930\u094d\u0937\u0947"}else switch(Y){case"s":ie="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":ie="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":ie="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":ie="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":ie="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":ie="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":ie="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":ie="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":ie="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":ie="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":ie="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":ie="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return ie.replace(/%d/i,L)}I.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},preparse:function(L){return L.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(N){return D[N]})},postformat:function(L){return L.replace(/\d/g,function(N){return y[N]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(L,N){return 12===L&&(L=0),"\u092a\u0939\u093e\u091f\u0947"===N||"\u0938\u0915\u093e\u0933\u0940"===N?L:"\u0926\u0941\u092a\u093e\u0930\u0940"===N||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===N||"\u0930\u093e\u0924\u094d\u0930\u0940"===N?L>=12?L:L+12:void 0},meridiem:function(L,N,Y){return L>=0&&L<6?"\u092a\u0939\u093e\u091f\u0947":L<12?"\u0938\u0915\u093e\u0933\u0940":L<17?"\u0926\u0941\u092a\u093e\u0930\u0940":L<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(V(5439))},4524:function(re,K,V){!function(I){"use strict";I.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(D,w){return 12===D&&(D=0),"pagi"===w?D:"tengahari"===w?D>=11?D:D+12:"petang"===w||"malam"===w?D+12:void 0},meridiem:function(D,w,M){return D<11?"pagi":D<15?"tengahari":D<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(V(5439))},485:function(re,K,V){!function(I){"use strict";I.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(D,w){return 12===D&&(D=0),"pagi"===w?D:"tengahari"===w?D>=11?D:D+12:"petang"===w||"malam"===w?D+12:void 0},meridiem:function(D,w,M){return D<11?"pagi":D<15?"tengahari":D<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(V(5439))},6681:function(re,K,V){!function(I){"use strict";I.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(5439))},2024:function(re,K,V){!function(I){"use strict";var y={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},D={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};I.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(M){return M.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(L){return D[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]})},week:{dow:1,doy:4}})}(V(5439))},2688:function(re,K,V){!function(I){"use strict";I.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},8914:function(re,K,V){!function(I){"use strict";var y={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};I.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(M){return M.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(L){return D[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(M,L){return 12===M&&(M=0),"\u0930\u093e\u0924\u093f"===L?M<4?M:M+12:"\u092c\u093f\u0939\u093e\u0928"===L?M:"\u0926\u093f\u0909\u0901\u0938\u094b"===L?M>=10?M:M+12:"\u0938\u093e\u0901\u091d"===L?M+12:void 0},meridiem:function(M,L,N){return M<3?"\u0930\u093e\u0924\u093f":M<12?"\u092c\u093f\u0939\u093e\u0928":M<16?"\u0926\u093f\u0909\u0901\u0938\u094b":M<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(V(5439))},2272:function(re,K,V){!function(I){"use strict";var y="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),D="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),w=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],M=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;I.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(N,Y){return N?/-MMM-/.test(Y)?D[N.month()]:y[N.month()]:y},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(N){return N+(1===N||8===N||N>=20?"ste":"de")},week:{dow:1,doy:4}})}(V(5439))},1758:function(re,K,V){!function(I){"use strict";var y="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),D="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),w=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],M=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;I.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(N,Y){return N?/-MMM-/.test(Y)?D[N.month()]:y[N.month()]:y},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(N){return N+(1===N||8===N||N>=20?"ste":"de")},week:{dow:1,doy:4}})}(V(5439))},1510:function(re,K,V){!function(I){"use strict";I.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},2797:function(re,K,V){!function(I){"use strict";I.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(D,w){var M=1===D?"r":2===D?"n":3===D?"r":4===D?"t":"\xe8";return("w"===w||"W"===w)&&(M="a"),D+M},week:{dow:1,doy:4}})}(V(5439))},7944:function(re,K,V){!function(I){"use strict";var y={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},D={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};I.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(M){return M.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(L){return D[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(M,L){return 12===M&&(M=0),"\u0a30\u0a3e\u0a24"===L?M<4?M:M+12:"\u0a38\u0a35\u0a47\u0a30"===L?M:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===L?M>=10?M:M+12:"\u0a38\u0a3c\u0a3e\u0a2e"===L?M+12:void 0},meridiem:function(M,L,N){return M<4?"\u0a30\u0a3e\u0a24":M<10?"\u0a38\u0a35\u0a47\u0a30":M<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":M<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(V(5439))},1605:function(re,K,V){!function(I){"use strict";var y="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),D="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),w=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function M(Y){return Y%10<5&&Y%10>1&&~~(Y/10)%10!=1}function L(Y,J,ie){var De=Y+" ";switch(ie){case"ss":return De+(M(Y)?"sekundy":"sekund");case"m":return J?"minuta":"minut\u0119";case"mm":return De+(M(Y)?"minuty":"minut");case"h":return J?"godzina":"godzin\u0119";case"hh":return De+(M(Y)?"godziny":"godzin");case"ww":return De+(M(Y)?"tygodnie":"tygodni");case"MM":return De+(M(Y)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return De+(M(Y)?"lata":"lat")}}I.defineLocale("pl",{months:function(Y,J){return Y?/D MMMM/.test(J)?D[Y.month()]:y[Y.month()]:y},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:L,m:L,mm:L,h:L,hh:L,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:L,M:"miesi\u0105c",MM:L,y:"rok",yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},3840:function(re,K,V){!function(I){"use strict";I.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(V(5439))},4225:function(re,K,V){!function(I){"use strict";I.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(5439))},5128:function(re,K,V){!function(I){"use strict";function y(w,M,L){var Y=" ";return(w%100>=20||w>=100&&w%100==0)&&(Y=" de "),w+Y+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[L]}I.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:y,m:"un minut",mm:y,h:"o or\u0103",hh:y,d:"o zi",dd:y,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:y,M:"o lun\u0103",MM:y,y:"un an",yy:y},week:{dow:1,doy:7}})}(V(5439))},5127:function(re,K,V){!function(I){"use strict";function D(L,N,Y){return"m"===Y?N?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":L+" "+function y(L,N){var Y=L.split("_");return N%10==1&&N%100!=11?Y[0]:N%10>=2&&N%10<=4&&(N%100<10||N%100>=20)?Y[1]:Y[2]}({ss:N?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:N?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[Y],+L)}var w=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];I.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:w,longMonthsParse:w,shortMonthsParse:w,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(L){if(L.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(L){if(L.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:D,m:D,mm:D,h:"\u0447\u0430\u0441",hh:D,d:"\u0434\u0435\u043d\u044c",dd:D,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:D,M:"\u043c\u0435\u0441\u044f\u0446",MM:D,y:"\u0433\u043e\u0434",yy:D},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(L){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(L)},meridiem:function(L,N,Y){return L<4?"\u043d\u043e\u0447\u0438":L<12?"\u0443\u0442\u0440\u0430":L<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(L,N){switch(N){case"M":case"d":case"DDD":return L+"-\u0439";case"D":return L+"-\u0433\u043e";case"w":case"W":return L+"-\u044f";default:return L}},week:{dow:1,doy:4}})}(V(5439))},2525:function(re,K,V){!function(I){"use strict";var y=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],D=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];I.defineLocale("sd",{months:y,monthsShort:y,weekdays:D,weekdaysShort:D,weekdaysMin:D,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(M){return"\u0634\u0627\u0645"===M},meridiem:function(M,L,N){return M<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(M){return M.replace(/\u060c/g,",")},postformat:function(M){return M.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(V(5439))},9893:function(re,K,V){!function(I){"use strict";I.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},3123:function(re,K,V){!function(I){"use strict";I.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(D){return D+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(D){return"\u0db4.\u0dc0."===D||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===D},meridiem:function(D,w,M){return D>11?M?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":M?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(V(5439))},9635:function(re,K,V){!function(I){"use strict";var y="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),D="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function w(N){return N>1&&N<5}function M(N,Y,J,ie){var De=N+" ";switch(J){case"s":return Y||ie?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return Y||ie?De+(w(N)?"sekundy":"sek\xfand"):De+"sekundami";case"m":return Y?"min\xfata":ie?"min\xfatu":"min\xfatou";case"mm":return Y||ie?De+(w(N)?"min\xfaty":"min\xfat"):De+"min\xfatami";case"h":return Y?"hodina":ie?"hodinu":"hodinou";case"hh":return Y||ie?De+(w(N)?"hodiny":"hod\xedn"):De+"hodinami";case"d":return Y||ie?"de\u0148":"d\u0148om";case"dd":return Y||ie?De+(w(N)?"dni":"dn\xed"):De+"d\u0148ami";case"M":return Y||ie?"mesiac":"mesiacom";case"MM":return Y||ie?De+(w(N)?"mesiace":"mesiacov"):De+"mesiacmi";case"y":return Y||ie?"rok":"rokom";case"yy":return Y||ie?De+(w(N)?"roky":"rokov"):De+"rokmi"}}I.defineLocale("sk",{months:y,monthsShort:D,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},8106:function(re,K,V){!function(I){"use strict";function y(w,M,L,N){var Y=w+" ";switch(L){case"s":return M||N?"nekaj sekund":"nekaj sekundami";case"ss":return Y+(1===w?M?"sekundo":"sekundi":2===w?M||N?"sekundi":"sekundah":w<5?M||N?"sekunde":"sekundah":"sekund");case"m":return M?"ena minuta":"eno minuto";case"mm":return Y+(1===w?M?"minuta":"minuto":2===w?M||N?"minuti":"minutama":w<5?M||N?"minute":"minutami":M||N?"minut":"minutami");case"h":return M?"ena ura":"eno uro";case"hh":return Y+(1===w?M?"ura":"uro":2===w?M||N?"uri":"urama":w<5?M||N?"ure":"urami":M||N?"ur":"urami");case"d":return M||N?"en dan":"enim dnem";case"dd":return Y+(1===w?M||N?"dan":"dnem":2===w?M||N?"dni":"dnevoma":M||N?"dni":"dnevi");case"M":return M||N?"en mesec":"enim mesecem";case"MM":return Y+(1===w?M||N?"mesec":"mesecem":2===w?M||N?"meseca":"mesecema":w<5?M||N?"mesece":"meseci":M||N?"mesecev":"meseci");case"y":return M||N?"eno leto":"enim letom";case"yy":return Y+(1===w?M||N?"leto":"letom":2===w?M||N?"leti":"letoma":w<5?M||N?"leta":"leti":M||N?"let":"leti")}}I.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(5439))},8799:function(re,K,V){!function(I){"use strict";I.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(D){return"M"===D.charAt(0)},meridiem:function(D,w,M){return D<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},2872:function(re,K,V){!function(I){"use strict";var y={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(w,M){return w%10>=1&&w%10<=4&&(w%100<10||w%100>=20)?w%10==1?M[0]:M[1]:M[2]},translate:function(w,M,L,N){var J,Y=y.words[L];return 1===L.length?"y"===L&&M?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":N||M?Y[0]:Y[1]:(J=y.correctGrammaticalCase(w,Y),"yy"===L&&M&&"\u0433\u043e\u0434\u0438\u043d\u0443"===J?w+" \u0433\u043e\u0434\u0438\u043d\u0430":w+" "+J)}};I.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:y.translate,m:y.translate,mm:y.translate,h:y.translate,hh:y.translate,d:y.translate,dd:y.translate,M:y.translate,MM:y.translate,y:y.translate,yy:y.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(5439))},7949:function(re,K,V){!function(I){"use strict";var y={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(w,M){return w%10>=1&&w%10<=4&&(w%100<10||w%100>=20)?w%10==1?M[0]:M[1]:M[2]},translate:function(w,M,L,N){var J,Y=y.words[L];return 1===L.length?"y"===L&&M?"jedna godina":N||M?Y[0]:Y[1]:(J=y.correctGrammaticalCase(w,Y),"yy"===L&&M&&"godinu"===J?w+" godina":w+" "+J)}};I.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:y.translate,m:y.translate,mm:y.translate,h:y.translate,hh:y.translate,d:y.translate,dd:y.translate,M:y.translate,MM:y.translate,y:y.translate,yy:y.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(5439))},6167:function(re,K,V){!function(I){"use strict";I.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(D,w,M){return D<11?"ekuseni":D<15?"emini":D<19?"entsambama":"ebusuku"},meridiemHour:function(D,w){return 12===D&&(D=0),"ekuseni"===w?D:"emini"===w?D>=11?D:D+12:"entsambama"===w||"ebusuku"===w?0===D?0:D+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(V(5439))},9713:function(re,K,V){!function(I){"use strict";I.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?":e":1===w||2===w?":a":":e")},week:{dow:1,doy:4}})}(V(5439))},1982:function(re,K,V){!function(I){"use strict";I.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(V(5439))},2732:function(re,K,V){!function(I){"use strict";var y={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},D={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};I.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(M){return M+"\u0bb5\u0ba4\u0bc1"},preparse:function(M){return M.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(L){return D[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return y[L]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(M,L,N){return M<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":M<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":M<10?" \u0b95\u0bbe\u0bb2\u0bc8":M<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":M<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":M<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(M,L){return 12===M&&(M=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===L?M<2?M:M+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===L||"\u0b95\u0bbe\u0bb2\u0bc8"===L||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===L&&M>=10?M:M+12},week:{dow:0,doy:6}})}(V(5439))},3636:function(re,K,V){!function(I){"use strict";I.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(D,w){return 12===D&&(D=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===w?D<4?D:D+12:"\u0c09\u0c26\u0c2f\u0c02"===w?D:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===w?D>=10?D:D+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===w?D+12:void 0},meridiem:function(D,w,M){return D<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":D<10?"\u0c09\u0c26\u0c2f\u0c02":D<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":D<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(V(5439))},2115:function(re,K,V){!function(I){"use strict";I.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(V(5439))},9801:function(re,K,V){!function(I){"use strict";var y={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};I.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(w,M){return 12===w&&(w=0),"\u0448\u0430\u0431"===M?w<4?w:w+12:"\u0441\u0443\u0431\u04b3"===M?w:"\u0440\u04ef\u0437"===M?w>=11?w:w+12:"\u0431\u0435\u0433\u043e\u04b3"===M?w+12:void 0},meridiem:function(w,M,L){return w<4?"\u0448\u0430\u0431":w<11?"\u0441\u0443\u0431\u04b3":w<16?"\u0440\u04ef\u0437":w<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(w){return w+(y[w]||y[w%10]||y[w>=100?100:null])},week:{dow:1,doy:7}})}(V(5439))},2868:function(re,K,V){!function(I){"use strict";I.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(D){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===D},meridiem:function(D,w,M){return D<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(V(5439))},1310:function(re,K,V){!function(I){"use strict";var y={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};I.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(w,M){switch(M){case"d":case"D":case"Do":case"DD":return w;default:if(0===w)return w+"'unjy";var L=w%10;return w+(y[L]||y[w%100-L]||y[w>=100?100:null])}},week:{dow:1,doy:7}})}(V(5439))},2360:function(re,K,V){!function(I){"use strict";I.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(D){return D},week:{dow:1,doy:4}})}(V(5439))},6645:function(re,K,V){!function(I){"use strict";var y="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function M(Y,J,ie,De){var _e=function L(Y){var J=Math.floor(Y%1e3/100),ie=Math.floor(Y%100/10),De=Y%10,_e="";return J>0&&(_e+=y[J]+"vatlh"),ie>0&&(_e+=(""!==_e?" ":"")+y[ie]+"maH"),De>0&&(_e+=(""!==_e?" ":"")+y[De]),""===_e?"pagh":_e}(Y);switch(ie){case"ss":return _e+" lup";case"mm":return _e+" tup";case"hh":return _e+" rep";case"dd":return _e+" jaj";case"MM":return _e+" jar";case"yy":return _e+" DIS"}}I.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function D(Y){var J=Y;return-1!==Y.indexOf("jaj")?J.slice(0,-3)+"leS":-1!==Y.indexOf("jar")?J.slice(0,-3)+"waQ":-1!==Y.indexOf("DIS")?J.slice(0,-3)+"nem":J+" pIq"},past:function w(Y){var J=Y;return-1!==Y.indexOf("jaj")?J.slice(0,-3)+"Hu\u2019":-1!==Y.indexOf("jar")?J.slice(0,-3)+"wen":-1!==Y.indexOf("DIS")?J.slice(0,-3)+"ben":J+" ret"},s:"puS lup",ss:M,m:"wa\u2019 tup",mm:M,h:"wa\u2019 rep",hh:M,d:"wa\u2019 jaj",dd:M,M:"wa\u2019 jar",MM:M,y:"wa\u2019 DIS",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},8374:function(re,K,V){!function(I){"use strict";var y={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};I.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(w,M,L){return w<12?L?"\xf6\xf6":"\xd6\xd6":L?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(w){return"\xf6s"===w||"\xd6S"===w},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(w,M){switch(M){case"d":case"D":case"Do":case"DD":return w;default:if(0===w)return w+"'\u0131nc\u0131";var L=w%10;return w+(y[L]||y[w%100-L]||y[w>=100?100:null])}},week:{dow:1,doy:7}})}(V(5439))},256:function(re,K,V){!function(I){"use strict";function D(w,M,L,N){var Y={s:["viensas secunds","'iensas secunds"],ss:[w+" secunds",w+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[w+" m\xeduts",w+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[w+" \xfeoras",w+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[w+" ziuas",w+" ziuas"],M:["'n mes","'iens mes"],MM:[w+" mesen",w+" mesen"],y:["'n ar","'iens ar"],yy:[w+" ars",w+" ars"]};return N||M?Y[L][0]:Y[L][1]}I.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(w){return"d'o"===w.toLowerCase()},meridiem:function(w,M,L){return w>11?L?"d'o":"D'O":L?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(5439))},1631:function(re,K,V){!function(I){"use strict";I.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(V(5439))},1595:function(re,K,V){!function(I){"use strict";I.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(V(5439))},6050:function(re,K,V){!function(I){"use strict";I.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(D,w){return 12===D&&(D=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===w||"\u0633\u06d5\u06be\u06d5\u0631"===w||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===w?D:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===w||"\u0643\u06d5\u0686"===w?D+12:D>=11?D:D+12},meridiem:function(D,w,M){var L=100*D+w;return L<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":L<900?"\u0633\u06d5\u06be\u06d5\u0631":L<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":L<1230?"\u0686\u06c8\u0634":L<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(D,w){switch(w){case"d":case"D":case"DDD":return D+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return D+"-\u06be\u06d5\u067e\u062a\u06d5";default:return D}},preparse:function(D){return D.replace(/\u060c/g,",")},postformat:function(D){return D.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(V(5439))},5610:function(re,K,V){!function(I){"use strict";function D(N,Y,J){return"m"===J?Y?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===J?Y?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":N+" "+function y(N,Y){var J=N.split("_");return Y%10==1&&Y%100!=11?J[0]:Y%10>=2&&Y%10<=4&&(Y%100<10||Y%100>=20)?J[1]:J[2]}({ss:Y?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:Y?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:Y?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[J],+N)}function M(N){return function(){return N+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}I.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function w(N,Y){var J={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===N?J.nominative.slice(1,7).concat(J.nominative.slice(0,1)):N?J[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(Y)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(Y)?"genitive":"nominative"][N.day()]:J.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:M("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:M("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:M("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:M("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return M("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return M("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:D,m:D,mm:D,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:D,d:"\u0434\u0435\u043d\u044c",dd:D,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:D,y:"\u0440\u0456\u043a",yy:D},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(N){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(N)},meridiem:function(N,Y,J){return N<4?"\u043d\u043e\u0447\u0456":N<12?"\u0440\u0430\u043d\u043a\u0443":N<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(N,Y){switch(Y){case"M":case"d":case"DDD":case"w":case"W":return N+"-\u0439";case"D":return N+"-\u0433\u043e";default:return N}},week:{dow:1,doy:7}})}(V(5439))},6077:function(re,K,V){!function(I){"use strict";var y=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],D=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];I.defineLocale("ur",{months:y,monthsShort:y,weekdays:D,weekdaysShort:D,weekdaysMin:D,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(M){return"\u0634\u0627\u0645"===M},meridiem:function(M,L,N){return M<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(M){return M.replace(/\u060c/g,",")},postformat:function(M){return M.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(V(5439))},2207:function(re,K,V){!function(I){"use strict";I.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(V(5439))},2862:function(re,K,V){!function(I){"use strict";I.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(V(5439))},8093:function(re,K,V){!function(I){"use strict";I.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(D){return/^ch$/i.test(D)},meridiem:function(D,w,M){return D<12?M?"sa":"SA":M?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(D){return D},week:{dow:1,doy:4}})}(V(5439))},5590:function(re,K,V){!function(I){"use strict";I.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(D){var w=D%10;return D+(1==~~(D%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(V(5439))},9058:function(re,K,V){!function(I){"use strict";I.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(V(5439))},7908:function(re,K,V){!function(I){"use strict";I.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,w){return 12===D&&(D=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?D:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?D+12:D>=11?D:D+12},meridiem:function(D,w,M){var L=100*D+w;return L<600?"\u51cc\u6668":L<900?"\u65e9\u4e0a":L<1130?"\u4e0a\u5348":L<1230?"\u4e2d\u5348":L<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(D){return D.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(D){return this.week()!==D.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(D,w){switch(w){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u5468";default:return D}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(V(5439))},8867:function(re,K,V){!function(I){"use strict";I.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,w){return 12===D&&(D=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?D:"\u4e2d\u5348"===w?D>=11?D:D+12:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?D+12:void 0},meridiem:function(D,w,M){var L=100*D+w;return L<600?"\u51cc\u6668":L<900?"\u65e9\u4e0a":L<1200?"\u4e0a\u5348":1200===L?"\u4e2d\u5348":L<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(D,w){switch(w){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u9031";default:return D}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(V(5439))},1133:function(re,K,V){!function(I){"use strict";I.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,w){return 12===D&&(D=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?D:"\u4e2d\u5348"===w?D>=11?D:D+12:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?D+12:void 0},meridiem:function(D,w,M){var L=100*D+w;return L<600?"\u51cc\u6668":L<900?"\u65e9\u4e0a":L<1130?"\u4e0a\u5348":L<1230?"\u4e2d\u5348":L<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(D,w){switch(w){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u9031";default:return D}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(V(5439))},3291:function(re,K,V){!function(I){"use strict";I.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,w){return 12===D&&(D=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?D:"\u4e2d\u5348"===w?D>=11?D:D+12:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?D+12:void 0},meridiem:function(D,w,M){var L=100*D+w;return L<600?"\u51cc\u6668":L<900?"\u65e9\u4e0a":L<1130?"\u4e0a\u5348":L<1230?"\u4e2d\u5348":L<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(D,w){switch(w){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u9031";default:return D}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(V(5439))},5439:function(re,K,V){(re=V.nmd(re)).exports=function(){"use strict";var I,le;function y(){return I.apply(null,arguments)}function w(f){return f instanceof Array||"[object Array]"===Object.prototype.toString.call(f)}function M(f){return null!=f&&"[object Object]"===Object.prototype.toString.call(f)}function L(f,x){return Object.prototype.hasOwnProperty.call(f,x)}function N(f){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(f).length;var x;for(x in f)if(L(f,x))return!1;return!0}function Y(f){return void 0===f}function J(f){return"number"==typeof f||"[object Number]"===Object.prototype.toString.call(f)}function ie(f){return f instanceof Date||"[object Date]"===Object.prototype.toString.call(f)}function De(f,x){var H,R=[],U=f.length;for(H=0;H>>0;for(H=0;H0)for(R=0;R=0?R?"+":"":"-")+Math.pow(10,Math.max(0,x-H.length)).toString().substr(1)+H}var td=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ds=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ae={},Zi={};function it(f,x,R,H){var U=H;"string"==typeof H&&(U=function(){return this[H]()}),f&&(Zi[f]=U),x&&(Zi[x[0]]=function(){return Kr(U.apply(this,arguments),x[1],x[2])}),R&&(Zi[R]=function(){return this.localeData().ordinal(U.apply(this,arguments),f)})}function zr(f){return f.match(/\[[\s\S]/)?f.replace(/^\[|\]$/g,""):f.replace(/\\/g,"")}function Ys(f,x){return f.isValid()?(x=Je(x,f.localeData()),Ae[x]=Ae[x]||function cr(f){var R,H,x=f.match(td);for(R=0,H=x.length;R=0&&ds.test(f);)f=f.replace(ds,H),ds.lastIndex=0,R-=1;return f}var zu={};function Go(f,x){var R=f.toLowerCase();zu[R]=zu[R+"s"]=zu[x]=f}function si(f){return"string"==typeof f?zu[f]||zu[f.toLowerCase()]:void 0}function __(f){var R,H,x={};for(H in f)L(f,H)&&(R=si(H))&&(x[R]=f[H]);return x}var vb={};function hn(f,x){vb[f]=x}function Yu(f){return f%4==0&&f%100!=0||f%400==0}function Ei(f){return f<0?Math.ceil(f)||0:Math.floor(f)}function Wt(f){var x=+f,R=0;return 0!==x&&isFinite(x)&&(R=Ei(x)),R}function rd(f,x){return function(R){return null!=R?(yb(this,f,R),y.updateOffset(this,x),this):ju(this,f)}}function ju(f,x){return f.isValid()?f._d["get"+(f._isUTC?"UTC":"")+x]():NaN}function yb(f,x,R){f.isValid()&&!isNaN(R)&&("FullYear"===x&&Yu(f.year())&&1===f.month()&&29===f.date()?(R=Wt(R),f._d["set"+(f._isUTC?"UTC":"")+x](R,f.month(),Ku(R,f.month()))):f._d["set"+(f._isUTC?"UTC":"")+x](R))}var sd,bb=/\d/,li=/\d\d/,Uu=/\d{3}/,Wu=/\d{4}/,od=/[+-]?\d{6}/,Yr=/\d\d?/,eg=/\d\d\d\d?/,v_=/\d\d\d\d\d\d?/,nd=/\d{1,3}/,Gu=/\d{1,4}/,id=/[+-]?\d{1,6}/,Ws=/\d+/,ao=/[+-]?\d+/,Cb=/Z|[+-]\d\d:?\d\d/gi,qu=/Z|[+-]\d\d(?::?\d\d)?/gi,ad=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function et(f,x,R){sd[f]=rt(x)?x:function(H,U){return H&&R?R:x}}function xb(f,x){return L(sd,f)?sd[f](x._strict,x._locale):new RegExp(function wa(f){return Bn(f.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(x,R,H,U,te){return R||H||U||te}))}(f))}function Bn(f){return f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}sd={};var yo={};function dr(f,x){var R,U,H=x;for("string"==typeof f&&(f=[f]),J(x)&&(H=function(te,he){he[x]=Wt(te)}),U=f.length,R=0;R68?1900:2e3)};var be=rd("FullYear",!0);function Lt(f,x,R,H,U,te,he){var ht;return f<100&&f>=0?(ht=new Date(f+400,x,R,H,U,te,he),isFinite(ht.getFullYear())&&ht.setFullYear(f)):ht=new Date(f,x,R,H,U,te,he),ht}function er(f){var x,R;return f<100&&f>=0?((R=Array.prototype.slice.call(arguments))[0]=f+400,x=new Date(Date.UTC.apply(null,R)),isFinite(x.getUTCFullYear())&&x.setUTCFullYear(f)):x=new Date(Date.UTC.apply(null,arguments)),x}function ep(f,x,R){var H=7+x-R;return-(7+er(f,0,H).getUTCDay()-x)%7+H-1}function Eb(f,x,R,H,U){var $t,Sr,ht=1+7*(x-1)+(7+R-H)%7+ep(f,H,U);return ht<=0?Sr=Ju($t=f-1)+ht:ht>Ju(f)?($t=f+1,Sr=ht-Ju(f)):($t=f,Sr=ht),{year:$t,dayOfYear:Sr}}function ld(f,x,R){var te,he,H=ep(f.year(),x,R),U=Math.floor((f.dayOfYear()-H-1)/7)+1;return U<1?te=U+ui(he=f.year()-1,x,R):U>ui(f.year(),x,R)?(te=U-ui(f.year(),x,R),he=f.year()+1):(he=f.year(),te=U),{week:te,year:he}}function ui(f,x,R){var H=ep(f,x,R),U=ep(f+1,x,R);return(Ju(f)-H+U)/7}it("w",["ww",2],"wo","week"),it("W",["WW",2],"Wo","isoWeek"),Go("week","w"),Go("isoWeek","W"),hn("week",5),hn("isoWeek",5),et("w",Yr),et("ww",Yr,li),et("W",Yr),et("WW",Yr,li),on(["w","ww","W","WW"],function(f,x,R,H){x[H.substr(0,1)]=Wt(f)});function x_(f,x){return f.slice(x,7).concat(f.slice(0,x))}it("d",0,"do","day"),it("dd",0,0,function(f){return this.localeData().weekdaysMin(this,f)}),it("ddd",0,0,function(f){return this.localeData().weekdaysShort(this,f)}),it("dddd",0,0,function(f){return this.localeData().weekdays(this,f)}),it("e",0,0,"weekday"),it("E",0,0,"isoWeekday"),Go("day","d"),Go("weekday","e"),Go("isoWeekday","E"),hn("day",11),hn("weekday",11),hn("isoWeekday",11),et("d",Yr),et("e",Yr),et("E",Yr),et("dd",function(f,x){return x.weekdaysMinRegex(f)}),et("ddd",function(f,x){return x.weekdaysShortRegex(f)}),et("dddd",function(f,x){return x.weekdaysRegex(f)}),on(["dd","ddd","dddd"],function(f,x,R,H){var U=R._locale.weekdaysParse(f,H,R._strict);null!=U?x.d=U:Q(R).invalidWeekday=f}),on(["d","e","E"],function(f,x,R,H){x[H]=Wt(f)});var Fb="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Sb="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pb="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xT=ad,Hn=ad,wr=ad;function se(f,x,R){var H,U,te,he=f.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],H=0;H<7;++H)te=Fe([2e3,1]).day(H),this._minWeekdaysParse[H]=this.weekdaysMin(te,"").toLocaleLowerCase(),this._shortWeekdaysParse[H]=this.weekdaysShort(te,"").toLocaleLowerCase(),this._weekdaysParse[H]=this.weekdays(te,"").toLocaleLowerCase();return R?"dddd"===x?-1!==(U=bo.call(this._weekdaysParse,he))?U:null:"ddd"===x?-1!==(U=bo.call(this._shortWeekdaysParse,he))?U:null:-1!==(U=bo.call(this._minWeekdaysParse,he))?U:null:"dddd"===x?-1!==(U=bo.call(this._weekdaysParse,he))||-1!==(U=bo.call(this._shortWeekdaysParse,he))||-1!==(U=bo.call(this._minWeekdaysParse,he))?U:null:"ddd"===x?-1!==(U=bo.call(this._shortWeekdaysParse,he))||-1!==(U=bo.call(this._weekdaysParse,he))||-1!==(U=bo.call(this._minWeekdaysParse,he))?U:null:-1!==(U=bo.call(this._minWeekdaysParse,he))||-1!==(U=bo.call(this._weekdaysParse,he))||-1!==(U=bo.call(this._shortWeekdaysParse,he))?U:null}function rp(){function f(ko,Pa){return Pa.length-ko.length}var te,he,ht,$t,Sr,x=[],R=[],H=[],U=[];for(te=0;te<7;te++)he=Fe([2e3,1]).day(te),ht=Bn(this.weekdaysMin(he,"")),$t=Bn(this.weekdaysShort(he,"")),Sr=Bn(this.weekdays(he,"")),x.push(ht),R.push($t),H.push(Sr),U.push(ht),U.push($t),U.push(Sr);x.sort(f),R.sort(f),H.sort(f),U.sort(f),this._weekdaysRegex=new RegExp("^("+U.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+H.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+R.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+x.join("|")+")","i")}function Wl(){return this.hours()%12||12}function ig(f,x){it(f,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),x)})}function M_(f,x){return x._meridiemParse}it("H",["HH",2],0,"hour"),it("h",["hh",2],0,Wl),it("k",["kk",2],0,function ng(){return this.hours()||24}),it("hmm",0,0,function(){return""+Wl.apply(this)+Kr(this.minutes(),2)}),it("hmmss",0,0,function(){return""+Wl.apply(this)+Kr(this.minutes(),2)+Kr(this.seconds(),2)}),it("Hmm",0,0,function(){return""+this.hours()+Kr(this.minutes(),2)}),it("Hmmss",0,0,function(){return""+this.hours()+Kr(this.minutes(),2)+Kr(this.seconds(),2)}),ig("a",!0),ig("A",!1),Go("hour","h"),hn("hour",13),et("a",M_),et("A",M_),et("H",Yr),et("h",Yr),et("k",Yr),et("HH",Yr,li),et("hh",Yr,li),et("kk",Yr,li),et("hmm",eg),et("hmmss",v_),et("Hmm",eg),et("Hmmss",v_),dr(["H","HH"],3),dr(["k","kk"],function(f,x,R){var H=Wt(f);x[3]=24===H?0:H}),dr(["a","A"],function(f,x,R){R._isPm=R._locale.isPM(f),R._meridiem=f}),dr(["h","hh"],function(f,x,R){x[3]=Wt(f),Q(R).bigHour=!0}),dr("hmm",function(f,x,R){var H=f.length-2;x[3]=Wt(f.substr(0,H)),x[4]=Wt(f.substr(H)),Q(R).bigHour=!0}),dr("hmmss",function(f,x,R){var H=f.length-4,U=f.length-2;x[3]=Wt(f.substr(0,H)),x[4]=Wt(f.substr(H,2)),x[5]=Wt(f.substr(U)),Q(R).bigHour=!0}),dr("Hmm",function(f,x,R){var H=f.length-2;x[3]=Wt(f.substr(0,H)),x[4]=Wt(f.substr(H))}),dr("Hmmss",function(f,x,R){var H=f.length-4,U=f.length-2;x[3]=Wt(f.substr(0,H)),x[4]=Wt(f.substr(H,2)),x[5]=Wt(f.substr(U))});var Rb=rd("Hours",!0);var mn,sg={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:b_,monthsShort:C_,week:{dow:0,doy:6},weekdays:Fb,weekdaysMin:Pb,weekdaysShort:Sb,meridiemParse:/[ap]\.?m?\.?/i},so={},hi={};function TT(f,x){var R,H=Math.min(f.length,x.length);for(R=0;R0;){if(U=lg(te.slice(0,R).join("-")))return U;if(H&&H.length>=R&&TT(te,H)>=R-1)break;R--}x++}return mn}(f)}function cd(f){var x,R=f._a;return R&&-2===Q(f).overflow&&(x=R[1]<0||R[1]>11?1:R[2]<1||R[2]>Ku(R[0],R[1])?2:R[3]<0||R[3]>24||24===R[3]&&(0!==R[4]||0!==R[5]||0!==R[6])?3:R[4]<0||R[4]>59?4:R[5]<0||R[5]>59?5:R[6]<0||R[6]>999?6:-1,Q(f)._overflowDayOfYear&&(x<0||x>2)&&(x=2),Q(f)._overflowWeeks&&-1===x&&(x=7),Q(f)._overflowWeekday&&-1===x&&(x=8),Q(f).overflow=x),f}var k_=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ma=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dd=/Z|[+-]\d\d(?::?\d\d)?/,op=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ne=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ud=/^\/?Date\((-?\d+)/i,E_=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,T_={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function We(f){var x,R,te,he,ht,$t,H=f._i,U=k_.exec(H)||Ma.exec(H),Sr=op.length,ko=ne.length;if(U){for(Q(f).iso=!0,x=0,R=Sr;x7)&&($t=!0)):(te=f._locale._week.dow,he=f._locale._week.doy,Sr=ld(Tr(),te,he),R=Fi(x.gg,f._a[0],Sr.year),H=Fi(x.w,Sr.week),null!=x.d?((U=x.d)<0||U>6)&&($t=!0):null!=x.e?(U=x.e+te,(x.e<0||x.e>6)&&($t=!0)):U=te),H<1||H>ui(R,te,he)?Q(f)._overflowWeeks=!0:null!=$t?Q(f)._overflowWeekday=!0:(ht=Eb(R,H,U,te,he),f._a[0]=ht.year,f._dayOfYear=ht.dayOfYear)}(f),null!=f._dayOfYear&&(he=Fi(f._a[0],U[0]),(f._dayOfYear>Ju(he)||0===f._dayOfYear)&&(Q(f)._overflowDayOfYear=!0),R=er(he,0,f._dayOfYear),f._a[1]=R.getUTCMonth(),f._a[2]=R.getUTCDate()),x=0;x<3&&null==f._a[x];++x)f._a[x]=H[x]=U[x];for(;x<7;x++)f._a[x]=H[x]=f._a[x]??(2===x?1:0);24===f._a[3]&&0===f._a[4]&&0===f._a[5]&&0===f._a[6]&&(f._nextDay=!0,f._a[3]=0),f._d=(f._useUTC?er:Lt).apply(null,H),te=f._useUTC?f._d.getUTCDay():f._d.getDay(),null!=f._tzm&&f._d.setUTCMinutes(f._d.getUTCMinutes()-f._tzm),f._nextDay&&(f._a[3]=24),f._w&&typeof f._w.d<"u"&&f._w.d!==te&&(Q(f).weekdayMismatch=!0)}}function Bt(f){if(f._f!==y.ISO_8601)if(f._f!==y.RFC_2822){f._a=[],Q(f).empty=!0;var R,H,U,te,he,Sr,ko,x=""+f._i,ht=x.length,$t=0;for(ko=(U=Je(f._f,f._locale).match(td)||[]).length,R=0;R0&&Q(f).unusedInput.push(he),x=x.slice(x.indexOf(H)+H.length),$t+=H.length),Zi[te]?(H?Q(f).empty=!1:Q(f).unusedTokens.push(te),_T(te,H,f)):f._strict&&!H&&Q(f).unusedTokens.push(te);Q(f).charsLeftOver=ht-$t,x.length>0&&Q(f).unusedInput.push(x),f._a[3]<=12&&!0===Q(f).bigHour&&f._a[3]>0&&(Q(f).bigHour=void 0),Q(f).parsedDateParts=f._a.slice(0),Q(f).meridiem=f._meridiem,f._a[3]=function eo(f,x,R){var H;return null==R?x:null!=f.meridiemHour?f.meridiemHour(x,R):(null!=f.isPM&&((H=f.isPM(R))&&x<12&&(x+=12),!H&&12===x&&(x=0)),x)}(f._locale,f._a[3],f._meridiem),null!==(Sr=Q(f).era)&&(f._a[0]=f._locale.erasConvertYear(Sr,f._a[0])),Mn(f),cd(f)}else an(f);else We(f)}function hs(f){var x=f._i,R=f._f;return f._locale=f._locale||gi(f._l),null===x||void 0===R&&""===x?ke({nullInput:!0}):("string"==typeof x&&(f._i=x=f._locale.preparse(x)),Pe(x)?new at(cd(x)):(ie(x)?f._d=x:w(R)?function $n(f){var x,R,H,U,te,he,ht=!1,$t=f._f.length;if(0===$t)return Q(f).invalidFormat=!0,void(f._d=new Date(NaN));for(U=0;U<$t;U++)te=0,he=!1,x=je({},f),null!=f._useUTC&&(x._useUTC=f._useUTC),x._f=f._f[U],Bt(x),pe(x)&&(he=!0),te+=Q(x).charsLeftOver,te+=10*Q(x).unusedTokens.length,Q(x).score=te,ht?tethis?this:f:ke()});function Ks(f,x){var R,H;if(1===x.length&&w(x[0])&&(x=x[0]),!x.length)return Tr();for(R=x[0],H=1;H=0?new Date(f+400,x,R)-gd:new Date(f,x,R).valueOf()}function cp(f,x,R){return f<100&&f>=0?Date.UTC(f+400,x,R)-gd:Date.UTC(f,x,R)}function up(f,x){return x.erasAbbrRegex(f)}function fd(){var U,te,f=[],x=[],R=[],H=[],he=this.eras();for(U=0,te=he.length;U(te=ui(f,H,U))&&(x=te),Fa.call(this,f,x,R,H,U))}function Fa(f,x,R,H,U){var te=Eb(f,x,R,H,U),he=er(te.year,0,te.dayOfYear);return this.year(he.getUTCFullYear()),this.month(he.getUTCMonth()),this.date(he.getUTCDate()),this}it("N",0,0,"eraAbbr"),it("NN",0,0,"eraAbbr"),it("NNN",0,0,"eraAbbr"),it("NNNN",0,0,"eraName"),it("NNNNN",0,0,"eraNarrow"),it("y",["y",1],"yo","eraYear"),it("y",["yy",2],0,"eraYear"),it("y",["yyy",3],0,"eraYear"),it("y",["yyyy",4],0,"eraYear"),et("N",up),et("NN",up),et("NNN",up),et("NNNN",function md(f,x){return x.erasNameRegex(f)}),et("NNNNN",function Qi(f,x){return x.erasNarrowRegex(f)}),dr(["N","NN","NNN","NNNN","NNNNN"],function(f,x,R,H){var U=R._locale.erasParse(f,H,R._strict);U?Q(R).era=U:Q(R).invalidEra=f}),et("y",Ws),et("yy",Ws),et("yyy",Ws),et("yyyy",Ws),et("yo",function yg(f,x){return x._eraYearOrdinalRegex||Ws}),dr(["y","yy","yyy","yyyy"],0),dr(["yo"],function(f,x,R,H){var U;R._locale._eraYearOrdinalRegex&&(U=f.match(R._locale._eraYearOrdinalRegex)),x[0]=R._locale.eraYearOrdinalParse?R._locale.eraYearOrdinalParse(f,U):parseInt(f,10)}),it(0,["gg",2],0,function(){return this.weekYear()%100}),it(0,["GG",2],0,function(){return this.isoWeekYear()%100}),bg("gggg","weekYear"),bg("ggggg","weekYear"),bg("GGGG","isoWeekYear"),bg("GGGGG","isoWeekYear"),Go("weekYear","gg"),Go("isoWeekYear","GG"),hn("weekYear",1),hn("isoWeekYear",1),et("G",ao),et("g",ao),et("GG",Yr,li),et("gg",Yr,li),et("GGGG",Gu,Wu),et("gggg",Gu,Wu),et("GGGGG",id,od),et("ggggg",id,od),on(["gggg","ggggg","GGGG","GGGGG"],function(f,x,R,H){x[H.substr(0,2)]=Wt(f)}),on(["gg","GG"],function(f,x,R,H){x[H]=y.parseTwoDigitYear(f)}),it("Q",0,"Qo","quarter"),Go("quarter","Q"),hn("quarter",7),et("Q",bb),dr("Q",function(f,x){x[1]=3*(Wt(f)-1)}),it("D",["DD",2],"Do","date"),Go("date","D"),hn("date",9),et("D",Yr),et("DD",Yr,li),et("Do",function(f,x){return f?x._dayOfMonthOrdinalParse||x._ordinalParse:x._dayOfMonthOrdinalParseLenient}),dr(["D","DD"],2),dr("Do",function(f,x){x[2]=Wt(f.match(Yr)[0])});var Cg=rd("Date",!0);it("DDD",["DDDD",3],"DDDo","dayOfYear"),Go("dayOfYear","DDD"),hn("dayOfYear",4),et("DDD",nd),et("DDDD",Uu),dr(["DDD","DDDD"],function(f,x,R){R._dayOfYear=Wt(f)}),it("m",["mm",2],0,"minute"),Go("minute","m"),hn("minute",14),et("m",Yr),et("mm",Yr,li),dr(["m","mm"],4);var c2=rd("Minutes",!1);it("s",["ss",2],0,"second"),Go("second","s"),hn("second",15),et("s",Yr),et("ss",Yr,li),dr(["s","ss"],5);var ea,xg,wg=rd("Seconds",!1);for(it("S",0,0,function(){return~~(this.millisecond()/100)}),it(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),it(0,["SSS",3],0,"millisecond"),it(0,["SSSS",4],0,function(){return 10*this.millisecond()}),it(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),it(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),it(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),it(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),it(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Go("millisecond","ms"),hn("millisecond",16),et("S",nd,bb),et("SS",nd,li),et("SSS",nd,Uu),ea="SSSS";ea.length<=9;ea+="S")et(ea,Ws);function Dg(f,x){x[6]=Wt(1e3*("0."+f))}for(ea="S";ea.length<=9;ea+="S")dr(ea,Dg);xg=rd("Milliseconds",!1),it("z",0,0,"zoneAbbr"),it("zz",0,0,"zoneName");var Ie=at.prototype;function Mg(f){return f}Ie.add=IT,Ie.calendar=function gg(f,x){1===arguments.length&&(arguments[0]?OT(arguments[0])?(f=arguments[0],x=void 0):BT(arguments[0])&&(x=arguments[0],f=void 0):(f=void 0,x=void 0));var R=f||Tr(),H=Zl(R,this).startOf("day"),U=y.calendarFormat(this,H)||"sameElse",te=x&&(rt(x[U])?x[U].call(this,R):x[U]);return this.format(te||this.localeData().calendar(U,this,Tr(R)))},Ie.clone=function NT(){return new at(this)},Ie.diff=function Gb(f,x,R){var H,U,te;if(!this.isValid())return NaN;if(!(H=Zl(f,this)).isValid())return NaN;switch(U=6e4*(H.utcOffset()-this.utcOffset()),x=si(x)){case"year":te=sp(this,H)/12;break;case"month":te=sp(this,H);break;case"quarter":te=sp(this,H)/3;break;case"second":te=(this-H)/1e3;break;case"minute":te=(this-H)/6e4;break;case"hour":te=(this-H)/36e5;break;case"day":te=(this-H-U)/864e5;break;case"week":te=(this-H-U)/6048e5;break;default:te=this-H}return R?te:Ei(te)},Ie.endOf=function zn(f){var x,R;if(void 0===(f=si(f))||"millisecond"===f||!this.isValid())return this;switch(R=this._isUTC?cp:L_,f){case"year":x=R(this.year()+1,0,1)-1;break;case"quarter":x=R(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":x=R(this.year(),this.month()+1,1)-1;break;case"week":x=R(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":x=R(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":x=R(this.year(),this.month(),this.date()+1)-1;break;case"hour":x=this._d.valueOf(),x+=_g-qo(x+(this._isUTC?0:this.utcOffset()*Jl),_g)-1;break;case"minute":x=this._d.valueOf(),x+=Jl-qo(x,Jl)-1;break;case"second":x=this._d.valueOf(),x+=1e3-qo(x,1e3)-1}return this._d.setTime(x),y.updateOffset(this,!0),this},Ie.format=function mg(f){f||(f=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var x=Ys(this,f);return this.localeData().postformat(x)},Ie.from=function Kb(f,x){return this.isValid()&&(Pe(f)&&f.isValid()||Tr(f).isValid())?Ji({to:this,from:f}).locale(this.locale()).humanize(!x):this.localeData().invalidDate()},Ie.fromNow=function mi(f){return this.from(Tr(),f)},Ie.to=function fg(f,x){return this.isValid()&&(Pe(f)&&f.isValid()||Tr(f).isValid())?Ji({from:this,to:f}).locale(this.locale()).humanize(!x):this.localeData().invalidDate()},Ie.toNow=function Zb(f){return this.to(Tr(),f)},Ie.get=function mT(f){return rt(this[f=si(f)])?this[f]():this},Ie.invalidAt=function $T(){return Q(this).overflow},Ie.isAfter=function HT(f,x){var R=Pe(f)?f:Tr(f);return!(!this.isValid()||!R.isValid())&&("millisecond"===(x=si(x)||"millisecond")?this.valueOf()>R.valueOf():R.valueOf()9999?Ys(R,x?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):rt(Date.prototype.toISOString)?x?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Ys(R,"Z")):Ys(R,x?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ie.inspect=function qb(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var R,H,f="moment",x="";return this.isLocal()||(f=0===this.utcOffset()?"moment.utc":"moment.parseZone",x="Z"),R="["+f+'("]',H=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(R+H+"-MM-DD[T]HH:mm:ss.SSS"+x+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ie.toJSON=function vg(){return this.isValid()?this.toISOString():null},Ie.toString=function A_(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ie.unix=function dp(){return Math.floor(this.valueOf()/1e3)},Ie.valueOf=function Jb(){return this._d.valueOf()-6e4*(this._offset||0)},Ie.creationData=function e2(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ie.eraName=function o2(){var f,x,R,H=this.localeData().eras();for(f=0,x=H.length;fthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ie.isLocal=function Vb(){return!!this.isValid()&&!this._isUTC},Ie.isUtcOffset=function FT(){return!!this.isValid()&&this._isUTC},Ie.isUtc=S_,Ie.isUTC=S_,Ie.zoneAbbr=function d2(){return this._isUTC?"UTC":""},Ie.zoneName=function z_(){return this._isUTC?"Coordinated Universal Time":""},Ie.dates=Le("dates accessor is deprecated. Use date instead.",Cg),Ie.months=Le("months accessor is deprecated. Use month instead",Zu),Ie.years=Le("years accessor is deprecated. Use year instead",be),Ie.zone=Le("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Hb(f,x){return null!=f?("string"!=typeof f&&(f=-f),this.utcOffset(f,x),this):-this.utcOffset()}),Ie.isDSTShifted=Le("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Ii(){if(!Y(this._isDSTShifted))return this._isDSTShifted;var x,f={};return je(f,this),(f=hs(f))._a?(x=f._isUTC?Fe(f._a):Tr(f._a),this._isDSTShifted=this.isValid()&&function Nb(f,x,R){var he,H=Math.min(f.length,x.length),U=Math.abs(f.length-x.length),te=0;for(he=0;he0):this._isDSTShifted=!1,this._isDSTShifted});var pr=wt.prototype;function ec(f,x,R,H){var U=gi(),te=Fe().set(H,x);return U[R](te,f)}function U_(f,x,R){if(J(f)&&(x=f,f=void 0),f=f||"",null!=x)return ec(f,x,R,"month");var H,U=[];for(H=0;H<12;H++)U[H]=ec(f,H,R,"month");return U}function kg(f,x,R,H){"boolean"==typeof f?(J(x)&&(R=x,x=void 0),x=x||""):(R=x=f,f=!1,J(x)&&(R=x,x=void 0),x=x||"");var he,U=gi(),te=f?U._week.dow:0,ht=[];if(null!=R)return ec(x,(R+te)%7,H,"day");for(he=0;he<7;he++)ht[he]=ec(x,(he+te)%7,H,"day");return ht}pr.calendar=function Ki(f,x,R){var H=this._calendar[f]||this._calendar.sameElse;return rt(H)?H.call(x,R):H},pr.longDateFormat=function js(f){var x=this._longDateFormat[f],R=this._longDateFormat[f.toUpperCase()];return x||!R?x:(this._longDateFormat[f]=R.match(td).map(function(H){return"MMMM"===H||"MM"===H||"DD"===H||"dddd"===H?H.slice(1):H}).join(""),this._longDateFormat[f])},pr.invalidDate=function dT(){return this._invalidDate},pr.ordinal=function hT(f){return this._ordinal.replace("%d",f)},pr.preparse=Mg,pr.postformat=Mg,pr.relativeTime=function gT(f,x,R,H){var U=this._relativeTime[R];return rt(U)?U(f,x,R,H):U.replace(/%d/i,f)},pr.pastFuture=function f_(f,x){var R=this._relativeTime[f>0?"future":"past"];return rt(R)?R(x):R.replace(/%s/i,x)},pr.set=function tt(f){var x,R;for(R in f)L(f,R)&&(rt(x=f[R])?this[R]=x:this["_"+R]=x);this._config=f,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},pr.eras=function t2(f,x){var R,H,U,te=this._eras||gi("en")._eras;for(R=0,H=te.length;R=0)return te[H]},pr.erasConvertYear=function H_(f,x){var R=f.since<=f.until?1:-1;return void 0===x?y(f.since).year():y(f.since).year()+(x-f.offset)*R},pr.erasAbbrRegex=function S(f){return L(this,"_erasAbbrRegex")||fd.call(this),f?this._erasAbbrRegex:this._erasRegex},pr.erasNameRegex=function F(f){return L(this,"_erasNameRegex")||fd.call(this),f?this._erasNameRegex:this._erasRegex},pr.erasNarrowRegex=function Lo(f){return L(this,"_erasNarrowRegex")||fd.call(this),f?this._erasNarrowRegex:this._erasRegex},pr.months=function tg(f,x){return f?w(this._months)?this._months[f.month()]:this._months[(this._months.isFormat||w_).test(x)?"format":"standalone"][f.month()]:w(this._months)?this._months:this._months.standalone},pr.monthsShort=function rg(f,x){return f?w(this._monthsShort)?this._monthsShort[f.month()]:this._monthsShort[w_.test(x)?"format":"standalone"][f.month()]:w(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},pr.monthsParse=function og(f,x,R){var H,U,te;if(this._monthsParseExact)return Hr.call(this,f,x,R);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),H=0;H<12;H++){if(U=Fe([2e3,H]),R&&!this._longMonthsParse[H]&&(this._longMonthsParse[H]=new RegExp("^"+this.months(U,"").replace(".","")+"$","i"),this._shortMonthsParse[H]=new RegExp("^"+this.monthsShort(U,"").replace(".","")+"$","i")),!R&&!this._monthsParse[H]&&(te="^"+this.months(U,"")+"|^"+this.monthsShort(U,""),this._monthsParse[H]=new RegExp(te.replace(".",""),"i")),R&&"MMMM"===x&&this._longMonthsParse[H].test(f))return H;if(R&&"MMM"===x&&this._shortMonthsParse[H].test(f))return H;if(!R&&this._monthsParse[H].test(f))return H}},pr.monthsRegex=function Et(f){return this._monthsParseExact?(L(this,"_monthsRegex")||Xu.call(this),f?this._monthsStrictRegex:this._monthsRegex):(L(this,"_monthsRegex")||(this._monthsRegex=di),this._monthsStrictRegex&&f?this._monthsStrictRegex:this._monthsRegex)},pr.monthsShortRegex=function Gt(f){return this._monthsParseExact?(L(this,"_monthsRegex")||Xu.call(this),f?this._monthsShortStrictRegex:this._monthsShortRegex):(L(this,"_monthsShortRegex")||(this._monthsShortRegex=Co),this._monthsShortStrictRegex&&f?this._monthsShortStrictRegex:this._monthsShortRegex)},pr.week=function Nn(f){return ld(f,this._week.dow,this._week.doy).week},pr.firstDayOfYear=function yT(){return this._week.doy},pr.firstDayOfWeek=function Tb(){return this._week.dow},pr.weekdays=function DT(f,x){var R=w(this._weekdays)?this._weekdays:this._weekdays[f&&!0!==f&&this._weekdays.isFormat.test(x)?"format":"standalone"];return!0===f?x_(R,this._week.dow):f?R[f.day()]:R},pr.weekdaysMin=function kT(f){return!0===f?x_(this._weekdaysMin,this._week.dow):f?this._weekdaysMin[f.day()]:this._weekdaysMin},pr.weekdaysShort=function MT(f){return!0===f?x_(this._weekdaysShort,this._week.dow):f?this._weekdaysShort[f.day()]:this._weekdaysShort},pr.weekdaysParse=function ET(f,x,R){var H,U,te;if(this._weekdaysParseExact)return se.call(this,f,x,R);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),H=0;H<7;H++){if(U=Fe([2e3,1]).day(H),R&&!this._fullWeekdaysParse[H]&&(this._fullWeekdaysParse[H]=new RegExp("^"+this.weekdays(U,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[H]=new RegExp("^"+this.weekdaysShort(U,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[H]=new RegExp("^"+this.weekdaysMin(U,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[H]||(te="^"+this.weekdays(U,"")+"|^"+this.weekdaysShort(U,"")+"|^"+this.weekdaysMin(U,""),this._weekdaysParse[H]=new RegExp(te.replace(".",""),"i")),R&&"dddd"===x&&this._fullWeekdaysParse[H].test(f))return H;if(R&&"ddd"===x&&this._shortWeekdaysParse[H].test(f))return H;if(R&&"dd"===x&&this._minWeekdaysParse[H].test(f))return H;if(!R&&this._weekdaysParse[H].test(f))return H}},pr.weekdaysRegex=function D_(f){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||rp.call(this),f?this._weekdaysStrictRegex:this._weekdaysRegex):(L(this,"_weekdaysRegex")||(this._weekdaysRegex=xT),this._weekdaysStrictRegex&&f?this._weekdaysStrictRegex:this._weekdaysRegex)},pr.weekdaysShortRegex=function Ab(f){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||rp.call(this),f?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(L(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Hn),this._weekdaysShortStrictRegex&&f?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},pr.weekdaysMinRegex=function Ob(f){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||rp.call(this),f?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(L(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=wr),this._weekdaysMinStrictRegex&&f?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},pr.isPM=function xt(f){return"p"===(f+"").toLowerCase().charAt(0)},pr.meridiem=function pi(f,x,R){return f>11?R?"pm":"PM":R?"am":"AM"},Gs("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(f){var x=f%10;return f+(1===Wt(f%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")}}),y.lang=Le("moment.lang is deprecated. Use moment.locale instead.",Gs),y.langData=Le("moment.langData is deprecated. Use moment.localeData instead.",gi);var ta=Math.abs;function W_(f,x,R,H){var U=Ji(x,R);return f._milliseconds+=H*U._milliseconds,f._days+=H*U._days,f._months+=H*U._months,f._bubble()}function vd(f){return f<0?Math.floor(f):Math.ceil(f)}function gp(f){return 4800*f/146097}function mp(f){return 146097*f/4800}function Yn(f){return function(){return this.as(f)}}var m2=Yn("ms"),f2=Yn("s"),yd=Yn("m"),Eg=Yn("h"),_2=Yn("d"),v2=Yn("w"),YT=Yn("M"),jT=Yn("Q"),fp=Yn("y");function ra(f){return function(){return this.isValid()?this._data[f]:NaN}}var K_=ra("milliseconds"),Z_=ra("seconds"),tc=ra("minutes"),y2=ra("hours"),rc=ra("days"),Tg=ra("months"),_p=ra("years");var oa=Math.round,el={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function b2(f,x,R,H,U){return U.relativeTime(x||1,!!R,f,H)}var Cd=Math.abs;function Sa(f){return(f>0)-(f<0)||+f}function tl(){if(!this.isValid())return this.localeData().invalidDate();var H,U,te,he,$t,Sr,ko,Pa,f=Cd(this._milliseconds)/1e3,x=Cd(this._days),R=Cd(this._months),ht=this.asSeconds();return ht?(H=Ei(f/60),U=Ei(H/60),f%=60,H%=60,te=Ei(R/12),R%=12,he=f?f.toFixed(3).replace(/\.?0+$/,""):"",$t=ht<0?"-":"",Sr=Sa(this._months)!==Sa(ht)?"-":"",ko=Sa(this._days)!==Sa(ht)?"-":"",Pa=Sa(this._milliseconds)!==Sa(ht)?"-":"",$t+"P"+(te?Sr+te+"Y":"")+(R?Sr+R+"M":"")+(x?ko+x+"D":"")+(U||H||f?"T":"")+(U?Pa+U+"H":"")+(H?Pa+H+"M":"")+(f?Pa+he+"S":"")):"P0D"}var ir=pd.prototype;return ir.isValid=function Si(){return this._isValid},ir.abs=function p2(){var f=this._data;return this._milliseconds=ta(this._milliseconds),this._days=ta(this._days),this._months=ta(this._months),f.milliseconds=ta(f.milliseconds),f.seconds=ta(f.seconds),f.minutes=ta(f.minutes),f.hours=ta(f.hours),f.months=ta(f.months),f.years=ta(f.years),this},ir.add=function h2(f,x){return W_(this,f,x,1)},ir.subtract=function pp(f,x){return W_(this,f,x,-1)},ir.as=function g2(f){if(!this.isValid())return NaN;var x,R,H=this._milliseconds;if("month"===(f=si(f))||"quarter"===f||"year"===f)switch(x=this._days+H/864e5,R=this._months+gp(x),f){case"month":return R;case"quarter":return R/3;case"year":return R/12}else switch(x=this._days+Math.round(mp(this._months)),f){case"week":return x/7+H/6048e5;case"day":return x+H/864e5;case"hour":return 24*x+H/36e5;case"minute":return 1440*x+H/6e4;case"second":return 86400*x+H/1e3;case"millisecond":return Math.floor(864e5*x)+H;default:throw new Error("Unknown unit "+f)}},ir.asMilliseconds=m2,ir.asSeconds=f2,ir.asMinutes=yd,ir.asHours=Eg,ir.asDays=_2,ir.asWeeks=v2,ir.asMonths=YT,ir.asQuarters=jT,ir.asYears=fp,ir.valueOf=function fs(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Wt(this._months/12):NaN},ir._bubble=function hp(){var U,te,he,ht,$t,f=this._milliseconds,x=this._days,R=this._months,H=this._data;return f>=0&&x>=0&&R>=0||f<=0&&x<=0&&R<=0||(f+=864e5*vd(mp(R)+x),x=0,R=0),H.milliseconds=f%1e3,U=Ei(f/1e3),H.seconds=U%60,te=Ei(U/60),H.minutes=te%60,he=Ei(te/60),H.hours=he%24,x+=Ei(he/24),R+=$t=Ei(gp(x)),x-=vd(mp($t)),ht=Ei(R/12),R%=12,H.days=x,H.months=R,H.years=ht,this},ir.clone=function G_(){return Ji(this)},ir.get=function q_(f){return f=si(f),this.isValid()?this[f+"s"]():NaN},ir.milliseconds=K_,ir.seconds=Z_,ir.minutes=tc,ir.hours=y2,ir.days=rc,ir.weeks=function UT(){return Ei(this.days()/7)},ir.months=Tg,ir.years=_p,ir.humanize=function Fg(f,x){if(!this.isValid())return this.localeData().invalidDate();var U,te,R=!1,H=el;return"object"==typeof f&&(x=f,f=!1),"boolean"==typeof f&&(R=f),"object"==typeof x&&(H=Object.assign({},el,x),null!=x.s&&null==x.ss&&(H.ss=x.s-1)),te=function na(f,x,R,H){var U=Ji(f).abs(),te=oa(U.as("s")),he=oa(U.as("m")),ht=oa(U.as("h")),$t=oa(U.as("d")),Sr=oa(U.as("M")),ko=oa(U.as("w")),Pa=oa(U.as("y")),Ur=te<=R.ss&&["s",te]||te0,Ur[4]=H,b2.apply(null,Ur)}(this,!R,H,U=this.localeData()),R&&(te=U.pastFuture(+this,te)),U.postformat(te)},ir.toISOString=tl,ir.toString=tl,ir.toJSON=tl,ir.locale=lp,ir.localeData=Xb,ir.toIsoString=Le("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",tl),ir.lang=R_,it("X",0,0,"unix"),it("x",0,0,"valueOf"),et("x",ao),et("X",/[+-]?\d+(\.\d{1,3})?/),dr("X",function(f,x,R){R._d=new Date(1e3*parseFloat(f))}),dr("x",function(f,x,R){R._d=new Date(Wt(f))}),y.version="2.29.4",function D(f){I=f}(Tr),y.fn=Ie,y.min=function dg(){return Ks("isBefore",[].slice.call(arguments,0))},y.max=function Zs(){return Ks("isAfter",[].slice.call(arguments,0))},y.now=function(){return Date.now?Date.now():+new Date},y.utc=Fe,y.unix=function Y_(f){return Tr(1e3*f)},y.months=function vn(f,x){return U_(f,x,"months")},y.isDate=ie,y.locale=Gs,y.invalid=ke,y.duration=Ji,y.isMoment=Pe,y.weekdays=function mo(f,x,R){return kg(f,x,R,"weekdays")},y.parseZone=function j_(){return Tr.apply(null,arguments).parseZone()},y.localeData=gi,y.isDuration=Fr,y.monthsShort=function ms(f,x){return U_(f,x,"monthsShort")},y.weekdaysMin=function u2(f,x,R){return kg(f,x,R,"weekdaysMin")},y.defineLocale=ps,y.updateLocale=function yr(f,x){if(null!=x){var R,H,U=sg;null!=so[f]&&null!=so[f].parentLocale?so[f].set(lt(so[f]._config,x)):(null!=(H=lg(f))&&(U=H._config),x=lt(U,x),null==H&&(x.abbr=f),(R=new wt(x)).parentLocale=so[f],so[f]=R),Gs(f)}else null!=so[f]&&(null!=so[f].parentLocale?(so[f]=so[f].parentLocale,f===Gs()&&Gs(f)):null!=so[f]&&delete so[f]);return so[f]},y.locales=function cg(){return pn(so)},y.weekdaysShort=function _d(f,x,R){return kg(f,x,R,"weekdaysShort")},y.normalizeUnits=si,y.relativeTimeRounding=function C2(f){return void 0===f?oa:"function"==typeof f&&(oa=f,!0)},y.relativeTimeThreshold=function bd(f,x){return void 0!==el[f]&&(void 0===x?el[f]:(el[f]=x,"s"===f&&(el.ss=x-1),!0))},y.calendarFormat=function P_(f,x){var R=f.diff(x,"days",!0);return R<-6?"sameElse":R<-1?"lastWeek":R<0?"lastDay":R<1?"sameDay":R<2?"nextDay":R<7?"nextWeek":"sameElse"},y.prototype=Ie,y.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},y}()},2402:function(re){re.exports=function(){"use strict";function K(Q,le,pe,ke,Ee){!function we(je,at,Pe,Ve,Le){for(;Ve>Pe;){if(Ve-Pe>600){var Oe=Ve-Pe+1,ot=at-Pe+1,rt=Math.log(Oe),tt=.5*Math.exp(2*rt/3),lt=.5*Math.sqrt(rt*tt*(Oe-tt)/Oe)*(ot-Oe/2<0?-1:1);we(je,at,Math.max(Pe,Math.floor(at-ot*tt/Oe+lt)),Math.min(Ve,Math.floor(at+(Oe-ot)*tt/Oe+lt)),Le)}var Nt=je[at],Ki=Pe,Kr=Ve;for(V(je,Pe,at),Le(je[Ve],Nt)>0&&V(je,Pe,Ve);Ki0;)Kr--}0===Le(je[Pe],Nt)?V(je,Pe,Kr):V(je,++Kr,Ve),Kr<=at&&(Pe=Kr+1),at<=Kr&&(Ve=Kr-1)}}(Q,le,pe||0,ke||Q.length-1,Ee||I)}function V(Q,le,pe){var ke=Q[le];Q[le]=Q[pe],Q[pe]=ke}function I(Q,le){return Qle?1:0}var y=function(Q){void 0===Q&&(Q=9),this._maxEntries=Math.max(4,Q),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function D(Q,le,pe){if(!pe)return le.indexOf(Q);for(var ke=0;ke=Q.minX&&le.maxY>=Q.minY}function Fe(Q){return{children:Q,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function vt(Q,le,pe,ke,Ee){for(var we=[le,pe];we.length;)if(!((pe=we.pop())-(le=we.pop())<=ke)){var je=le+Math.ceil((pe-le)/ke/2)*ke;K(Q,je,le,pe,Ee),we.push(le,je,je,pe)}}return y.prototype.all=function(){return this._all(this.data,[])},y.prototype.search=function(Q){var le=this.data,pe=[];if(!_e(Q,le))return pe;for(var ke=this.toBBox,Ee=[];le;){for(var we=0;we=0&&Ee[le].children.length>this._maxEntries;)this._split(Ee,le),le--;this._adjustParentBBoxes(ke,Ee,le)},y.prototype._split=function(Q,le){var pe=Q[le],ke=pe.children.length,Ee=this._minEntries;this._chooseSplitAxis(pe,Ee,ke);var we=this._chooseSplitIndex(pe,Ee,ke),je=Fe(pe.children.splice(we,pe.children.length-we));je.height=pe.height,je.leaf=pe.leaf,w(pe,this.toBBox),w(je,this.toBBox),le?Q[le-1].children.push(je):this._splitRoot(pe,je)},y.prototype._splitRoot=function(Q,le){this.data=Fe([Q,le]),this.data.height=Q.height+1,this.data.leaf=!1,w(this.data,this.toBBox)},y.prototype._chooseSplitIndex=function(Q,le,pe){for(var ke,Ee,we,je,at,Pe,Ve,Le=1/0,Oe=1/0,ot=le;ot<=pe-le;ot++){var rt=M(Q,0,ot,this.toBBox),tt=M(Q,ot,pe,this.toBBox),lt=(Ee=rt,we=tt,void 0,void 0,void 0,void 0,je=Math.max(Ee.minX,we.minX),at=Math.max(Ee.minY,we.minY),Pe=Math.min(Ee.maxX,we.maxX),Ve=Math.min(Ee.maxY,we.maxY),Math.max(0,Pe-je)*Math.max(0,Ve-at)),wt=J(rt)+J(tt);lt=le;Le--){var Oe=Q.children[Le];L(je,Q.leaf?Ee(Oe):Oe),at+=ie(je)}return at},y.prototype._adjustParentBBoxes=function(Q,le,pe){for(var ke=pe;ke>=0;ke--)L(le[ke],Q)},y.prototype._condense=function(Q){for(var le=Q.length-1,pe=void 0;le>=0;le--)0===Q[le].children.length?le>0?(pe=Q[le-1].children).splice(pe.indexOf(Q[le]),1):this.clear():w(Q[le],this.toBBox)},y}()},6700:(re,K,V)=>{var I={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function y(w){var M=D(w);return V(M)}function D(w){if(!V.o(I,w)){var M=new Error("Cannot find module '"+w+"'");throw M.code="MODULE_NOT_FOUND",M}return I[w]}y.keys=function(){return Object.keys(I)},y.resolve=D,re.exports=y,y.id=6700}},re=>{re(re.s=2811)}]);